Find keywords for which one domain, subdomain, or page ranks in a search market, returning URLs, positions, search metrics, intent, and estimated traffic context.

Ranked Keywords API

Domain or page target
Ranking URL mapping
Position context
0.1 credits / result
Ready
Ready

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

README

Ranked Keywords

Ranked keywords are search queries linked to a domain, subdomain, or page through a matching result URL, with group, absolute, and result-page positions plus available demand, difficulty, intent, and traffic signals. These query-to-page relationships support visibility inventories, landing-page mapping, opportunity review, and comparison of target snapshots.

Features

  • Domain, subdomain, or page scopeResolve one correctly formatted web target at the breadth needed for a whole domain, a subdomain, or one complete page URL.
  • Keyword-to-URL relationshipsPair every returned keyword with the matching destination URL exposed by its ranked search-result element.
  • Position and keyword measurementsReturn available group, absolute, and result-page positions together with search volume, CPC, competition, difficulty, monthly history, and intent.
  • Complete matching elementPreserve keyword_data and ranked_serp_element in extra so result type, modeled traffic, and non-promoted source details remain available.

Parameters

ParametersRequiredDescription
targetRequiredRequired domain, subdomain, or page target. Omit https:// and www. for a domain, omit the protocol for a subdomain, or use a complete URL for one page.
location_codeOptionalPositive numeric search-market code. The Playground defaults to 2840.
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. The Playground defaults to en.
languageOptionalOptional search-language name alternative to language_code. When filled, it takes precedence over language_code.
results_limitOptionalRequested maximum from 1 through 1,000 ranked keyword rows. Fewer rows may be returned.
offsetOptionalZero-based number of source rows to skip before collecting the requested result window.

How to Use

Submit one correctly scoped target with market controls and a bounded result window, then read each ranked keyword from the completed asynchronous task.

  1. Choose one target, a location_code, a language_code, a results_limit from 1 through 1,000, and an offset of 0 or greater.
  2. POST the payload to /v1/seo/ranked-keywords and 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 request the returned next_cursor while has_more remains true.
curl -X POST "https://api.socq.ai/v1/seo/ranked-keywords" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target":"microsoft.com","location_code":2840,"language_code":"en","results_limit":5}'

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

Best Use Cases

  • Organic visibility inventory: Use returned keyword text and matching URLs to catalog where a domain or subdomain appears in the selected search market.
  • Landing-page ranking map: Combine each keyword, destination URL, and rank object to identify which page is associated with each returned position.
  • Keyword opportunity review: Compare position with available volume, CPC, competition, difficulty, and intent fields to assemble a review queue.
  • Visibility snapshot comparison: Store matched target inputs, collected_at, keywords, URLs, and ranks from repeated tasks to compare separately collected snapshots.

Pro Tips

  • Remove https:// and www. from a domain target, and remove the protocol from a subdomain target so the intended scope is interpreted correctly.
  • Use a complete page URL when you need page-level results; a page path without a protocol can be interpreted as a domain-wide target.
  • Increase offset by the number of source rows you intend to skip, and keep the target, market, language, and limit fixed when retrieving consecutive windows.
  • Treat rank.page as the search-results-page number; use offset for source windows and next_cursor separately for stored SocQ result pages.
  • Read normalized positions and keyword metrics first, then inspect extra.ranked_serp_element for modeled etv and other source fields that are not promoted.
  • Build historical comparisons from repeated tasks, and deduplicate windows by keyword, matching URL, market, and language because source order can change.

Use these APIs when you need a different type of public SEO data.

  • Google Organic SERP APIRetrieve one live Google result page by query and market with normalized destinations, ranks, element types, and full result details.
  • Keyword Difficulty APICompare organic ranking difficulty for a submitted keyword batch, returning each available keyword with its normalized score.
  • Keyword Overview APIEnrich a submitted keyword batch with available demand, paid competition, difficulty, monthly-search, and intent context.
  • Keyword Search Volume APIMeasure known keywords with available search volume, CPC, paid competition, and monthly search history.
  • Keywords for Site APIGenerate keywords relevant to one website with available demand measurements, monthly history, market context, and complete source rows.
  • Keyword Suggestions APIExpand one seed query into matching long-tail terms with available demand measurements, monthly history, intent context, and complete source rows.
  • Related Keywords APIFollow related-search paths from one seed query with depth controls, available keyword measurements, intent context, and complete source rows.
  • Relevant Pages APIInventory indexed pages for one domain with organic and paid ranking distributions, modeled traffic, and estimated cost context.
  • Search Intent APIClassify primary and secondary search intent for a submitted keyword batch while preserving source probabilities and complete records.

Ranked Keywords APIFAQ