Product Pricing Login Status

Batch Scrape API Reference

Submit a batch scrape when an agent needs several pages converted into stable Markdown with shared provenance.

Request

curl -X POST https://api.example.test/v1/batch \
  -H 'authorization: Bearer token' \
  -H 'content-type: application/json' \
  -d '{"urls":["https://example.com/a","https://example.com/b"],"formats":["markdown","metadata"]}'
ParameterTypeRequiredDescription
urlsarray<string>yesAbsolute HTTP URLs to extract.
formatsarray<string>noRequested outputs such as markdown and metadata.
timeout_msintegernoPer-page deadline for deterministic agent runs.

Response

{
  "documents": [
    {"url": "https://example.com/a", "markdown": "# Alpha", "metadata": {"content_sha256": "abc"}}
  ]
}
Stable error envelopes let agents retry only the failed URLs.
UNLABELED_FENCE_SHOULD_STAY_BALANCED=true

Hidden duplicate Batch Scrape API Reference must not leak.