ScraperCompany · APIs · Pricing · Docs · llms.txt · Get an API key

Google Search API

Google Search API

Organic results, People Also Ask, the AI Overview and related searches for any query, localized to a country or a city, as JSON. Autocomplete and Google News on the same key.

  • Data from Google Search

$4.00 per 1,000 calls with a credit pack, down to $1.33 on the Business plan

7,500 credits, one-time. No subscription. Failed calls are free. The free trial covers the travel endpoints and 10 calls to the rest.

Endpoints and prices checked against the API on .

All Google and SERP APIs

The Google Search API returns one Google results page as structured data: each organic result with its position, title, link, displayed URL and snippet, the People Also Ask questions, the AI Overview text and its sources when Google shows one, and the related searches.

Results can be localized to a country with gl or to a city with a place name such as “Austin,Texas,United States”, which is how rank tracking and local SEO work. Google Autocomplete suggestions and Google News articles are separate, cheaper calls on the same key.

What you get

organic_results[]
position, title, link, displayed URL and snippet
people_also_ask[]
the questions Google lists for the query
ai_overview, ai_overview_sources
the AI Overview text and the pages it cites
related_searches[]
Google’s related queries
suggestions[]
autocomplete suggestions with relevance (autocomplete endpoint)
news_results[]
articles with source and publish time (news endpoint)

One call, structured JSON

POST /v1/google/search, 4 credits per successful call.

curl -X POST "https://api.scrapercompany.com/v1/google/search" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "q": "Hilton Chicago"
  }'
Response (trimmed)
{
  "search_parameters": {
    "engine": "google_search",
    "q": "best time to visit japan",
    "page": 1
  },
  "organic_results": [
    {
      "position": 1,
      "title": "Best Time to Visit Japan: Seasons, Months, Weather & Events",
      "link": "https://www.google.com/goto?url=CAESeQHrOzAVJE8lGsYKYT",
      "display_url": "https://en.japantravel.com › Culture",
      "source": "Japan Travel",
      "snippet": "Mar 25, 2026 — If we're going by popular opinion, spring (March to May) is the best time to visit Japan…"
    },
    {
      "position": 2,
      "title": "The Best Time to Visit Japan",
      "link": "https://www.google.com/goto?url=CAESdAHrOzAVksx1otYJyS",
      "display_url": "https://www.japan-guide.com › travel-essentials",
      "source": "japan-guide.com",
      "snippet": "The best time to visit Japan is in spring (March to May) for cherry blossoms, or autumn (October to November) for foliage…"
    }
  ],
  "people_also_ask": [
    "Is $5000 enough for a week in Japan?",
    "What is the cheapest month to go to Japan?"
  ],
  "related_searches": [
    "Best time to visit Japan reddit",
    "Cheapest time to visit Japan"
  ],
  "ai_overview": "Spring: Cherry Blossoms (March – May)\nHighlights: Mild temperatures (45–70°F) and famous cherry blossoms (sakura) peaking in late March to early April.\nDrawbacks: Extremely crowded and expensive.",
  "ai_overview_sources": [],
  "discussions": [
    {
      "title": "When is the best time to travel to Japan for sightseeing and cultural ...",
      "link": "https://www.google.com/goto?url=CAESogEB6zswFTkbhF"
    }
  ],
  "total": 2,
  "meta": {
    "source": "google_search",
    "elapsed_s": 8.2,
    "rendered": true
  }
}

Every field, documented before you buy

What one POST /v1/google/search call returns: 16 fields with their type and a value from the example above, then every input the call takes.

In the response

FieldTypeExampleWhat it is
organic_resultsarrayPosition, title, link, displayed URL and snippet
organic_results[].positioninteger1
organic_results[].titlestring"Best Time to Visit Japan: Seasons, Mont…"Title as the site shows it.
organic_results[].linkstring"https://www.google.com/goto?url=CAESeQH…"Address of the item on the site.
organic_results[].display_urlstring"https://en.japantravel.com › Culture"
organic_results[].snippetstring"Mar 25, 2026 — If we're going by popula…"
people_also_askarrayThe questions Google lists for the query
related_searchesarrayGoogle’s related queries
ai_overviewstring"Spring: Cherry Blossoms (March – May)\n…"The AI Overview text and the pages it cites
ai_overview_sourcesarrayThe AI Overview text and the pages it cites
discussionsarray
discussions[].titlestring"When is the best time to travel to Japa…"Title as the site shows it.
Show all 16 fields
discussions[].linkstring"https://www.google.com/goto?url=CAESogE…"Address of the item on the site.
totalinteger2Total for the whole stay or request, in currency.
metaobjectAbout the call: what was asked for and how big the answer is.
meta.renderedbooleantrue

Arrays show their first item; every item has the same fields. Full schema in the API reference

In the request

