Google AI Mode
Extract structured data from Google AI Mode - the AI answer panel in Google Search - including citations and organic search results as clean JSON.
Overview
Use this endpoint to monitor your brand’s presence in Google’s AI Overviews, track which sources Google cites in its AI answers, and compare AI citation coverage against traditional organic rankings - all from a single request.Unique features
- Organic search results: Traditional Google search results returned alongside the AI answer
- AI citations with thumbnails: Each cited source includes a thumbnail image URL and favicon
- Raw URL capture: The underlying Google Search URL used to generate the response
Example request
Response schema
Includes common response fields plus:Common questions
What is the difference between Google AI Mode and Gemini?
Google AI Mode is the AI answer panel shown within Google Search results on google.com. Gemini is Google’s standalone AI assistant at gemini.google.com. They use different models, different citation sources, and serve different user intents. Run both for full Google AI coverage.Are organic search results always present?
No - organic results are only included when Google shows them on the same page as the AI answer. For some queries Google shows only the AI panel; for others it shows both. Checksearch_results.length before processing.
Can I use this for AI Overview monitoring?
Yes. Google AI Mode is the same surface as Google’s AI Overviews. This endpoint captures both the AI answer and the citations, making it the primary tool for AI Overview brand monitoring.Authorizations
Your ScrapeLLM API key passed in the request header.
Query Parameters
The query to send to Google AI Mode. Maximum 4,000 characters.
1 - 4000ISO 3166-1 alpha-2 country code. Routes the request through infrastructure in
that region for localised responses. JP and TW are not supported. Defaults to US.
2Skip the response cache and always fetch a fresh result.
Maximum seconds to wait for Google AI Mode to respond. Must be between 10 and 600.
10 <= x <= 600Response
Scrape completed successfully.
Always "google_ai_mode".
"google_ai_mode"
"done" on success.
"done"
Unique identifier for this scrape job.
"job_abc123"
The query that was submitted.
"What brands do marketers recommend for email automation?"
The country the request was routed through.
"US"
Plain-text AI-generated answer from Google AI Mode.
"Marketers commonly recommend Mailchimp, HubSpot, and Klaviyo..."
Credits consumed by this request. Always 3 for Google AI Mode.
3
Total end-to-end request duration in milliseconds.
7318.6
true if this response was served from cache.
false
Markdown-formatted AI-generated answer.
"Marketers commonly recommend **Mailchimp**, **HubSpot**, and **Klaviyo**..."
Sources directly referenced within the AI-generated answer. These are the pages
that influenced what the AI said — distinct from search_results.
Traditional organic search results shown below the AI answer. Often different from
citations — understanding that gap is a key AI SEO signal.
The original Google search URL used to fetch this response.
"https://www.google.com/search?q=What+brands+do+marketers+recommend"
Hosted .md URL for this response. Expires after 24 hours.
"https://scrapellm.com/md/job_abc123.md"