v10
latestOpenAPI 3.1.02026-08-0375143791.1 KBBatch
Submit a batch
Scrape 25K URLs or crawl large websites asynchronously.
post/batch/submit
Headers
Idempotency-Keystring
Any string unique to this submission. Retries with the same key return the original batch.
Any string unique to this submission. Retries with the same key return the original batch.
Request body
Example request
{
"input": {
"data": {
"urls": [
{
"url": "https://example.com/products/anvil",
"itemId": "sku-1"
}
],
"options": {
"country": "de"
}
}
},
"tags": [
"docs",
"competitor"
]
}Response
Batch accepted. Read progress and results from GET /batch/{batch_id}.
Example response
{
"id": "batch_9f2c8a",
"tags": [
"docs"
],
"crawl": {
"source": {
"url": "https://example.com/docs"
},
"max_pages": 500,
"url_pattern": "^https://example\\.com/docs/"
},
"input": {
"reserved": 24817,
"submitted": 25000,
"duplicates": 183
},
"credits": {
"reserved": 24817
},
"invalid_urls": [
{
"reason": "Must be a public http:// or https:// URL"
}
]
}