Web research4 min readBy Purrkey team

How to score keyword difficulty for 100 keywords with DataForSEO

Get Google keyword difficulty scores from 0 to 100 for up to 100 keywords in one DataForSEO call, then sort the rows before assigning writers

On this page

You have 60 candidate blog keywords from a content sprint and need a difficulty score for each one before assigning writers. One call to dataforseo.labs.keyword_difficulty scores the list for one location, and you repeat that call when the sprint covers more than one market. The deliverable is a table sorted by score, with a priority label for each keyword

Build the input list and worksheet

Example input, invented for this guide and to be replaced with your sprint list: ["ai note taking app", "local seo checklist", "crm for freelancers"]. The 60 keywords are strings. keywords is required and accepts 1 to 100 strings of 1 to 80 characters

The catalog entry is a POST /v1/runs call with toolId dataforseo.labs.keyword_difficulty. location_code is optional and defaults to 2840, which the contract identifies as the United States. language_code is optional and defaults to en; its pattern accepts codes such as en or zh-TW. Take the codes for another market from the DataForSEO location and language lists

One limit sits at this step: a single call accepts up to 100 keywords. The sprint of 60 keywords fits in one call per location. A 300 keyword refresh does not fit, so split that list across calls. For a second market, send the same list with the other location_code and keep the tables side by side

The worksheet has one row per keyword for a single location. Add a location column if you score several markets. Values here are placeholders showing the shape

keywordkeywordDifficultypriority
ai note taking app42high
local seo checklist28medium
crm for freelancers61low

Set the thresholds that turn a score into high, medium or low before the call, then fill the column after sorting

Read the score fields

The output object has a keywords array with up to 100 items. Each item has keyword and keywordDifficulty. keyword is the string you sent, so keep it beside the score when the table goes back to the brief. keywordDifficulty is an integer from 0 to 100, or null

Use keywordDifficulty to sort the worksheet. The contract does not attach bands to the scores, so your team owns the line between easy, medium and hard. A null is not a zero. Leave a null row out of the ranking and check the keyword or the location and language codes

For search volume on the same list, see the companion guide checking monthly keyword search volume with DataForSEO

The agent prompt

Run the scoring through an agent with the prompt below. It makes the input and price check part of the task and asks for the table back

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to score keyword difficulty for a content sprint list. Check the current inputs and price of dataforseo.labs.keyword_difficulty before running anything. Use location_code 2840 and language_code en unless I give another location or language. Make one call per location with up to 100 keywords per call. Return a table with keyword, keywordDifficulty and priority. Leave priority blank; I will fill it from editorial thresholds. Do not invent scores and do not run other tools.

Example keywords:
ai note taking app
local seo checklist
crm for freelancers

Replace the example keywords with your 60 strings. If you score three locations, ask for one call per location and keep the location in the returned table

Estimated tool cost

Prices from the Purrkey catalog, read November 19, 2026. The tool is listed as max_call: "Maximum per call. Successful runs settle at DataForSEO's actual charge, with no markup". The totals below are ceilings

StepFormulaUnit pricePlanned quantityTotal
60 keywords, one locationcalls x max priceup to $0.03 per call1$0.03
60 keywords, three locationscalls x max priceup to $0.03 per call3$0.09
Monthly refresh, 300 keywordscalls x max priceup to $0.03 per call5$0.15

The plan for three locations calls once for each location. The monthly refresh uses five calls, which stays within the 100 keyword limit per call when the list is split. Model fees for the agent are not counted

Score the sprint list

Open the keyword difficulty tool and run the first location

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with DataForSEO.
Explore DataForSEO tools and pricing

FAQ

How do I score keyword difficulty for 100 keywords with DataForSEO?

Call dataforseo.labs.keyword_difficulty with a keywords array and one location code. One call accepts up to 100 keywords, so a 100 keyword list fits in a single call for that location.

What inputs does dataforseo.labs.keyword_difficulty accept?

The contract lists keywords as required, with location_code and language_code as optional inputs. keywords accepts 1 to 100 strings of 1 to 80 characters; location_code defaults to 2840 and language_code defaults to en.

What does the keywordDifficulty field contain?

It contains an integer from 0 to 100, or null when no numeric score is returned. The output object places it with the matching keyword in the keywords array.

How many keywords can one call score?

Up to 100 keywords in one call. Each string must be 1 to 80 characters.

How much does it cost to score 60 keywords in three locations?

Three calls at up to $0.03 per call, at most $0.09. Successful runs settle at DataForSEO's actual charge, with no markup.

What should I do with a null keywordDifficulty?

A null is not a zero. Leave that row out of the ranking and check the keyword or the location and language codes.

How do I refresh 300 keywords each month?

Split the list across calls because one call accepts up to 100 keywords. The cost table plans 5 calls for a monthly refresh at up to $0.15.

Next step

Try this with DataForSEO

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See DataForSEO tools

Share this article