Google Autocomplete API

Using Google AutocompleAPI you can scrape Google News results without worrying about proxy rotation and data parsing. Our API is fast and reliable. Each successful request will cost you 5 API credits.

You have to send a GET request to http://api.scrapingdog.com/google_autocomplete with the below-given parameters.

Google Autocomplete API pricing is available here.

Parameters

Scrapingdog Parameters

Parameter
Description

api_key

required

Your personal API key. Available on your dashboard Type: String

Search Query

Parameter
Description

query

required

This is a Google Search Query. Example1 - query=pizza

Geographic Location

Parameter
Description

country

This parameter specifies the country for the Google search using a two-letter country code (e.g., US for the United States, UK for the United Kingdom, or FR for France). For a complete list of supported countries, visit the Google countries page.

Default Value - us

Type - String

Localization

Parameter
Description

language

Language of the results. Possible Values - en, es, fr, de, etc. Default Value - en Type - String

API Example

curl "https://api.scrapingdog.com/google_autocomplete/?api_key=5eaa61a6e562fc52fe763tr516e4653&query=football&country=us"

Response

{
  "suggestions": [
    {
      "value": "football cleats",
      "relevance": 601,
      "type": "QUERY"
    },
    {
      "value": "football games",
      "relevance": 600,
      "type": "QUERY"
    },
    {
      "value": "football wordle",
      "relevance": 555,
      "type": "QUERY"
    },
    {
      "value": "football today",
      "relevance": 554,
      "type": "QUERY"
    },
    {
      "value": "football gloves",
      "relevance": 553,
      "type": "QUERY"
    },
    {
      "value": "football field",
      "relevance": 552,
      "type": "QUERY"
    },
    {
      "value": "football movies",
      "relevance": 551,
      "type": "QUERY"
    },
    {
      "value": "football positions",
      "relevance": 550,
      "type": "QUERY"
    }
  ],
  "verbatim_relevance": 1300
}

Last updated