This endpoint will provide you with the list of keywords that any domain or webpage is ranking for. You will also get SERP elements related to the keyword position, as well as impressions, monthly searches and other data relevant to the returned keywords.
AI agents call dataforseo_labs_google_ranked_keywords to retrieve information from Dataforseo without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | — | Maximum number of keywords to return |
offset | number | — | offset in the results array of returned keywords optional field default value: 0 if you specify the 10 value, the first ten keywords in |
target | string | Yes | domain name or page url required field the domain name of the target website or URL of the target webpage; the domain name must be specified without https:// or |
filters | array | — | Array of filter conditions and logical operators. Each filter condition is an array of [field, operator, value]. Maximum 8 filters allowed. Avai |
order_by | array | — | results 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 sorte |
item_types | array | — | display results by item type indicates the type of search results included in the response |
language_code | string | — | language code required field example: en |
location_name | string | — | full name of the location required field only in format "Country" (not "City" or "Region") example: 'United Kingdom', 'United States', 'Canada' |
include_subdomains | boolean | — | Include keywords from subdomains |
include_clickstream_data | boolean | — | Include or exclude data from clickstream-based metrics in the result |
Parameters from the server's own tool schema.
This is a data retrieval endpoint that queries and returns keyword ranking information and associated metrics. It performs no writes, deletions, code execution, or financial operations. The tool only reads and aggregates existing SEO/search data from the DataForSEO API. The blast radius of misuse is minimal since it only exposes publicly-available SEO intelligence that could already be obtained through other means.
From the tool's definition Tool provides 'list of keywords that any domain or webpage is ranking for' along with 'SERP elements', 'impressions', 'monthly searches and other data' — purely retrieval and query operations with no modification, deletion, or execution capabilities.
Risk signalsHigh parameter count (10 properties)
Attacks that exploit this kind of access
This endpoint will provide you with the list of keywords that any domain or webpage is ranking for. You will also get SERP elements related to the keyword position, as well as impressions, monthly searches and other data relevant to the returned keywords. It is categorised as a Read tool in the Dataforseo MCP Server, which means it retrieves data without modifying state.
dataforseo_labs_google_ranked_keywords accepts 10 parameters: limit, offset, target, filters, order_by, item_types, language_code, location_name, include_subdomains, include_clickstream_data. Required: target. The full parameter table on this page comes from the server's own tool schema.
Register the Dataforseo MCP server in PolicyLayer and add a rule for dataforseo_labs_google_ranked_keywords: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dataforseo. Nothing to install.
dataforseo_labs_google_ranked_keywords is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the dataforseo_labs_google_ranked_keywords rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for dataforseo_labs_google_ranked_keywords. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
dataforseo_labs_google_ranked_keywords is provided by the Dataforseo MCP server (dataforseo-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.