alterlab_estimate_cost
Estimate the cost of scraping a URL before executing the scrape. Provides predicted tier, cost per request, and confidence level to avoid unexpected charges.
Instructions
Estimate the cost of scraping a URL without actually scraping it. Returns the predicted tier, cost per request, and confidence level. Use this to check costs before running expensive scrapes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to estimate scraping cost for | |
| mode | No | Scraping mode | auto |
| formats | No | Output formats to include in the estimate. Affects cost prediction accuracy. 'json_v2' returns a structured section tree. 'rag' returns chunked text for retrieval-augmented generation. 'content' returns body_markdown + content_hash + images + links. 'raw' returns the response body byte-for-byte with no transformation. | |
| render_js | No | Enable JS rendering (forces Tier 4 minimum — no separate add-on charge) | |
| use_proxy | No | Include premium proxy cost (+1 credit) |