# Google autocomplete SERP

Google Autocomplete is a feature within Google Search that improves the search experience by allowing users to complete searches they started to type. Needs keyword. Served by DataForSEO.

Google Autocomplete is a feature within Google Search that improves the search experience by allowing users to complete searches they started to type. DataForSEO SERP API will provide you with all the suggestions Google Autocomplete offers for a particular keyword, the position of the cursor pointer, and the search client.

- Tool ID: `dataforseo/serp-google-autocomplete`
- Name in the catalog: Serp Google Autocomplete
- Provider: [DataForSEO](/providers/dataforseo.md)
- Capability: [Google SERP](/tools/seo/serp.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.002,
  "maxUsdCap": 100,
  "multipliers": [
    {
      "when": {
        "field": "keyword",
        "regex": "\\b([aA][lL][lL][iI][nN][aA][nN][cC][hH][oO][rR]|[aA][lL][lL][iI][nN][tT][eE][xX][tT]|[aA][lL][lL][iI][nN][tT][iI][tT][lL][eE]|[aA][lL][lL][iI][nN][uU][rR][lL]|[cC][aA][cC][hH][eE]|[dD][eE][fF][iI][nN][eE]|[dD][eE][fF][iI][nN][iI][tT][iI][oO][nN]|[fF][iI][lL][eE][tT][yY][pP][eE]|[iI][dD]|[iI][nN][aA][nN][cC][hH][oO][rR]|[iI][nN][fF][oO]|[iI][nN][tT][eE][xX][tT]|[iI][nN][tT][iI][tT][lL][eE]|[iI][nN][uU][rR][lL]|[lL][iI][nN][kK]|[rR][eE][lL][aA][tT][eE][dD]|[sS][iI][tT][eE]):"
      },
      "totalFactor": 5
    }
  ],
  "requireCost": true
}
```

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

Price verification date: 2026-10-10.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "description": "keywordrequired fieldyou can specify up to 700 characters in the keyword fieldall %## will be decoded (plus character ‘+’ will be decoded to a space character)if you need to use the “%” character for your keyword, please specify it as “%25”",
      "maxLength": 700,
      "minLength": 1
    },
    "location_code": {
      "type": "integer",
      "description": "search engine location coderequired field if you don't specify location_name;you can receive the list of available locations of the search engines with their location_code by making a separate request to https://api.dataforseo.com/v3/serp/g"
    },
    "language_code": {
      "type": "string",
      "description": "search engine language coderequired field if you don't specify language_nameif you use this field, you don't need to specify language_name;you can receive the list of available languages of the search engine with their language_code by maki",
      "maxLength": 10,
      "minLength": 1
    },
    "cursor_pointer": {
      "type": "integer",
      "description": "search bar cursor pointeroptional fieldthe horizontal numerical position of the cursor pointer within the keyword in the search bar;by modifying the position of the cursor pointer, you will obtain different autocomplete suggestions for the "
    },
    "location_name": {
      "type": "string",
      "description": "full name of search engine locationrequired field if you don't specify location_codeif you use this field, you don't need to specify location_code;you can receive the list of available locations of the search engine with their location_name",
      "maxLength": 2000,
      "minLength": 1
    },
    "language_name": {
      "type": "string",
      "description": "full name of search engine languagerequired field if you don't specify language_codeif you use this field, you don't need to specify language_code;you can receive the list of available languages of the search engine with their language_name",
      "maxLength": 2000,
      "minLength": 1
    },
    "client": {
      "type": "string",
      "description": "search client for autocompleteoptional fieldautocomplete results may differ depending on the search client;possible values:chrome — used when google search is opened in google chrome;chrome-omni — used in the address bar in chrome;gws-wiz —",
      "maxLength": 2000,
      "minLength": 1
    },
    "tag": {
      "type": "string",
      "description": "user-defined task identifieroptional fieldthe character limit is 255you can use this parameter to identify the task and match it with the resultyou will find the specified tag value in the data object of the response",
      "maxLength": 255
    }
  },
  "required": [
    "keyword"
  ],
  "additionalProperties": false,
  "allOf": [
    {
      "anyOf": [
        {
          "required": [
            "location_code"
          ]
        },
        {
          "required": [
            "location_name"
          ]
        }
      ]
    },
    {
      "anyOf": [
        {
          "required": [
            "language_code"
          ]
        },
        {
          "required": [
            "language_name"
          ]
        }
      ]
    },
    {
      "not": {
        "properties": {
          "keyword": {
            "pattern": "\\b([aA][lL][lL][iI][nN][aA][nN][cC][hH][oO][rR]|[aA][lL][lL][iI][nN][tT][eE][xX][tT]|[aA][lL][lL][iI][nN][tT][iI][tT][lL][eE]|[aA][lL][lL][iI][nN][uU][rR][lL]|[cC][aA][cC][hH][eE]|[dD][eE][fF][iI][nN][eE]|[dD][eE][fF][iI][nN][iI][tT][iI][oO][nN]|[fF][iI][lL][eE][tT][yY][pP][eE]|[iI][dD]|[iI][nN][aA][nN][cC][hH][oO][rR]|[iI][nN][fF][oO]|[iI][nN][tT][eE][xX][tT]|[iI][nN][tT][iI][tT][lL][eE]|[iI][nN][uU][rR][lL]|[lL][iI][nN][kK]|[rR][eE][lL][aA][tT][eE][dD]|[sS][iI][tT][eE]):[\\s\\S]*\\b([aA][lL][lL][iI][nN][aA][nN][cC][hH][oO][rR]|[aA][lL][lL][iI][nN][tT][eE][xX][tT]|[aA][lL][lL][iI][nN][tT][iI][tT][lL][eE]|[aA][lL][lL][iI][nN][uU][rR][lL]|[cC][aA][cC][hH][eE]|[dD][eE][fF][iI][nN][eE]|[dD][eE][fF][iI][nN][iI][tT][iI][oO][nN]|[fF][iI][lL][eE][tT][yY][pP][eE]|[iI][dD]|[iI][nN][aA][nN][cC][hH][oO][rR]|[iI][nN][fF][oO]|[iI][nN][tT][eE][xX][tT]|[iI][nN][tT][iI][tT][lL][eE]|[iI][nN][uU][rR][lL]|[lL][iI][nN][kK]|[rR][eE][lL][aA][tT][eE][dD]|[sS][iI][tT][eE]):"
          }
        },
        "required": [
          "keyword"
        ]
      }
    },
    {
      "not": {
        "properties": {
          "keyword": {
            "pattern": "%[0-9a-fA-F]{2}"
          }
        },
        "required": [
          "keyword"
        ]
      }
    }
  ]
}
```

## 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/serp-google-autocomplete",
  "input": {
    "language_code": "en",
    "location_code": 2840,
    "keyword": "albert einstein",
    "client": "gws-wiz-serp"
  }
}
```

## 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/serp/google/autocomplete/live/advanced/)

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

---

[HTML page](/providers/dataforseo/serp-google-autocomplete) · [Agent index](/llms.txt)
