DataForSEO — Serp / Google / Autocomplete / Live / Advanced

Retrieve serp Google Autocomplete Live Advanced with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to audit or monitor a site’s search visibility.

Selected price
$0.002 / callPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* array
body[0]* object | null
keyword required field you can specify up to 700 characters in the keyword field all %## 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”; if you need to use the “+” character for your keyword, please specify it as “%2B”; learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article
Optional parameters (7)
search client for autocomplete optional field autocomplete 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 — used in google search home page; gws-wiz-serp — used in google search engine results page; safari — used when google search is opened in safari browser; firefox — used when google search is opened in firefox browser; psy-ab — may be used when google search is opened in google chrome browser; toolbar — returns XML; youtube — returns JSONP; gws-wiz-local — used in google local; img — used in google's image search; products-cc — used in google shopping search
search bar cursor pointer optional field the 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 same seed keyword; minimal value: 0 default value: the number of the last character of the specified keyword example: |which query are s - "cursor_pointer": 0 which query is s| - "cursor_pointer": 16 which que|ry is s - "cursor_pointer": 9
search engine language code required field if you don't specify language_name if 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 making a separate request to the https://api.dataforseo.com/v3/serp/google/languages example: en
full name of search engine language required field if you don't specify language_code if 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 by making a separate request to https://api.dataforseo.com/v3/serp/google/languages example: English
search engine location code required 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/google/locations example: 2840
full name of search engine location required field if you don't specify location_code if 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 by making a separate request to https://api.dataforseo.com/v3/serp/google/autocomplete/locations example: London,England,United Kingdom
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
‌‌ 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.

Sample response

{
  "cost": 0.002,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.002,
      "data": {
        "api": "serp",
        "client": "gws-wiz-serp",
        "device": "desktop",
        "function": "live",
        "keyword": "albert einstein",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows",
        "se": "google",
        "se_type": "autocomplete"
      },
      "id": "05302148-1535-0139-0000-6ff42f88c792",
      "path": [
        "v3",
        "serp",
        "google",
        "autocomplete",
        "live",
        "advanced"
      ],
      "result": [
        {
          "check_url": "https://google.com/search?q=albert+einstein&hl=en&gl=US&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
          "datetime": "2024-05-30 18:49:01 +00:00",
          "item_types": [
            "autocomplete"
          ],
          "items": [
            {
              "highlighted": null,
              "rank_absolute": 1,
              "rank_group": 1,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein",
              "suggestion": "albert einstein",
              "suggestion_type": null,
              "thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcSFn2iZxs3MN8ja-4Gx7maVbATd52RTpRCrJ-WljxMFWeszvflAZjtziuiRdQ&s=10",
              "type": "autocomplete"
            },
            {
              "highlighted": null,
              "rank_absolute": 2,
              "rank_group": 2,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+college+of+medicine",
              "suggestion": "albert einstein college of medicine",
              "suggestion_type": null,
              "thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcSa9iqJoNmJhras1iH1oiUx2UMCZVM_5VFmPjJXvE-K&s=10",
              "type": "autocomplete"
            },
            {
              "highlighted": [
                "iq"
              ],
              "rank_absolute": 3,
              "rank_group": 3,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+iq",
              "suggestion": "albert einstein iq",
              "suggestion_type": null,
              "thumbnail_url": null,
              "type": "autocomplete"
            },
            {
              "highlighted": [
                "death"
              ],
              "rank_absolute": 4,
              "rank_group": 4,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+death",
              "suggestion": "albert einstein death",
              "suggestion_type": null,
              "thumbnail_url": null,
              "type": "autocomplete"
            },
            {
              "highlighted": null,
              "rank_absolute": 5,
              "rank_group": 5,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+quotes",
              "suggestion": "albert einstein quotes",
              "suggestion_type": null,
              "thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcRnmMaYbKfIi4s248o1yaRqUZUCsaoJxjiS4BA_s2d8h-WKhBkVbPU98CW-Xw&s=10",
              "type": "autocomplete"
            },
            {
              "highlighted": [
                "news"
              ],
              "rank_absolute": 6,
              "rank_group": 6,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+news",
              "suggestion": "albert einstein news",
              "suggestion_type": null,
              "thumbnail_url": null,
              "type": "autocomplete"
            },
            {
              "highlighted": [
                "wife"
              ],
              "rank_absolute": 7,
              "rank_group": 7,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+wife",
              "suggestion": "albert einstein wife",
              "suggestion_type": null,
              "thumbnail_url": null,
              "type": "autocomplete"
            },
            {
              "highlighted": [
                "brain"
              ],
              "rank_absolute": 8,
              "rank_group": 8,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+brain",
              "suggestion": "albert einstein brain",
              "suggestion_type": null,
              "thumbnail_url": null,
              "type": "autocomplete"
            },
            {
              "highlighted": [
                "inventions"
              ],
              "rank_absolute": 9,
              "rank_group": 9,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+inventions",
              "suggestion": "albert einstein inventions",
              "suggestion_type": null,
              "thumbnail_url": null,
              "type": "autocomplete"
            },
            {
              "highlighted": [
                "hospital"
              ],
              "rank_absolute": 10,
              "rank_group": 10,
              "relevance": null,
              "search_query_url": "https://www.google.com/search?q=albert+einstein+hospital",
              "suggestion": "albert einstein hospital",
              "suggestion_type": null,
              "thumbnail_url": null,
              "type": "autocomplete"
            }
          ],
          "items_count": 10,
          "keyword": "albert einstein",
          "language_code": "en",
          "location_code": 2840,
          "refinement_chips": null,
          "se_domain": "google.com",
          "se_results_count": 0,
          "spell": null,
          "type": "autocomplete"
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "2.0246 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "2.0961 sec.",
  "version": "0.1.20240514"
}

Response result

Response structure

Inferred from examples
  • costnumber
  • status_codeinteger
  • status_messagestring
  • tasksobject[]
    • costnumber
    • dataobject
      • apistring
      • clientstring
      • devicestring
      • functionstring
      • keywordstring
      • language_codestring
      • location_codeinteger
      • osstring
      • sestring
      • se_typestring
    • idstring
    • pathstring[]
    • resultobject[]
      • check_urlstring
      • datetimestring
      • item_typesstring[]
      • itemsobject[]
        • highlightednull | string[]
        • rank_absoluteinteger
        • rank_groupinteger
        • relevancenull
        • search_query_urlstring
        • suggestionstring
        • suggestion_typenull
        • thumbnail_urlstring | null
        • typestring
      • items_countinteger
      • keywordstring
      • language_codestring
      • location_codeinteger
      • refinement_chipsnull
      • se_domainstring
      • se_results_countinteger
      • spellnull
      • typestring
    • result_countinteger
    • status_codeinteger
    • status_messagestring
    • timestring
  • tasks_countinteger
  • tasks_errorinteger
  • timestring
  • versionstring

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use DataForSEO — Serp / Google / Autocomplete / Live / Advanced with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.