Google AI Overview logo

Google AI Overview API

Send a search query to get the AI Overview Google shows and the pages it cites. Choose English, Spanish, or French and request a search market.

Request and response

Browse endpoints
Read an overview and its sources

Send the query, language, and market to read the answer Google displays. Citations point to their destination pages.

POST /v1/google/ai-overview

Request body

{
  "query": "how do eclipses happen",
  "locale": "en",
  "market": "GB",
  "citation_limit": 4
}

Observed answer and citation excerpt

{
  "query": "how do eclipses happen",
  "locale": "en",
  "market": "GB",
  "rendered_language": "en-GB",
  "status": "available",
  "answer": "An eclipse happens when one celestial body moves into the shadow of another, requiring the Sun, Earth, and Moon to line up",
  "citations": [
    {
      "url": "https://science.nasa.gov/eclipses/geometry/",
      "title": "NASA Science (.gov)"
    },
    {
      "url": "https://www.youtube.com/watch?v=0wQpBUVI4s0",
      "title": "YouTube · NBCLA"
    }
  ],
  "citations_observed": 3
}

Use Cases

Track changes to an overview

Save the answer and citations for the same query over time to see how the overview changes.

Find sources for a query

Follow the returned links to examine the sources shown in the overview.

API Endpoints

Available endpoints for the Google AI Overview API

POST /v1/google/ai-overview

Google AI Overview

Read the AI Overview displayed for a Google search query in English, French, or Spanish and resolve its visible citation links. Reports when a verified results page does not show an overview.

Parameters

citation_limit integer
locale string
market string Request a two-letter search market such as US or FR.
query string required
View endpoint documentation

Frequently Asked Questions

Common questions about the Google AI Overview API

Will every query have an AI Overview?

Google decides when to show an overview. A verified results page without an overview returns the not_shown status.

Can I limit how many citations are resolved?

Set citation_limit from 1 to 8. The response includes the number of observed citation links and whether all links attempted within your limit resolved.

Start scraping Google AI Overview

Get your free API key