SEO API

SEO Keyword difficulty API

Get AnyAPI SEO keyword difficulty scores for one or more keywords as normalized JSON.

POST/v1/run/seo.keyword_difficulty
Uptime
100.00%
30d · 1 call
Requests
1
30d · weekly, last 12 wks
Response
0.7s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "difficulties": [
      {
        "keyword": "a1b2c3d4",
        "keywordDifficulty": 42
      }
    ]
  },
  "found": true
}
Response interface
interface SeoKeywordDifficultyResponse {
  data: {
    difficulties: {
      keyword: string;
      keywordDifficulty?: number;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/seo.keyword_difficulty
curl -X POST https://api.getanyapi.com/v1/run/seo.keyword_difficulty \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keywords":["seo tools"],"language":"en","location":2840}'
FieldTypeExample value
Request body
keywordsarray["seo tools"]SEO keywords to score for organic ranking difficulty.
languagestring"en"Language code for SEO keyword difficulty metrics.
locationinteger2840Location code for SEO keyword difficulty metrics. The default is the United States.
Response
dataobject
data.difficultiesobject[]SEO keyword difficulty records. Populated whenever the provider has data for the entity.
data.difficulties[].keywordstringKeyword phrase. Populated whenever the provider has data for the entity.
data.difficulties[].keywordDifficultyintegerEstimated organic ranking difficulty on a 0-100 scale. Omitted when the upstream has no difficulty for the keyword. Populated whenever the provider has data for the entity.
foundboolean
Price
Price per request (ceiling)USD$0.17438
Price /1k keywordsUSD$0.17438

FAQ

About the SEO Keyword difficulty API

The AnyAPI SEO Keyword difficulty API returns SEO keyword difficulty data as normalized JSON from one POST call to /v1/run/seo.keyword_difficulty. Get AnyAPI SEO keyword difficulty scores for one or more keywords as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs $0.17 per 1,000 keywords, and never more than $0.17438 for a single request, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of SEO keyword difficulty calls through AnyAPI succeeded, with a median response time of 0.7 seconds across 1 measured calls.

It costs $0.17 per 1,000 keywords, and never more than $0.17438 for a single request, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Get AnyAPI SEO keyword difficulty scores for one or more keywords as normalized JSON. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of SEO keyword difficulty calls through AnyAPI succeeded, with a median response time of 0.7 seconds across 1 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.