Google Search Scraper

ENDPOINTS
GET/autocomplete

Autocomplete Suggestions

Google's live autocomplete suggestions for a partial query, with entity details on the google client.

QUERY PARAMS

The partial search term to complete.

Examples:

  • raspberry pi
  • how to

Which Google suggestion feed to use: google (with entity names and thumbnails), chrome (with relevance scores), firefox (plain) or youtube.

Default: google

Allowed values: google, chrome, firefox, youtube

Maximum number of suggestions to return.

Default: 10

Allowed values: 1-20

2-letter country Google searches from (the gl edition). UK is accepted for GB.

Default: US

Allowed values: any ISO 3166-1 alpha-2 code (US, GB, IN, DE, FR, JP, ...)

Interface language of the results page (the hl code).

Default: en

Allowed values: any ISO 639-1 code (en, es, de, fr, ja, ...)

{
  "query": "raspberry pi",
  "client": "google",
  "country": "US",
  "language": "en",
  "verbatim_relevance": null,
  "count": 10,
  "suggestions": [
    {
      "position": 1,
      "text": "raspberry pi",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512,
        433
      ],
      "entity": null
    },
    {
      "position": 2,
      "text": "raspberry pi 5",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512,
        433
      ],
      "entity": null
    },
    {
      "position": 3,
      "text": "raspberry pi imager",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512,
        433
      ],
      "entity": null
    },
    {
      "position": 4,
      "text": "raspberry pi 4",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512,
        433
      ],
      "entity": null
    },
    {
      "position": 5,
      "text": "raspberry pi zero 2 w",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512,
        433
      ],
      "entity": null
    },
    {
      "position": 6,
      "text": "raspberry picking near me",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512
      ],
      "entity": null
    },
    {
      "position": 7,
      "text": "raspberry pie",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512,
        433
      ],
      "entity": null
    },
    {
      "position": 8,
      "text": "raspberry pi pico",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512,
        433
      ],
      "entity": null
    },
    {
      "position": 9,
      "text": "raspberry pi connect",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512,
        433,
        131
      ],
      "entity": null
    },
    {
      "position": 10,
      "text": "raspberry pie recipe",
      "type": "query",
      "relevance": null,
      "subtypes": [
        512
      ],
      "entity": null
    }
  ]
}