The Gemini endpoint sends any prompt to the Google Gemini web interface and returns the response as structured JSON. Gemini returns the richest citation metadata of any scraper — each source includes a text snippet, highlighted excerpts, the site’s favicon, and a human-readable website name.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.
Richest citation metadataGemini citations include
highlights — the exact excerpts Gemini pulled from each source to support its answer. No other scraper returns this level of citation detail.Overview
Use this endpoint to track brand citations in Google’s AI ecosystem, research which pages Google’s AI trusts for any topic, and monitor how Gemini presents your brand or competitors. Thehighlights field shows exactly which sentences from each source Gemini used — useful for content optimisation.
Unique features
- Highlights: The exact excerpts Gemini extracted from each source to support its answer
- Source snippets: Full text excerpt from each cited page
- Favicon + website name: Human-readable site identity for each citation
- Markdown response: Full response as markdown via
result_markdown
Request parameters
The prompt to send to Gemini. Maximum 4,000 characters.
ISO 3166-1 alpha-2 country code for localised responses.
Skip the response cache and always fetch a fresh result.
Maximum seconds to wait for Gemini to respond (10–600).
3 credits per request
Example request
Response schema
Includes common response fields plus:| Field | Type | Description |
|---|---|---|
result | string | Plain-text response from Gemini |
result_markdown | string | Markdown-formatted response |
citations | array | Cited sources with rich metadata |
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[].highlights | array | Exact excerpts Gemini pulled from this source to support its answer |
citations[].website_name | string | Human-readable site name (e.g. "HubSpot Blog") |
citations[].favicon | string | URL of the site’s favicon |
llm_model | string | Gemini model used (e.g. gemini-2.0-flash) |
credits_used | integer | Credits consumed — always 3 for Gemini |
elapsed_ms | float | End-to-end request duration in milliseconds |
cached | boolean | true if served from cache |
Common questions
What are highlights and how are they different from snippet?
snippet is a general text excerpt from the page. highlights are the specific sentences Gemini extracted and used to ground its answer — they show exactly which parts of the source Gemini considered relevant. Highlights are especially useful for content optimisation: if Gemini highlights your content, that’s strong signal for AI citation potential.