Estimate Scrape Cost
alterlab_estimate_costPredict the credit cost of scraping a URL before you run it, for free. Use when cost matters or before a large job. Cost: free, no credits are charged. Returns the predicted tier, estimated cost and confidence. Full machine-readable price list: GET https://alterlab.io/api/v1/pricing (public, no auth). 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": {
"url": "<url>"
},
"name": "alterlab_estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| mode | No | Scraping mode: auto (recommended), html, js (headless browser), pdf, or ocr Default: auto. | auto |
| formats | No | ||
| render_js | No | Render JavaScript with a headless browser. Default: false. | |
| use_proxy | No | Route through a premium proxy. Default: false. |