Skip to main content
This section documents the sources data returned by the Grok endpoint. Sources are part of the Grok response — no separate API call is needed.

Example request

{
  "prompt": "latest developments in quantum computing",
  "country": "US"
}
This produces a response containing the sources array with the enhanced metadata documented below.

Overview

Grok sources follow the common sources structure (position, url, label, description) plus additional Grok-specific fields. Unlike other AI search providers, Grok enriches each source with preview text, creator details, site information, and image URLs for deeper analysis and better source attribution.
Sources in Grok

Grok-specific source fields

FieldTypeDescription
previewstringText snippet preview from the source
searchEngineTextstringSearch engine display text for the source
siteNamestringWebsite name
metadataTitlestringSource page metadata title
creatorstringContent creator or author
imagestringURL to preview image from the source
faviconstringURL to website favicon

Response example

{
  "success": true,
  "result": {
    "text": "Quantum computing has seen rapid progress in 2026...",
    "sources": [
      {
        "position": 1,
        "url": "https://example.com/quantum-2026",
        "label": "Quantum Computing in 2026",
        "description": "An overview of recent breakthroughs in quantum hardware and algorithms.",
        "preview": "Researchers at MIT and IBM announced a 1,000-qubit processor that...",
        "searchEngineText": "Quantum Computing in 2026 - Recent Breakthroughs",
        "siteName": "Example Tech",
        "metadataTitle": "Quantum Computing in 2026 | Example Tech",
        "creator": "Jane Doe",
        "image": "https://example.com/quantum-cover.jpg",
        "favicon": "https://example.com/favicon.ico"
      }
    ]
  }
}