The Google AI Mode endpoint extracts data from Google’s AI Mode panel — the AI-generated answer shown at the top of Google Search results. Unlike Gemini (the standalone assistant), this is the AI answer that appears when users search on Google.com, alongside traditional organic results.Documentation Index
Fetch the complete documentation index at: https://docs.scrapellm.com/llms.txt
Use this file to discover all available pages before exploring further.
AI answer + organic results togetherThis is the only scraper that returns both the AI-generated answer and the traditional organic search results shown on the same page — giving you a complete picture of Google Search visibility.
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
Request parameters
The search query to send to Google AI Mode. Maximum 4,000 characters.
ISO 3166-1 alpha-2 country code for localised results.
Skip the response cache and always fetch a fresh result.
Maximum seconds to wait for Google to respond (10–600).
3 credits per request
Example request
Response schema
Includes common response fields plus:| Field | Type | Description |
|---|---|---|
result | string | Plain-text AI-generated answer |
result_markdown | string | Markdown-formatted AI answer |
citations | array | Sources cited in the AI answer |
citations[].title | string | Article title of the cited page |
citations[].url | string | URL of the cited source |
citations[].snippet | string | Text excerpt from the source page |
citations[].website_name | string | Human-readable site name |
citations[].thumbnail | string | Thumbnail image URL (nullable) |
citations[].favicon | string | Site favicon URL |
search_results | array | Traditional organic search results shown alongside the AI answer |
search_results[].title | string | Page title of the organic result |
search_results[].url | string | URL of the organic result |
search_results[].snippet | string | Search result snippet |
search_results[].website_name | string | Site name |
search_results[].thumbnail | string | Thumbnail image URL (nullable) |
raw_url | string | The Google Search URL used to generate the response |
credits_used | integer | Credits consumed — always 3 for Google AI Mode |
elapsed_ms | float | End-to-end request duration in milliseconds |
cached | boolean | true if served from cache |
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.