The Related Keywords endpoint provides keywords appearing in the "searches related to" SERP element You can get up to 4680 keyword ideas by specifying the search depth. Each related keyword comes with the list of relevant product categories, search volume rate for the last month, search volume tr...
AI agents call dataforseo_labs_google_related_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 |
|---|---|---|---|
depth | number | — | keyword search depth |
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 |
filters | array | — | Array-based filter expression. A single condition is a 3-element array: [field, operator, value]. Combine conditions with ["and"|"or"] between them: [condition, |
keyword | string | Yes | target keyword |
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 |
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_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 read-only tool that queries the DataForSEO SERPs database to retrieve keyword metrics and related search data. It has no side effects, does not modify or delete data, and does not execute code or trigger external operations. The risk is minimal as it only fetches publicly available or subscribed keyword intelligence data.
From the tool's definition The tool 'provides keywords', 'get keyword ideas', and returns 'search volume rate', 'search volume trend', 'cost-per-click', 'competition values', and 'impressions, clicks and CPC' statistics.
Attacks that exploit this kind of access
The Related Keywords endpoint provides keywords appearing in the "searches related to" SERP element You can get up to 4680 keyword ideas by specifying the search depth. Each related keyword comes with the list of relevant product categories, search volume rate for the last month, search volume trend for the previous 12 months, as well as current cost-per-click and competition values. Moreover, this endpoint supplies minimum, maximum and average values of daily impressions, clicks and CPC for each result. Datasource: DataForSEO SERPs Database Search algorithm: depth-first search for queries appearing in the "search related to" element of SERP for the specified seed keyword. It is categorised as a Read tool in the Dataforseo MCP Server, which means it retrieves data without modifying state.
dataforseo_labs_google_related_keywords accepts 9 parameters: depth, limit, offset, filters, keyword, order_by, language_code, location_name, include_clickstream_data. Required: keyword. 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_related_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_related_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_related_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_related_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_related_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.