Query Google AI Mode to get AI-generated search results and insights.
Retrieve AI-powered search results from Google AI Mode.
Get comprehensive AI-generated answers, featured snippets, and search insights for any query.
Playground
Your organization, project and token stay in this browser's local storage and are sent
straight to the API — this page never sees them.
POST
item
query
requiredThe search query to analyze
config
location_id
Location ID (optional)
location_request
Location request (ex: Paris, FR), will translate to location ID
country_code
ISO3166 country code (ex: GB)
lang_code
BCP47 language code (ex: "en", "en-GB")
device
Device to use for search (optional - defaults to mobile)
Billing
Fixed cost per query requested, plus one AI Mode answer per query. Called synchronously it uses AI Mode results (live); submitted as a background batch it uses AI Mode results (async), at roughly a third of the price, and collecting the finished batch is free.
These usage SKUs can be charged on a call.
SKU
Credits
Description
Tool call
1 per request
Charged once per successful item, on top of any usage below.
AI Mode results (async)
12 per 10 query
The same AI Mode answer, submitted as a background batch.
AI Mode results (live)
4 per query
One AI Mode answer for one query, fetched while you wait.
Schemas
item is what you send, config how the tool behaves,
and the response is what you get back.
Item
object
Properties
querystringrequired
The search query to analyze
max length 700
Example
{
"query": "string"
}
Configuration
object
Properties
location_idinteger | null
Location ID (optional)
Default: null
location_requeststring | null
Location request (ex: Paris, FR), will translate to location ID
Default: null
country_codestring | null
ISO3166 country code (ex: GB)
Default: null
lang_codestring | null
BCP47 language code (ex: "en", "en-GB")
Default: null
devicestring
Device to use for search (optional - defaults to mobile)