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.
When `save_to_tmp_storage` is enabled, the results are written to temporary
project storage and a URL is returned instead of inline results.
Playground
Log inLog in to try this tool. The request uses your session.
POST
item
queryrequired
The 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)
save_to_tmp_storage
Save the bulky result payload to Botify temporary storage and return the temporary URL instead of the payload. Use this to save output tokens.
Credits
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)
Values:mobiledesktop
Default: "mobile"
save_to_tmp_storageboolean
Save the bulky result payload to Botify temporary storage and return the temporary URL instead of the payload. Use this to save output tokens.