What's new See our recent updates

Google Autocomplete API

Predict the next search query as user types
  • Real-time suggestions for user queries
  • Discover the most popular search terms
  • Filter by country, language, and device
No credit card required.
          curl --get https://www.searchapi.io/api/v1/search \
  -d engine="google_autocomplete" \
  -d q="Taylor"
        

Real-time Search Suggestions

Understand Consumer Sentiment

Scrape real-time search autocomplete suggestions, their relevancy, popularity and type.

Real-time Search Suggestions
{
  "search_metadata": {
    "id": "search_AxENYzjKgR4PcRqd3D0M4GJb",
    "status": "Success",
    "created_at": "2023-11-29T17:36:02Z",
    "request_time_taken": 1.08,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.08,
    "request_url": "https://www.google.com/complete/search?q=where+to+buy&gl=us&hl=en&client=chrome",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_AxENYzjKgR4PcRqd3D0M4GJb.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_AxENYzjKgR4PcRqd3D0M4GJb"
  },
  "search_parameters": {
    "engine": "google_autocomplete",
    "q": "where to buy",
    "hl": "en",
    "gl": "us",
    "client": "chrome"
  },
  "suggestions": [
    {
      "value": "where to buy dry ice",
      "relevance": 601,
      "type": "QUERY"
    },
    {
      "value": "where to buy stamps dry ice los angeles",
      "relevance": 600,
      "type": "QUERY"
    },
    {
      "value": "where to buy dry ice long beach",
      "relevance": 562,
      "type": "QUERY"
    },
    {
      "value": "where to buy stamps",
      "relevance": 561,
      "type": "QUERY"
    },
    {
      "value": "where to buy ship parts starfield",
      "relevance": 560,
      "type": "QUERY"
    },
    {
      "value": "where to buy covid test kits",
      "relevance": 559,
      "type": "QUERY"
    },
    {
      "value": "where to buy powerball tickets",
      "relevance": 558,
      "type": "QUERY"
    },
    {
      "value": "where to buy covid tests",
      "relevance": 557,
      "type": "QUERY"
    },
    {
      "value": "where to buy gold",
      "relevance": 556,
      "type": "QUERY"
    },
    {
      "value": "where to buy adventure pass",
      "relevance": 555,
      "type": "QUERY"
    }
  ],
  "verbatim_relevance": 1300
}

Developer experience

Easy integration

Integrating is as simple as making a GET HTTP request.

GET
https://www.searchapi.io/api/v1/search?engine=google_autocomplete&q=where+to+buy
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_autocomplete",
  "q": "where to buy"
}

response = requests.get(url, params = params)
print(response.text)

Multiple Client support

Customizable Autocomplete Suggestions

API integrates with various clients, each offering unique autocomplete suggestions.

Chrome

Autocomplete in Chrome search.

Toolbar

Autocomplete in Chrome's address bar.

Google landing page

Autocomplete in Google's home page.

Safari

Autocomplete in Safari search.

Firefox

Autocomplete in Firefox search.

Google Local

Autocomplete in Google Local search.

Legal protection

U.S. Legal Shield

Our processes of crawling and parsing public data are protected by the First Amendment of the U.S. Constitution. We take on the legal responsibilities associated with these methods for both domestic and international entities. This does not apply if the entities are involved in illegal activities according to U.S. federal law, including but not limited to cybercrime, terrorism, child exploitation, denial-of-service attacks, and war crimes.

Simple Pricing

Pricing plans

  • Pay per success
  • Built in location geo-targetting
  • Only premium proxies

Developer Plan

$4 per 1,000 searches

$40 / month

Buy Developer Plan
What's included
  • 10,000 Searches

Production Plan

$3 per 1,000 searches

$100 / month

Buy Production Plan
What's included
  • 35,000 Searches
  • U.S. Legal Shield
  • 99.9% SLA

BigData Plan

$2.5 per 1,000 searches

$250 / month

Buy BigData Plan
What's included
  • 100,000 Searches
  • U.S. Legal Shield
  • 99.9% SLA
  • Medium throughput

Scale Plan

$2 per 1,000 searches

$500 / month

Buy Scale Plan
What's included
  • 250,000 Searches
  • U.S. Legal Shield
  • 99.9% SLA
  • High throughput

Frequently asked questions

If you can't find what you're looking for, you can always send us an email with your enquiry.

How does the Google Autocomplete API enhance search functionality?

The API improves user search experiences by providing instant, relevant suggestions based on user input, significantly reducing search time and improving accuracy.

How does clients work in Google Autocomplete API?

Clients are used to customize the search experience for specific use cases. For example, the gws-wiz client is used for Google's home page, while the chrome-omni client is used for Chrome's address bar.

How do I use Google autocomplete?

To utilize the autocomplete suggestions feature of the API, just send a request including your desired query. Response includes a list of autocomplete suggestions tailored to the keyword you provide.

Is there support for different languages of Google Autocomplete API?

Yes, the API supports multiple languages, allowing you to provide localized search experiences that are more relevant to your users' linguistic preferences.

Get started with SearchAPI today

No credit card required. No commitment. Cancel anytime.