Skip to content

DataForSEO

Seo Labs Google Ranked Keywords

‌ This endpoint will provide you with the list of keywords that any domain, subdomain, or webpage is ranking for. You will also get SERP elements related to the keyword position, as well as monthly searches and other data relevant to the returned keywords.

Usage based DataForSEOSEOdataforseo/dataforseo-labs-google-ranked-keywordsActive

Use this tool with your agent

Give this to your agent
Use my connected Agentik MCP server. I want to use the tool dataforseo/dataforseo-labs-google-ranked-keywords (Seo Labs Google Ranked Keywords). Call inspect_tool with {"tool_id": "dataforseo/dataforseo-labs-google-ranked-keywords"} first and tell me the price before anything runs. Ask me for the inputs it needs; never invent values, IDs or file URLs. When I confirm, call run_tool with tool_id "dataforseo/dataforseo-labs-google-ranked-keywords" and my inputs, follow it with get_run if it is still running, and give me the result and the price Agentik reports. If the tool is unavailable, say so and use discover_tools to propose an alternative.
Show the prompt

Paste it into Claude, ChatGPT or Codex: your agent takes it from there, and shows the price before it runs.

Parameters

NameTypeRequiredDescription
targetstringYesdomain name or page url required field the domain name of the target website, subdomain or URL of the target webpage; the domain name must be specified without https:// or www.; the subdomain must be specified without https://; the webpage
location_namestringNofull name of the location optional field if you use this field, you don't need to specify location_code you can receive the list of available locations with their location_name by making a separate request to the https://api.dataforseo.com/
location_codeintegerNolocation code optional field if you use this field, you don't need to specify location_name you can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforse
language_namestringNofull name of the language optional field if you use this field, you don't need to specify language_code you can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/
language_codestringNolanguage code optional field if you use this field, you don't need to specify language_name you can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforse
ignore_synonymsbooleanNoignore highly similar keywords optional field if set to true only core keywords will be returned, all highly similar keywords will be excluded; default value: false
item_typesstring[]Nodisplay results by item type optional field indicates the type of search results included in the responseNote: if the item_types array contains item types that are different from organic, the results will be ordered by the first item type i
limitintegerNothe maximum number of returned keywords optional field default value: 100 maximum value: 1000
offsetintegerNooffset in the results array of returned keywords optional field default value: 0 if you specify the 10 value, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords
load_rank_absolutebooleanNoreturn rankings distribution by rank_absolute optional field default value: false if set to true, we will return the field metrics_absolute containing rankings distribution by the rank_absolute parameter that indicates the result’s position
historical_serp_modestringNodata collection mode optional field you can use this field to filter the results; possible types of filtering: live — return keywords for which the specified target currently has ranking results in SERP; lost — return keywords for which the
filtersany[]Noarray of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, <, <=, >,
order_bystring[]Noresults sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc - results will be sorted in the ascending order desc - results will be sorted in the descending order y
tagstringNouser-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response

How your agent calls it

First inspect_tool for the current schema and price, then run_tool with the published example after confirming your inputs:

{
  "tool_id": "dataforseo/dataforseo-labs-google-ranked-keywords",
  "input": {
    "location_code": 2250,
    "language_code": "fr",
    "target": "hubspot.fr",
    "limit": 5
  }
}

Price and billing

Price
Usage based
Model
Usage based
Detail
Billed at the cost the provider reports for the call, never above $100. Your agent sees the maximum before running.
  • The provider’s price, 0% markup.
  • One prepaid balance for every provider; your agent sees the price before it runs.
  • Pay for measured usage; unused reservations are released.