What batches support
Choose a mode and one or more outputs:
Batches use the same parameters and per-page result schema as Scrape Anything. See Submit a batch for extraction options, page deadlines, and pricing.
Submit a URL list
This request scrapes two pages as Markdown and HTML. The examples read your API key fromCONTEXT_DEV_API_KEY; the Quickstart shows how to create a key and install an SDK.
202 with the new batch (trimmed):
id. input.submitted counts the URLs you sent. input.reserved counts the pages the batch will attempt once duplicates and invalid URLs are removed. The Idempotency-Key header makes a retried submit return this batch instead of creating a second one; see Idempotency.
Lifecycle
completed, cancelled, and failed are final. Poll the batch or add a webhook to find out when it reaches one, then read the results. See Status and results.
Access
A restricted API key needsbatches:write to submit, cancel, or delete batches and to replay their webhook deliveries. batches:read covers status, results, the batch list, and delivery history. See API keys.
Choose an endpoint
Related
- Submit a batch: URL lists, page options, deduplication, and idempotency.
- Status and results: progress, result records, files, and how long results are kept.
- Cancel, limits, and errors: cancel and delete, concurrency, and error codes.
- Webhooks: signatures, retries, and replay for
batch.*events. - Submit a batch reference