Skip to content

Google AI Overview API

The ScraperData Google AI Overview API returns Google's AI Overview, the generated answer at the top of many results pages, as JSON: its text split into paragraphs, headings and list items, and the pages it cites as sources. It comes with a normal search request whenever Google shows one, at no extra cost.

  • Live Google resultsfetched when you call
  • Usually 2 to 4 secondsper results page
  • 1 credit per pagefailed requests are free
  • 1,000 free creditsevery month

How to call the Google AI Overview API

  1. Create a free account and copy your API key.
  2. Send a GET request to /v1/search with your query.
  3. Read the JSON. Each results page costs one credit; failed requests cost nothing.
Request
curl -G "https://api.scraperdata.com/v1/search" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "q=how does a heat pump work"

Example response

A real answer from our API, fetched live on October 28, 2026 and shortened to two results.

200 OK
{
  "search_parameters": {
    "engine": "google",
    "q": "how does a heat pump work",
    "gl": "us",
    "hl": "en",
    "page": 1,
    "num_pages": 1
  },
  "ai_overview": {
    "text_blocks": [
      {
        "type": "paragraph",
        "snippet": "A heat pump works by moving heat from one place to another using electricity and a special fluid called a refrigerant, rather than burning fuel to create heat."
      },
      {
        "type": "paragraph",
        "snippet": "Think of it as a two-way air conditioner: it can pull heat out of your home to cool it down, or reverse the process to pull heat from the outside air (or ground) and bring it inside to warm you up."
      }
    ],
    "references": [
      {
        "title": "How a Heat Pump Works | This Old House, Video, watch on YouTube",
        "link": "https://www.youtube.com/watch?v=-vU9x3dFMrU&t=11"
      },
      {
        "title": "How Do Heat Pumps Work?",
        "link": "https://www.youtube.com/watch?v=iQaycSD5GWE"
      }
    ]
  },
  "related_questions": [
    {
      "question": "What is a geothermal heat pump?"
    },
    {
      "question": "How long do heat pumps typically last?"
    }
  ]
}

What each result contains

FieldWhat it holds
ai_overview.text_blocksThe answer in order, each block a paragraph, heading or list item
ai_overview.referencesThe pages the answer cites, with title and link
related_questionsPeople also ask questions on the same page
organic_resultsThe normal results under the answer

Google does not show an AI Overview for every query. When it does not, the response has no ai_overview key.

What teams build with it

  • Tracking whether your brand is cited in AI answers
  • Measuring AI search visibility (GEO) next to rankings
  • Researching how Google answers questions in your field

Pricing

1,000 free credits every month, then from $10 a month. One results page is one credit, on every plan.

See plans

Questions about the Google AI Overview API

Is the AI Overview in every response?

Only when Google shows one for that query. Then the response has an ai_overview object; otherwise the key is missing.

Does it cost more than a normal search?

No. The AI Overview comes with the same request and the same one credit per page.

Can I see which pages the AI Overview cites?

Yes. ai_overview.references lists the cited pages with their titles and links, so you can check whether your site is one of them.