Skip to main content
One endpoint, one key. It asks the question in Google’s AI Mode tab, signed out, and returns the answer a person would read and every source it links. See the Google AI Mode API: overview, pricing, and free tier.

Answer

GET /v1/google-ai-mode · 1 request
AI Mode writes its answer for 10 to 30 seconds. Set your client timeout to 90 seconds.
Answers change from one asking to the next, so nothing is cached. To measure visibility, ask each question several times and count how often a brand is named in text or its domain appears in citations.

What counts as a citation

  • A link to a source, in the answer or in the source list beside it, with Google’s redirect resolved to the page itself.
  • Not Google’s product cards: a product’s name linked to some page that mentions it. The product’s name is still in text.
  • Each URL once, in the order the answer first shows it.

Errors

A page that loads with no answer, after every scraping vendor has tried, is 502 scrape_failed; the request is not billed. A missing q, a q over 500 characters, or a country that is not two letters is 400.

What this API does not do

  • It does not ask follow-up questions in the same conversation.
  • It does not sign in, so it does not read answers personalized to an account.
  • It does not return ads, shopping cards, or images shown with an answer.
Auth, plans, rate limits, and error codes: Authentication.