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.

$1.80/1k req, pay per request, no subscription.

How does photosynthesis work? - Google Search
google.com/search?q=How+does+photosynthesis+work%3F
Google
How does photosynthesis work?
AllImagesVideosNewsShoppingTools
AI Overview
Eeducation.nationalgeographic.org
Photosynthesis - National Geographic Education
Kkhanacademy.org
The Basics of Photosynthesis - Khan Academy
Bbbc.co.uk
Photosynthesis, respiration and transpiration - BBC Bitesize

Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. Chlorophyll in the chloroplasts absorbs sunlight, which powers reactions that split water molecules and combine carbon dioxide with hydrogen to produce glucose, releasing oxygen as a byproduct. The overall reaction is 6CO2 + 6H2O + light energy to C6H12O6 + 6O2.

Show more ⌄
What the API returnedcitations[0]
{
"title": "Photosynthesis - National Geographic Education",
"url": "https://education.nationalgeographic.org/resource/photosynthesis",
"index": 1
}
Uptime
86.80%
30d · 43,511 calls
Requests
43,712
30d · weekly, last 12 wks
Response
17.9s
median · 30d

Pricing

Google Ai overview API pricing

You pay
$18.00
$1.80/1k req, only for what you use. No monthly plan.
Your first 55 requests are free with the $0.10 starting balance.

Try it

Get Google ai overview in one request

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `scrapedAt`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 11 of 12 fields. See every field

{
  "found": true,
  "data": {
    "prompt": "How does photosynthesis work?",
    "answer": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. Chlorophyll in the chloroplasts absorbs sunlight, which powers reactions that split water molecules and combine carbon dioxide with hydrogen to produce glucose, releasing oxygen as a byproduct. The overall reaction is 6CO2 + 6H2O + light energy to C6H12O6 + 6O2.",
    "answerMarkdown": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy.\n\n**How it works:**\n1. Chlorophyll in the chloroplasts absorbs sunlight\n2. Light energy splits water molecules (photolysis)\n3. Carbon dioxide combines with hydrogen to produce glucose\n4. Oxygen is released as a byproduct\n\nOverall reaction: 6CO2 + 6H2O + light energy to C6H12O6 + 6O2",
    "scrapedAt": "2026-09-27T14:32:00Z",
    "language": "en",
    "citations": [
      {
        "title": "Photosynthesis - National Geographic Education",
        "url": "https://education.nationalgeographic.org/resource/photosynthesis",
        "index": 1
      },
      {
        "title": "The Basics of Photosynthesis - Khan Academy",
        "url": "https://www.khanacademy.org/science/biology/photosynthesis-in-plants",
        "index": 2
      },
      {
        "title": "Photosynthesis, respiration and transpiration - BBC Bitesize",
        "url": "https://www.bbc.co.uk/bitesize/topics/z9ss4wx",
        "index": 3
      }
    ]
  }
}

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

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-22 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • promptstring

    How does photosynthesis work?

    The question or prompt to answer with a Google AI Overview.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `scrapedAt`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata

The 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.

  • answerstring

    Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. Chlorophyll in the chloroplasts absorbs sunlight, which powers reactions that split water molecules and combine carbon dioxide with hydrogen to produce glucose, releasing oxygen as a byproduct. The overall reaction is 6CO2 + 6H2O + light energy to C6H12O6 + 6O2.

    The AI Overview answer as plain text, as generated for this scrape. Populated whenever the provider has data for the entity.

  • answerMarkdownstring

    Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. **How it works:** 1. Chlorophyll in the chloroplasts absorbs sunlight 2. Light energy splits water molecules (photolysis) 3. Carbon dioxide combines with hydrogen to produce glucose 4. Oxygen is released as a byproduct Overall reaction: 6CO2 + 6H2O + light energy to C6H12O6 + 6O2

    The same answer in Markdown, preserving the headings and lists Google rendered. Populated whenever the provider has data for the entity.

  • languagestring

    en

    Two-letter language code the overview was generated in.

  • promptstring

    How does photosynthesis work?

    The prompt Google answered. Populated whenever the provider has data for the entity.

  • scrapedAtstringcan require

    2026-09-27T14:32:00Z

    When this overview was captured, ISO 8601 UTC. Because Google regenerates the overview per search, this identifies which generation the other fields describe.

each citationdata.citations[]

Every source Google listed with a usable URL for this overview, in Google's own order. References without a URL are omitted. 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.

  • indexinteger

    1

    Google's position for this source within the overview, starting at 1.

  • titlestring

    Photosynthesis - National Geographic Education

    The cited source title as Google presented it, which may carry a trailing date and snippet.

  • urlstring

    https://education.nationalgeographic.org/resource/photosynthesis

    The cited source URL. When Google withholds the destination this is a Google redirect link (google.com/goto?url=...), which google.resolve_links turns into the destination URL.

top level
  • foundboolean

    true

    Whether Google Search returned an AI Overview for this prompt.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

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 returns one normalized schema whichever source serves it. It costs from $1.80 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 86.8% of Google ai overview calls through AnyAPI succeeded, with a median response time of 17.9 seconds across 43,511 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 and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

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, 86.8% of Google ai overview calls through AnyAPI succeeded, with a median response time of 17.9 seconds across 43,511 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 55 Google Ai overview calls at $0.0018 each.

Send a POST request to https://api.getanyapi.com/v1/run/google.ai_overview with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.