Suggestions

The google_suggest source is designed to retrieve Google search term suggestions.

NOTE: This service always delivers structured data - so there is no need to utilize the parse parameter with this source.

Query parameters

ParameterDescriptionDefault Value

source

Data source. More info.

google_suggest

query

UTF-encoded keyword

-

locale

Accept-Language header value which changes your Google search page web interface language. More info.

-

geo_location

The geographical location that the result should be adapted for. Using this parameter correctly is extremely important to get the right data. For more information, read about our suggested geo_location parameter structures here.

-

user_agent_type

Device type and browser. You can find the full list here.

desktop

render

Enables JavaScript rendering. More info.

callback_url

URL to your callback endpoint.

-

- required parameter

Code examples

API requests Google Suggestions page to retrieve suggestions for keyword adidas.

 {
    "source": "google_suggest",  
    "query": "adidas"
}

The example above uses the Realtime integration method. If you would like to use some other integration method in your query (e.g. Push-Pull or Proxy Endpoint), refer to the integration methods section.

Output example

{
    "results": [
        {
            "content": "[\"adidas\",[\"adidas\",\"adidas vietnam\",\"adidas us\",\"adidas uk\",\"adidas jp\",\"adidas superstar\",\"adidas stan smith\",\"adidas outlet\",\"adidas ultra boost\",\"adidas alphabounce\"],[],{\"google:suggestsubtypes\":[[512,433],[512,433],[512,433],[512],[3],[512],[512],[512],[512],[512]]}]",
            "created_at": "2022-04-22 12:55:20",
            "updated_at": "2022-04-22 12:55:24",
            "page": 1,
            "url": "https://www.google.com/complete/search?client=firefox&q=adidas&hl=en",
            "job_id": "6923252904564388865",
            "status_code": 200
        }
    ]
}

HTML example

Last updated