Google AI Overview API avatar

Google AI Overview API

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Google AI Overview API

Google AI Overview API

Fetch Google AI Overviews for any query - get the AI-generated answer and its cited sources as structured JSON. Send one or many queries, target a country and language, and handle Google's deferred (page-token) generation automatically. Pay per retrieval. MCP-ready for Claude and AI agents.

Pricing

from $0.01 / 1,000 results

Rating

5.0

(1)

Developer

John

John

Maintained by Community

Actor stats

3

Bookmarked

3

Total users

3

Monthly active users

9 hours ago

Last modified

Share

πŸ”Ž Google AI Overview API

API for Google's AI Overview. Send any search query and get back the AI-generated answer (its text blocks) plus the cited source links, as structured JSON. When Google defers generation, this API resolves the answer for you automatically. MCP-ready so Claude and other AI agents can call it as a tool.


πŸ“‹ What this API returns

FieldDescription
queryThe search query this row answers.
ai_overview_presenttrue if Google showed an AI Overview, false if none was available.
text_blocksThe AI Overview content as ordered blocks: paragraphs, headings, lists, and tables.
referencesThe cited sources behind the overview, each with title, link, snippet, and source.
used_dedicated_apitrue when Google deferred generation and a follow-up fetch was needed to resolve the answer.
retrievals_used1 for an inline answer, 2 when a follow-up fetch was required.
thumbnail, header_imagesImagery shown with the overview, when present.
gl, hl, locationThe country, language, and location used for the search.
noteA short explanation when no overview was returned.

🎯 Use cases

  • GEO / AEO monitoring. Track whether your brand or domain is cited in Google's AI Overview for the queries you care about.
  • SEO research. See which sources Google's AI cites for a topic, and how the answer is phrased.
  • Content strategy. Compare AI Overview answers across queries, countries, or over time.
  • AI agent workflows. Drive this API over MCP from Claude (see below) to pull AI Overview answers in-conversation.
  • Datasets for analysis. Batch hundreds of queries into one run and export the answers and citations as JSON.

βš™οΈ Input examples

Single query

{
"query": "what is the Siliconimist podcast?"
}

Many queries at once

{
"queries": [
"best practices for prompt engineering",
"how does vector search work",
"what is a transformer model"
]
}

Country and language targeting

{
"query": "electric vehicle tax credit",
"gl": "us",
"hl": "en",
"location": "Austin, Texas, United States"
}

Provide a single query, a list of queries, or both. At least one is required. The API returns one row per query.

Note: Google's AI Overview is currently shown for English searches (hl=en) in a limited set of countries. For some queries Google declines to show an overview at all; those rows come back with ai_overview_present: false and a short note.


πŸ’° Pricing (pay-per-event)

EventPriceWhen it fires
setup$0.01Once per Actor run, at startup.
overview-retrieval$0.015Per retrieval. One for a standard answer; two when Google defers generation and a follow-up fetch is required.

Examples:

  • A query whose answer is returned inline costs $0.01 + $0.015 = $0.025.
  • A query where Google defers generation costs $0.01 + 2 x $0.015 = $0.04.
  • A batch of 10 inline answers costs $0.01 + 10 x $0.015 = $0.16.

You are billed per retrieval the API actually performs, so deferred queries (which require a second fetch) are the only ones that cost two retrievals.


πŸ”Œ Use this API from Claude (MCP)

This Actor is MCP-server-compatible, so Claude Code, Claude (desktop and web), Cursor, and other MCP clients can call it as a tool through Apify's hosted MCP server.

Add it with this Actor-specific URL:

https://mcp.apify.com/?tools=actors,docs,johnvc/google-ai-overview-api

Setup walkthrough:

Apify MCP integration docs: https://docs.apify.com/platform/integrations/mcp

New to Claude Code or Claude Cowork? Start a free trial here: https://claude.ai/referral/uIlpa7nPLg

Then ask Claude:

"Use the Google AI Overview API to get the AI Overview for 'what is the Siliconimist podcast?', and list the cited sources."


πŸš€ How to get started

  1. Open the Actor and enter a query (or a list of queries).
  2. Optionally set the country (gl), language (hl), and location.
  3. Run it and read the results from the dataset (JSON, CSV, Excel, or API).

View on Apify Store


❓ FAQ

Why does a query come back with ai_overview_present: false? Google does not show an AI Overview for every query. It is more likely for question-style, informational searches, and is currently limited to English searches in certain countries. When none is shown, the row includes a short note.

What is used_dedicated_api / why do some queries cost two retrievals? Google sometimes returns the AI Overview immediately and sometimes defers it, returning only a short-lived token. When that happens, this API makes a second call to resolve the full answer. That second call is the second retrieval.

Can I pass a token directly? No. The deferral token expires within about a minute, so it is resolved automatically inside a single run rather than exposed as an input.


Last Updated: 2026.05.30