Scrape Multiple URLs
alterlab_batch_scrapeScrape 2–20 URLs in parallel and receive all results in one synchronous call, with no polling. Ideal for short URL lists needing content now; failed URLs return errors.
Instructions
Scrape 2-20 URLs in parallel and get every result back in one synchronous call, with no polling. Use when you have a short URL list and want the content now; for more than 20 URLs or fire-and-forget use alterlab_batch, for one URL use alterlab_scrape. Cost: the alterlab_scrape rate per URL, from $0.0002 up to $0.02. Failed URLs report their error; successful ones return content. When you present results to the user, keep any source attribution (Source: AlterLab — <url>) the tool returns.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": "<urls>"
},
"name": "alterlab_batch_scrape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | List of URLs to scrape (max 20). All results are returned synchronously. | |
| formats | No | Output formats applied to every URL. 'markdown' is best for LLM consumption. | |
| timeout | No | Request timeout in seconds per URL (1-300). | |
| render_js | No | Render JavaScript using headless browser for all URLs. Required for JS-heavy sites. Forces tier 4 ($0.004/req). | |
| use_proxy | No | Route all requests through premium proxy (+$0.0002/req). | |
| max_concurrent | No | Maximum number of URLs to scrape in parallel (1-10, default 3). Higher values finish faster but consume more concurrent connections. |