seo/
keyword-difficulty

Use the Keyword Difficulty API to compare organic ranking difficulty for up to 1,000 keywords in one market, returning each available keyword and its 0–100 score through normalized records.

Keyword Difficulty API

Up to 1,000 keywords
0–100 difficulty score
Market-specific comparison
0.1 credits / keyword
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

Keyword Difficulty

Keyword difficulty scores express the estimated relative competition for ranking organically on a search term, with higher values indicating greater difficulty. These keyword-level signals support prioritization, research-group segmentation, and comparison across a prepared term list.

Keyword Difficulty API Features

  • Batch keyword inputThe Keyword Difficulty API evaluates from 1 to 1,000 non-empty keywords in one task while applying the same selected market and language context to the batch.
  • Normalized difficulty metricReturn each available keyword with metrics.keyword_difficulty, normally expressed on a 0–100 scale for direct comparison.
  • Complete source contextPreserve the complete returned row in extra so clients can inspect additional source fields without treating them as a stable normalized schema.

Keyword Difficulty API Parameters

ParametersRequiredDescription
keywordsRequiredRequired list of 1 to 1,000 non-empty keywords, with a maximum of 80 characters per item.
location_codeOptionalPositive numeric search-market code. The Playground defaults to 2840 for the United States.
location_nameOptionalOptional search-market name alternative to location_code. When filled, it takes precedence over location_code.
language_codeOptionalSearch-language code from 2 through 10 characters applied to the batch. The Playground defaults to en.
languageOptionalOptional search-language name alternative to language_code. When filled, it takes precedence over language_code.
results_limitOptionalOptional result limit from 1 through 2,000.

How to Use the Keyword Difficulty API

Submit a bounded keyword list to the Keyword Difficulty API with code-based market settings, then read the available normalized scores from the completed asynchronous task.

  1. Prepare 1 to 1,000 non-empty keywords, each no longer than 80 characters.
  2. POST keywords with location_code and language_code to /v1/seo/keyword-difficulty, then save the returned task_id.
  3. Poll /v1/tasks/{task_id} until the task succeeds or returns a failure.
  4. Read data.results.items, then follow next_cursor while has_more is true.
curl -X POST "https://api.socq.ai/v1/seo/keyword-difficulty" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keywords":["keyword research","seo tools"],"location_code":2840,"language_code":"en"}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items and follow next_cursor while has_more is true

Keyword Difficulty API Use Cases

  • Keyword list prioritization: Compare metrics.keyword_difficulty across a prepared term set to add a competition signal to editorial or research triage.
  • Difficulty-band segmentation: Group returned scores into internally defined ranges to organize lower- and higher-difficulty keyword research queues.
  • Market comparison: Run the same keyword list with controlled location_code and language_code values to compare estimated difficulty across search contexts.

Keyword Difficulty API Pro Tips

  • Deduplicate keywords before submission so repeated terms do not consume repeated input-based charges.
  • Keep location_code and language_code unchanged when comparing scores within one research set.
  • Omit results_limit because the Keyword Difficulty API sizes this batch by the keywords array rather than a returned-result limit.
  • Match results by keyword instead of array position because unavailable terms can be omitted from the returned records.
  • Distinguish a numeric score of 0 from an absent keyword_difficulty value when building score bands.

Beyond the Keyword Difficulty API, use these APIs when you need a different type of public SEO data.

  • Google Organic SERP API — Retrieve one live Google result page by query and market with normalized destinations, ranks, element types, and full result details.
  • Keyword Overview API — Enrich a submitted keyword batch with available demand, paid competition, difficulty, monthly-search, and intent context.
  • Keyword Search Volume API — Measure known keywords with available search volume, CPC, paid competition, and monthly search history.
  • Keywords for Site API — Generate keywords relevant to one website with available demand measurements, monthly history, market context, and complete source rows.
  • Keyword Suggestions API — Expand one seed query into matching long-tail terms with available demand measurements, monthly history, intent context, and complete source rows.
  • Search Intent API — Classify primary and secondary search intent for a submitted keyword batch while preserving source probabilities and complete records.

Explore other platforms

Combine SEO data with public data from other supported social platforms.

Keyword Difficulty API — FAQ

Keyword Difficulty API is a programmatic interface for comparing organic ranking difficulty across 1 to 1,000 submitted keywords in one search market. It returns each available keyword with a normalized 0–100 difficulty score and the complete source row.

One task accepts from 1 to 1,000 non-empty keyword strings, each up to 80 characters. The keywords array defines the batch size.

Not necessarily. A keyword can be omitted or have no difficulty metric when a score cannot be calculated, so clients should not assume one returned row per input.

No. The score is a comparative estimate of organic ranking difficulty for the selected market, not a ranking probability, traffic forecast, or site-specific recommendation.

Each submitted keyword costs 0.1 SocQ credits, including keywords for which no result row is available. A two-keyword Playground request is therefore estimated at 0.2 credits.

By SocQ · Updated