Google API

Google Ai overview API

Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.

POST/v1/run/google.ai_overview
Uptime
94.90%
30d · 608 calls
Requests
611
30d · weekly, last 12 wks
Response
82.2s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "answer": "example",
    "answerMarkdown": "example",
    "citations": [
      {
        "index": 1,
        "title": "Example title",
        "url": "https://example.com/page"
      }
    ],
    "prompt": "example",
    "scrapedAt": "example"
  },
  "found": true
}
Response interface
interface GoogleAiOverviewResponse {
  data: {
    answer: string;
    answerMarkdown: string;
    citations: {
      index?: number;
      title: string;
      url: string;
    }[];
    prompt: string;
    scrapedAt?: string;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-14 · uptime and latency measured over 30d
POST /v1/run/google.ai_overview
curl -X POST https://api.getanyapi.com/v1/run/google.ai_overview \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"How does photosynthesis work?"}'
FieldTypeExample value
Request body
promptstring"How does photosynthesis work?"The question or prompt to answer with a Google AI Overview.
Response
dataobjectThe AI Overview Google generated for this scrape, or null when Google returned no overview. Google regenerates the overview on each search, so two calls with the same prompt can return different wording and a different set of sources. Treat a response as a timestamped observation of what Google served, not as a stable record.
data.answerstringThe AI Overview answer as plain text, as generated for this scrape. Populated whenever the provider has data for the entity.
data.answerMarkdownstringThe same answer in Markdown, preserving the headings and lists Google rendered. Populated whenever the provider has data for the entity.
data.citationsobject[]Every source Google listed for this overview, in Google's own order. This is the full list behind the overview, not only the few sources Google renders inline before the list is expanded, so it is routinely longer than what a reader sees at a glance.
data.citations[].indexintegerGoogle's position for this source within the overview, starting at 1.
data.citations[].titlestringThe cited source title as Google presented it, which may carry a trailing date and snippet.
data.citations[].urlstringThe cited source URL.
data.promptstringThe prompt Google answered. Populated whenever the provider has data for the entity.
data.scrapedAtstringWhen this overview was captured, ISO 8601 UTC. Because Google regenerates the overview per search, this identifies which generation the other fields describe.
foundbooleanWhether Google Search returned an AI Overview for this prompt.
Price
Price per requestUSD$0.0018
Price /1k reqUSD$1.80

FAQ

About the Google Ai overview API

The AnyAPI Google Ai overview API returns Google ai overview data as normalized JSON from one POST call to /v1/run/google.ai_overview. Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.80 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 94.9% of Google ai overview calls through AnyAPI succeeded, with a median response time of 82.2 seconds across 608 measured calls.

It costs from $1.80 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 94.9% of Google ai overview calls through AnyAPI succeeded, with a median response time of 82.2 seconds across 608 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.