Submit any scrape as a background job. Returns aDocumentation Index
Fetch the complete documentation index at: https://docs.scrapellm.com/llms.txt
Use this file to discover all available pages before exploring further.
job_id immediately (HTTP 202) — no open connection required. Poll GET /jobs/{job_id} to retrieve the result when done.
Endpoint
{scraper} with the target AI provider: chatgpt, perplexity, grok, copilot, gemini, google_ai_mode, or amazon_rufus.
Parameters
All query parameters accepted by the sync endpoint are supported. Pass them as query parameters on the POST request.The prompt or query to send. Maximum 4,000 characters.
ISO 3166-1 alpha-2 country code. Defaults to
"US".Maximum seconds to wait per scrape attempt. Between 10 and 600.
mode for Grok and Copilot, web_search for Perplexity).
Example request
Response
HTTP 202 Accepted
Unique UUID for this job. Pass this to
GET /jobs/{job_id} to retrieve the result.Always
"pending" on a successful submission.Credit behaviour
- Credits are deducted at submit time
- If the scrape fails after all retry attempts, credits are automatically restored
- Failed jobs are retried up to 3 times before being marked
failed
Error codes
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
429 | Credit limit reached |
What’s next
After submitting a job, pollGET /jobs/{job_id} to check status and retrieve the result.
Get job status
Poll for job completion and retrieve the full scrape result