InputTypeRequiredWhat it does
glstringNoCountry market (Google gl).Default us.
hlstringNoInterface language (Google hl).Default en.
locationstring | nullNoCity-level geo-targeting: a Google canonical place name such as Austin,Texas,United States (The standard SERP API location).Min length 2, max length 200.
uulestring | nullNoRaw Google uule passthrough (w+...Min length 10, max length 1024.
qstringYesSearch query.Min length 1, max length 400.
pageintegerNoResult page (10 results per page).Default 1. Min 1, max 10.
numintegerNoResults per page.Default 10. Min 1, max 20.
resolvebooleanNoFollow each result's /goto redirect to the destination URL (one HTTP request per result).Default false.

Endpoints and price per call

Credits per successful call, and what 1,000 calls cost: from a credit pack down to the Business plan. Failed requests cost nothing.

EndpointWhat it returnsCreditsPer 1,000 calls
Web search
POST /v1/google/search
One results page with organic results, People Also Ask and AI Overview4 credits$8.00 – $2.66
Autocomplete
POST /v1/google/autocomplete
Suggestions for a partial query2 credits$4.00 – $1.33
Google News
POST /v1/news
Articles for a query or a news section2 credits$4.00 – $1.33

See all plans

Your first call in three steps

  1. 01

    Get an API key

    Create an account and verify your email, then copy a key from the dashboard. The free trial is 50 calls or 14 days, whichever ends first, no card needed.

  2. 02

    Send POST /v1/google/search

    Put the key in the x-api-key header and pass q. Every other input is optional and listed above.

  3. 03

    Read the JSON

    The answer is one JSON object with organic_results, people_also_ask, related_searches, ai_overview and ai_overview_sources, typed and named the same way on every call. A failed call costs 0 credits, so retrying is free.

Limits and coverage

Google Search: where it works
Every Google country and language
Google Autocomplete: where it works
Every Google country and language
Google News: where it works
Every Google News edition
  • Up to 10 pages deep (page)
  • Up to 20 results per page (num)
  • Google Search: Links are Google redirects unless you ask for them resolved to the destination URL.
  • Google Autocomplete: An empty answer is not charged.

Is it legal to scrape Google Search?

It depends on what you collect and what you do with it. Here is what the API does, and what stays with you once the data is yours.

Public pages only

The API reads what Google Search shows anyone who opens the page without signing in. It uses no account and opens nothing behind a paywall.

Facts are not the same as content

A price on a date, a rating or a count is a fact, and copyright does not protect facts. Review text, photos, descriptions and transcripts belong to their authors or the site. Counting, scoring or summarising them is a different use from republishing them, and republishing usually needs permission.

Databases have their own right in the EU and UK

Whoever invested in building a database there can stop others taking a substantial part of it, and repeated extraction of small parts can add up to a substantial part. Collect the fields and dates you need, not a copy of Google Search.

Personal data is yours to handle

Reviews and place listings can carry reviewer names and profile photos. If you keep it, the GDPR and UK GDPR apply to people in Europe and the UK, and other places have their own privacy laws: you need a lawful basis, must tell people you hold their data unless an exemption applies, should collect no more than you need, and should delete it on a schedule. The simplest route is not to keep it: drop names and handles before you store anything. A hashed name is still personal data.

The site’s terms, and ours

The terms of use of Google Search may limit automated access to it or reuse of its data. Our Terms make you responsible for how you use the data you collect, for following the terms of the sites it comes from, for data protection law, and for having the rights you need.

This is general information, not legal advice. For a specific use, ask a lawyer where you operate. Google Search is a trademark of its owner. ScraperCompany is independent: not affiliated with or endorsed by Google Search, and this is not an official Google Search API.

Frequently asked questions

Read next

Guides

Is this the Google Custom Search JSON API?

No. Google’s Custom Search JSON API searches a site or a configured set of sites. This API returns the regular Google results page, including People Also Ask and the AI Overview, which Custom Search does not provide.

Can I track rankings in a specific city?

Yes. Pass location as a Google place name such as “Austin,Texas,United States” and set gl to the place’s country. Each organic result carries its position.

Does it capture the AI Overview?

When Google generates one for the query, the response includes the AI Overview text and the sources it cites. Not every query gets an AI Overview.

Why does a Google Search call cost 4 credits?

Each call returns the full results page, with People Also Ask and the AI Overview, and takes seconds rather than milliseconds to collect. Autocomplete and News are lighter and cost 2 credits.

Do failed requests cost credits?

No. A failed or blocked call (any 4xx or 5xx response) costs 0 credits, and so does a search page that comes back empty. You pay only for successful results.

How do I get an API key?

Create an account on the sign-up page and verify your email. You get a free trial of 50 calls or 14 days, whichever ends first, no card needed on the travel endpoints (hotels, vacation rentals, flights, reviews) and 10 calls to the other sources; for everything else, and after the trial, buy a credit pack (from $15) or pick a plan. You create and rotate keys yourself in the dashboard.

More APIs on the same key

All APIs
Google Hotels API

Search a destination, open a property, pull a whole price calendar and read its reviews. Every Google Hotels result as JSON, with base price, taxes, fees and total kept separate.

Google Flights API

Every itinerary Google Flights shows for a route and date, with legs, layovers, emissions and price insights, then the return leg and the booking options behind the fare you pick.

Google Maps API

Search Google Maps the way a person does, “coffee shops in Boston” or “hotels near Fenway”, and get every place as JSON with its address, coordinates, rating, phone number and website.

Web scraping API

Send a URL, get the page back as HTML, markdown or text. If an attempt does not return the page, the request is tried again automatically, and you pay only for a page that comes back with content.

Start with 50 free calls

Create an account and verify your email: your own API keys and a free trial of 50 calls or 14 days, whichever ends first, no card needed. Then buy a credit pack from $15 or pick a plan from $49 a month.

7,500 credits, one-time. No subscription. Or try it free: 50 calls, no card.