Batch Fetch
Fetch multiple URLs concurrently in a single asynchronous job
Batch Fetch loads an array of URLs concurrently in cloud browsers and returns the outputs you choose—markdown, HTML, links, screenshots, structured JSON, or a branding profile—for each URL. It shares the same output, browser, navigation, and caching controls as Fetch.
Quick Start
Endpoints & SDK Methods
Batch Fetch is asynchronous. Start a job, poll status until completed or failed, and retrieve paginated results (or use startAndWait / start_and_wait in the SDKs).
Non-blocking Polling Pattern
Use start, getStatus, and get directly when you want to persist jobId in your own queue or process results page by page:
Response
Starting a job returns:
Once complete, GET /api/web/batch-fetch/{jobId} returns per-URL results in data along with pagination metadata:
The job-level status can be pending, running, completed, or failed. Each item in data also carries its own status, optional error, statusCode, and finalUrl. Always check page.status and page.statusCode before ingesting a page’s content.
Parameters
Pagination
When calling GET /api/web/batch-fetch/{jobId} directly:
When using startAndWait / start_and_wait, returnAllPages / return_all_pages defaults to true, which automatically walks every page batch (batchSize: 100) and returns all results in result.data.