Batch Scrape URLs
batch_scrape_urlsScrapes a known list of URLs in one batch (up to 100k), returning page content immediately for small batches or a batch_id for larger runs to retrieve later.
Instructions
Use this when you have a known list of URLs to scrape, such as URLs from a CSV or from search results (up to 100k in one batch). Waits up to wait_for_completion_seconds (default 45) and returns the content if the batch finishes in that time. Larger batches usually take 5-8 min and return a batch_id: get their content with get_batch_results, a set at a time, passing next_cursor for the rest. For one or a few URLs, scrape_website is faster; to discover a site's pages, use create_crawl.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "batch_scrape_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Array of URLs to scrape — plain URL strings, or objects with "url" and optional "custom_id". | |
| parser | No | Optional parser ID for specialized extraction (e.g. @olostep/google-search). | |
| country | No | Optional country code for location-specific scraping. | |
| output_format | No | Choose format for all URLs. Default: "markdown". | markdown |
| urls_to_scrape | No | Alias for `urls`. | |
| wait_before_scraping | No | Wait time in milliseconds before scraping each URL. | |
| wait_for_completion_seconds | No | Seconds to wait for the batch to finish and return its content in this call. 0 returns the batch_id right away. |