Get Grok's real UI responses including real-time data from X (Twitter), sources, and citations — delivered as structured JSON at any scale.
curl "https://api.scrapellm.com/scrapers/grok" \ -H "X-API-Key: your_api_key" \ -G \ --data-urlencode "prompt=What brands do marketers recommend?" \ --data-urlencode "country=US" // Response { "scraper": "grok", "status": "done", "result": "Marketers commonly recommend...", "links": [ { "url": "...", "text": "..." } ], "credits_used": 3 }
Built for developers and data teams who need reliable, structured output at any volume.
Grok has unique access to real-time posts from X. Capture this live data in structured form.
Full list of sources Grok references, with URLs.
Response in both markdown and plain text.
Request from any country for localised Grok responses.
Async requests with polling or webhook delivery.
Every field parsed and returned in a consistent schema.
One GET request. Structured JSON back. Works in any language.
import requests response = requests.get( "https://api.scrapellm.com/scrapers/grok", headers={"X-API-Key": "your_api_key"}, params={ "prompt": "What brands do marketers recommend?", "country": "US", } ) print(response.json())
const params = new URLSearchParams({ prompt: 'What brands do marketers recommend?', country: 'US', }); const response = await fetch( `https://api.scrapellm.com/scrapers/grok?${params}`, { headers: { 'X-API-Key': 'your_api_key' } } ); const data = await response.json(); console.log(data);
curl "https://api.scrapellm.com/scrapers/grok" \ -H "X-API-Key: your_api_key" \ -G \ --data-urlencode "prompt=What brands do marketers recommend?" \ --data-urlencode "country=US"
| Field | Type | Description |
|---|---|---|
| result | string | Plain text response from Grok |
| result_markdown | string | Markdown-formatted response |
| links | array | Cited sources and X posts |
| credits_used | integer | Credits consumed by this request |
| elapsed_ms | float | Request duration in milliseconds |
Teams across marketing, SEO, research, and product use ScrapeLLM to get structured Grok data at the scale that matters.
Access all major AI and search providers through a single, consistent API.
500 free credits. No credit card. Structured JSON in minutes.