Skip to main content
This section documents the AI Overview data returned by the Google Search endpoint. AI Overview is part of the Google response when requested via include.aioverview, so no separate API call is needed. For use cases, pricing context, and copy-paste examples, see the Google AI Overview API page on the product site.

Overview

AI Overview in Google Search
AI Overview is Google’s AI-generated summary that appears at the top of certain search results. It includes a text summary, cited sources, optional videos, and occasionally sponsored ads.
AI Overview availability varies by country. Some regions are not supported and return an UnsupportedInputError when include.aioverview is set — this is a region-level error, not a query failure. Other supported regions may return aioverview: null when Google does not show an AI Overview for a specific query. In both cases, all other Google Search result data is returned normally. Use the /v1/countries endpoint with model=aioverview to check current regional availability before sending requests.

Example request

AI Overview is opt-in: set include.aioverview in your request to include it in the response.
This produces a response containing the aioverview object documented below.

AI Overview structure

Sources

result.aioverview.sources follows the common sources structure (position, url, label, and description).
Sources in AI Overview

Citation pills

Inline citation pills (e.g. [Chase Bank +3]) Google renders next to the AI Overview text are exposed denormalized: each entry is one (pill, source) pair carrying a per-source label (the source’s own page title). When a pill cites N sources, the array contains N entries sharing the same citationPillId but carrying different per-source label, url, and domain. Group by citationPillId to recover the pill-level structure. The field is omitted when the answer carries no pills. Alongside its cited sources, a citation chip can expose a “View related links” flyout — additional URLs Google groups under the chip that are not part of the sources rail (for example a Google Shopping comparison link or a tangential page). These surface separately in result.aioverview.relatedLinks so they never inflate sources or citationPills. Each entry shares the citationPillId of the chip it belongs to, so you can associate a related link with that chip’s citation pills. Unlike a citation pill, a related link has no position — it is deliberately absent from the sources array. Related links also render in the markdown field as inline [title](url) links, just like citations. As a result markdown can contain more URLs than sources / citationPills — the extra ones are always the related links accounted for in this array. The field is omitted when a chip carries no related links.

Videos

Video content included in AI Overview. Videos appear in the order Google embeds them in the AI Overview answer; array index 0 is the first card shown.
Videos in AI Overview
Only url is guaranteed. Every other field is best-effort: Google does not attach every piece of metadata to every video card, and thumbnail and duration in particular are only available when Google renders the rich carousel preview (roughly 60% and 15% of videos in practice). Check for field presence before reading.

Ads

Sponsored ads injected by Google inside the AI Overview. Each entry in ads[] is one of two sub-types — text/lead-gen or shopping/product — discriminated by the type field. Sub-type-exclusive fields are only present when they apply to that ad.
Ads in AI Overview

Ad price object

price and old_price carry both a parsed and a raw representation: raw is always present when price is emitted; value and currency only when the string parses unambiguously. Installment / down-payment labels parse the leading "$0" as value: 0 — use raw to disambiguate.

Response example