# Google keywords for categories

This endpoint will provide you with a list of keywords relevant to the specified product categories. Needs category codes. Served by DataForSEO.

This endpoint will provide you with a list of keywords relevant to the specified product categories. You will get the 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 for each keyword.

- Tool ID: `dataforseo/dataforseo-labs-google-keywords-for-categories`
- Name in the catalog: Seo Labs Google Keywords For Categories
- Provider: [DataForSEO](/providers/dataforseo.md)
- Capability: [Keyword research](/tools/seo/keyword-research.md)
- Price: usage based, the maximum is shown before a run
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

Billed at the cost the provider reports for the call, never above $100. Your agent sees the maximum before running.


```json
{
  "model": "reported",
  "costPath": "cost",
  "maxUsdDefault": 0.012,
  "maxUsdCap": 100,
  "multipliers": [
    {
      "addUsdPer": {
        "field": "limit",
        "usd": 0.00012,
        "default": 10,
        "max": 1000
      }
    }
  ],
  "requireCost": true
}
```

Pricing source: [https://docs.dataforseo.com/v3/appendix/user_data/](https://docs.dataforseo.com/v3/appendix/user_data/). Account tariff dataforseo_labs/keywords_for_categories/live; bounds applied to inputs; actual cost from provider response..

Price verification date: 2026-10-10.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "category_codes": {
      "type": "array",
      "description": "product and service categories required field The maximum number of categories you can specify: 20 you can download the full list of possible categories",
      "items": {
        "type": "string",
        "maxLength": 2000,
        "minLength": 1
      },
      "maxItems": 20,
      "minItems": 1
    },
    "location_name": {
      "type": "string",
      "description": "full name of the location required field if you don't specify location_code Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_name by making a separate ",
      "maxLength": 2000,
      "minLength": 1
    },
    "location_code": {
      "type": "integer",
      "description": "unique location identifier required field if you don't specify location_name Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_code by making a separate"
    },
    "language_name": {
      "type": "string",
      "description": "full name of the language required field if you don't specify language_code Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_name by making a separate ",
      "maxLength": 2000,
      "minLength": 1
    },
    "language_code": {
      "type": "string",
      "description": "unique language identifier required field if you don't specify language_name Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_code by making a separate",
      "maxLength": 10,
      "minLength": 1
    },
    "category_intersection": {
      "type": "boolean",
      "description": "category intersections optional field if set to true, you will get keywords featured in all specified categories; if set to false, you will keywords that are specified in any of the specified categories; default value: true"
    },
    "include_serp_info": {
      "type": "boolean",
      "description": "include data from SERP for each keyword optional field if set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keyword in the response default value: false"
    },
    "ignore_synonyms": {
      "type": "boolean",
      "description": "ignore 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"
    },
    "limit": {
      "type": "integer",
      "description": "the maximum number of keywords in the results array optional field default value: 100 maximum value: 1000",
      "maximum": 100,
      "minimum": 1,
      "default": 10
    },
    "offset": {
      "type": "integer",
      "description": "offset 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 Note: we rec",
      "minimum": 0
    },
    "offset_token": {
      "type": "string",
      "description": "offset token for subsequent requests optional field provided in the identical filed of the response to each request; use this parameter to avoid timeouts while trying to obtain over 10,000 results in a single request; by specifying the uniq",
      "maxLength": 2000,
      "minLength": 1
    },
    "filters": {
      "type": "array",
      "description": "array 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, <, <=, >,",
      "items": {},
      "maxItems": 15,
      "minItems": 1
    },
    "order_by": {
      "type": "array",
      "description": "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 sorted in the ascending order desc - results will be sorted in the descending order y",
      "items": {
        "type": "string",
        "maxLength": 2000,
        "minLength": 1
      },
      "maxItems": 3,
      "minItems": 1
    },
    "tag": {
      "type": "string",
      "description": "user-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",
      "maxLength": 255
    }
  },
  "required": [
    "category_codes"
  ],
  "additionalProperties": false,
  "allOf": [
    {
      "anyOf": [
        {
          "required": [
            "location_code"
          ]
        },
        {
          "required": [
            "location_name"
          ]
        }
      ]
    },
    {
      "anyOf": [
        {
          "required": [
            "language_code"
          ]
        },
        {
          "required": [
            "language_name"
          ]
        }
      ]
    }
  ]
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "dataforseo/dataforseo-labs-google-keywords-for-categories",
  "input": {
    "category_codes": [
      "12191",
      "12193"
    ],
    "language_name": "English",
    "location_code": 2840,
    "include_serp_info": true,
    "limit": 10
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://docs.dataforseo.com/v3/dataforseo_labs/google/keywords_for_categories/live/)

[REST inspection](https://api.agentik.cc/v1/tools/dataforseo/dataforseo-labs-google-keywords-for-categories) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/dataforseo/dataforseo-labs-google-keywords-for-categories) · [Agent index](/llms.txt)
