web_scrape_batch
A batch OF SCRAPES: reads a list of urls YOU give it (2 to 50, from any sites) and returns a jobId. It discovers nothing on its own — for that use web_crawl. Charged up front per url; urls that fail and urls served from the cache are refunded. Poll it with web_batch_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | For the `json` format: `prompt` and/or `schema`. | |
| urls | Yes | The urls to read, 2 to 50. They do not have to share a site. | |
| wait | No | When to consider the page loaded: `until`, `selector`, `timeout`. | |
| maxAge | No | Accept an answer up to this many milliseconds old. A cache hit costs $0.0002 instead of the format price. Leave it out to force a fresh render. | |
| formats | No | Outputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt`. | |
| selectors | No | CSS selectors for `elements`. |