# Keyword Difficulty Checker - Bulk SERP Competition Score (`sonic_scraper/keyword-difficulty-checker`) Actor

Bulk keyword difficulty checker: 0-100 score from live Google top-10 results with authority, title-match, SERP-feature, ads and domain-concentration signals, plus easy-win keywords. Requires your own SerpApi key (free tier: 100/month).

- **URL**: https://apify.com/sonic_scraper/keyword-difficulty-checker.md
- **Developed by:** [Sonic Scraper](https://apify.com/sonic_scraper) (community)
- **Categories:** SEO tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Keyword Difficulty Checker - Bulk SERP Competition Score

Check keyword difficulty in bulk from **live Google SERP signals**. For every keyword you get a 0-100 difficulty score, a label from "very easy" to "very hard", the signals behind the score, and a recommended action - so you can find low-competition keywords before you write.

> **Requires your own SerpApi key** (SerpApi's free plan includes 100 searches per month). One keyword = one SerpApi search. Without a key the Actor returns clearly labeled **sample data** only.

### What can this keyword difficulty checker do?

- **Score keyword difficulty 0-100** from the live Google top 10 for your country and language.
- **Explain the score** with five components: authority, title optimization, SERP features, ads, and domain concentration.
- **Spot easy wins** - the `EASY_WINS` record lists the lowest-difficulty keywords in the run.
- **Detect SERP risks** - featured snippets, People Also Ask boxes, ads, and household-name domains (Wikipedia, Amazon, Reddit, YouTube, .gov, .edu and similar).
- **Bulk input** - paste keywords one per line or comma-separated.

### What data can I extract?

| Field | Description |
|---|---|
| `keyword`, `geo`, `language` | What was checked |
| `difficultyScore` | 0-100 SERP-based difficulty estimate |
| `difficultyLabel` | very easy / easy / medium / hard / very hard / no data |
| `authorityScore` | Share of high-authority domains in the top results |
| `titleOptimizationScore`, `exactTitleMatches` | How many results target the exact keyword in the title |
| `serpFeatureScore`, `hasFeaturedSnippet`, `peopleAlsoAskCount` | SERP features competing for clicks |
| `adsScore`, `adsCount` | Paid competition |
| `domainConcentrationScore`, `uniqueDomains`, `topDomains[]` | How concentrated the top 10 is |
| `highAuthorityCount`, `totalResults` | Supporting counts |
| `recommendedAction` | e.g. "Great target - strong, focused content should rank." |
| `warnings[]`, `error`, `source`, `fetchedAt` | Diagnostics |

The key-value store adds `SUMMARY` (average difficulty, count per label, easiest and hardest keywords), `EASY_WINS`, and `ERRORS`.

### How is keyword difficulty calculated?

This is a **SERP-based estimate, not a backlink-based score** like Ahrefs KD or Semrush KD%. It answers: "given who ranks right now and what the results page looks like, how hard is it to break into the top 10?" Labels map to actions:

| Score | Label | Recommended action |
|---|---|---|
| 0-19 | very easy | Great target - strong, focused content should rank |
| 20-39 | easy | Worth pursuing - solid content plus basic on-page SEO |
| 40-59 | medium | Competitive - needs in-depth content and some authority |
| 60-79 | hard | Only with strong domain authority and link building |
| 80-100 | very hard | Avoid unless you have major authority or brand presence |

### How much does it cost?

- **Apify:** $0.001 per keyword result ($1.00 per 1,000) plus a tiny Actor-start fee.
- **SerpApi:** one search per keyword, billed by SerpApi on your own plan (free tier: 100 searches/month).

Check the Pricing tab for current Apify rates.

### How to check keyword difficulty in bulk

1. Get a SerpApi key at serpapi.com and paste it into **SerpApi key** (stored encrypted, never logged).
2. Add your keywords.
3. Set the country (`geo`) and language.
4. Click **Start**, then sort the dataset by `difficultyScore` or open `EASY_WINS`.

### Input example

```json
{
  "keywords": ["best coffee maker", "ai seo tools", "how to start a blog"],
  "geo": "US",
  "language": "en",
  "serpApiKey": "<YOUR_SERPAPI_KEY>",
  "maxConcurrency": 3
}
```

### Output example

```json
{
  "keyword": "how to start a blog",
  "geo": "US",
  "difficultyScore": 63,
  "difficultyLabel": "hard",
  "authorityScore": 70,
  "titleOptimizationScore": 80,
  "serpFeatureScore": 55,
  "adsScore": 0,
  "highAuthorityCount": 3,
  "exactTitleMatches": 8,
  "uniqueDomains": 10,
  "hasFeaturedSnippet": true,
  "peopleAlsoAskCount": 4,
  "topDomains": ["wordpress.com", "bloggingbasics101.com", "youtube.com"],
  "recommendedAction": "Hard — only with strong domain authority and link building.",
  "source": "serpapi-google"
}
```

Illustrative output shape, not a real measurement.

### API example

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("sonic_scraper/keyword-difficulty-checker").call(run_input={
    "keywords": ["ai seo tools", "seo audit checklist"],
    "serpApiKey": "<YOUR_SERPAPI_KEY>",
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["keyword"], row["difficultyScore"], row["difficultyLabel"])
```

### Use with AI agents (MCP)

Connect the Apify MCP server at `https://mcp.apify.com?tools=sonic_scraper/keyword-difficulty-checker` in Claude Desktop, Cursor, VS Code or any MCP client, and your AI assistant can call this actor as a tool. Example prompt: *"Check keyword difficulty for these 30 keywords and list the five easiest to rank for."*

### FAQ

**Why do I need a SerpApi key?** The Actor reads live Google results through SerpApi for reliability. Without a key it runs in demo mode and returns sample data so you can see the output format.

**Does it include search volume or CPC?** No. It focuses on SERP competition. Combine it with a search-volume source.

**Is this the same as Ahrefs or Semrush KD?** No. Those scores are based on backlink data. This score is based on the visible results page, which is useful for content teams and new sites.

### Related Actors

- [Website Screenshot API](https://apify.com/sonic_scraper/website-screenshot-api) - full-page, mobile, element and PDF screenshots with cookie banners hidden.
- [Google Autocomplete Scraper](https://apify.com/sonic_scraper/google-autocomplete-scraper) - generate the keyword list to check.
- [Google Trends Scraper](https://apify.com/sonic_scraper/trendpulse-keyword-monitor) - check whether interest is rising.
- [Google AI Overview Tracker](https://apify.com/sonic_scraper/google-ai-overview-tracker) - see whether an AI Overview sits above the results.

# Changelog

This Actor's version history is a separate document: https://apify.com/sonic_scraper/keyword-difficulty-checker/changelog.md

# Actor input Schema

## `keywords` (type: `array`):

Keywords to check difficulty for. You can also paste them as text below.

## `keywordsText` (type: `string`):

Paste one keyword per line or comma-separated.

## `geo` (type: `string`):

Google country code, e.g. US, GB, CA, FR, DE.

## `language` (type: `string`):

Language code, e.g. en, fr, es, de.

## `serpApiKey` (type: `string`):

Required. One SERP lookup per keyword. Get a free key (100/month) at https://serpapi.com. Never logged.

## `maxKeywords` (type: `integer`):

Maximum number of keywords to process.

## `requestDelayMs` (type: `integer`):

Delay between SERP lookups.

## `maxConcurrency` (type: `integer`):

Parallel SERP lookups. Keep modest to respect your SerpApi rate limit.

## `fetchMode` (type: `string`):

Data source for SERPs. SerpApi (BYO key) is the reliable path.

## `proxyConfiguration` (type: `object`):

Optional. Not required in SerpApi mode.

## `debugMode` (type: `boolean`):

Verbose logging.

## Actor input object example

```json
{
  "keywords": [
    "best coffee maker",
    "ai seo tools",
    "how to start a blog"
  ],
  "geo": "US",
  "language": "en",
  "maxKeywords": 100,
  "requestDelayMs": 500,
  "maxConcurrency": 3,
  "fetchMode": "serpapi",
  "debugMode": false
}
```

# Actor output Schema

## `results` (type: `string`):

One row per keyword: difficulty score, rating, SERP signals, recommendation.

## `easyWins` (type: `string`):

Lowest-difficulty keywords — best ranking opportunities.

## `summary` (type: `string`):

Counts by rating, average difficulty, easiest + hardest keywords.

## `errors` (type: `string`):

Keywords that failed to fetch.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "best coffee maker",
        "ai seo tools",
        "how to start a blog"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sonic_scraper/keyword-difficulty-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": [
        "best coffee maker",
        "ai seo tools",
        "how to start a blog",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("sonic_scraper/keyword-difficulty-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "best coffee maker",
    "ai seo tools",
    "how to start a blog"
  ]
}' |
apify call sonic_scraper/keyword-difficulty-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sonic_scraper/keyword-difficulty-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6b8WU2YkVywM1Sz7b/builds/h9rtKVcaIKToOy7Tn/openapi.json
