Batch extract — one schema, up to 25 URLs

Changed on

Scrape up to 25 URLs (10-wide, same pipeline and cache as /scrape) and run one prompt + schema over each, 5 LLM calls wide. One credit per page; cached pages are free. A page that fails (dead host, anti-bot, timeout) returns its own error entry and the other pages still succeed — the request stays 200. Failed pages are never charged.

post/batch/extract

Request

  • Base URL: https://fastcrawl.net/api/v1
  • URL: https://fastcrawl.net/api/v1/batch/extract
  • Auth: HTTP bearer

Request body

urlsstring[] required
promptstring

What to extract, e.g. 'extract the pricing tiers'

schemaobject

JSON schema the extracted data must match

maxAgeinteger

Cache max age in seconds (default 172800 = 48h, 0 = always refetch). Cache hits are free. max_age is accepted as an alias.

Response

Per-item results (aligned to input order) + totals.

successboolean
totalinteger
succeededinteger
failedinteger

Changes