Skip to main content
Batch scrape takes up to 50 URLs and gives each one its own result. Use it when you have a list of pages with the same kind of data: products, articles, listings, profiles. Each URL succeeds or fails on its own, and failed ones can be retried in one call. Don’t have the URLs yet? Map a site to find them, or Crawl it.

Quick example

Get the title and price from two book pages, plus one URL that doesn’t exist:
With "wait": true and up to 10 URLs, the result comes back in the same request if it finishes within 45 seconds. This one took 8 seconds (items shortened):
Without wait, or with more than 10 URLs, you get 202 with a batchId and poll GET /batch/scrape/{batchId}. The SDKs poll for you.

What you get back

  • status is completed once every URL is done, even if some failed, and failed when every URL failed. Check failedCount and each item’s status.
  • items has one entry per URL with its own status, result, error and creditsUsed. With a prompt or schema, result is the parsed data; without one, it’s the page as Markdown.
  • Items from popular sites also have structuredData: the page’s data in a defined structure.
  • A completed item has lowContent: true when its page came back nearly empty, usually a cookie wall or a bot check. Don’t treat it as data; retry it, or use Stealth Mode.
  • A completed item has httpStatus when the page answered an error status such as 404 but still had content (usually the site’s own error page), and extractionEmpty: true when a prompt or schema found nothing on the page.
  • A failed item has an errorCode next to error, such as blocked, not_found or timeout, to decide in code whether a retry is worth it. Retry a batch runs only the failed URLs again.
  • Each item says where its page was read from (readFrom, see Proxies) and what the page says about itself (metadata): its language, description, canonical link, preview image, the social profiles the site declares as its own, and what kind of page it is.
  • completedCount and failedCount count up while it runs, so you can show progress.

Options

The same options as Scrape, applied to every URL: prompt, output, schema, extractContentOnly, screenshot, fullPageScreenshot, scrapeMode, useProxy, proxyCountry and cookies. Plus wait. urls takes plain strings or { "url": "..." } objects. Per-URL browser actions aren’t available in a batch; use Scrape for pages that need them.

Retry the URLs that failed

Only failed items run again, with the batch’s original options. Cookies are never stored, so send cookies in the retry body again if the batch used them.

Cancel

DELETE /batch/scrape/{batchId} stops the items that haven’t started and gives back the credits held for them. The response says how many items it stopped (cancelledItems) and how many credits came back (creditsRefunded). Items already done keep their results.

Cost

Each URL costs what a scrape of that URL costs: 1 credit, plus AI credits with a prompt or schema (2 per book page above). Failed items cost nothing. See How credits work.

Limits

  • 50 URLs per batch.
  • 20 batches a minute, and up to 50 of your batch URLs unfinished at once (counted together with scrapes).
  • wait only for 10 URLs or fewer.

In the dashboard

Batches are started from the API, an SDK, the MCP server or a template. Every batch shows in Logs under Batch, where you can open it to see each URL’s result, status and cost.

Next

Map

Find the URLs to batch.

Scrape a list of URLs to CSV

A complete script.

Structured output

Schemas for exact fields.

API reference

Every field and response.