Batch
batchScrape a list of URLs you already have, such as pages found with map. Waits for the batch to finish and returns the first page of results in the same call, so a short list needs one call; read further pages, or a batch still running, with batch_status. Each URL scraped costs 1 credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | The URLs to scrape. | |
| wait | No | Seconds to wait for the batch before returning (default 45). 0 returns the batch id at once. | |
| limit | No | Results to return in this call (default 10). | |
| maxCharsPerPage | No | Cut each page's markdown to this many characters; a cut page says so in data.truncated with its full length. Use it when results are too large for your context. |