Scrape a web page
web_scrape_getAny public web page as Markdown, HTML, text, links and metadata.
One public page as Markdown (default), cleaned HTML, raw HTML, plain text, links or images (formats, comma-separated), with metadata: title, description, language, canonical, Open Graph, status code, final URL. only_main_content (default true) keeps the article; include_tags/exclude_tags are CSS selectors. A page that answers 404 is returned with metadata.statusCode 404. Sites that need JavaScript to render come back as their server HTML.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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": "web_scrape_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A public http(s) URL. | |
| proxy | No | ||
| mobile | No | Accepted for compatibility; pages are fetched as desktop. | |
| formats | No | Comma-separated: markdown, html, rawHtml, links, text, images (default markdown). | |
| max_age | No | ||
| timeout | No | ||
| wait_for | No | Accepted for compatibility; no JavaScript runs, so there is nothing to wait for. | |
| block_ads | No | ||
| exclude_tags | No | Comma-separated CSS selectors to drop. | |
| include_tags | No | Comma-separated CSS selectors to keep (only those). | |
| accept_language | No | Accept-Language header, e.g. de-DE,de;q=0.9. | |
| location_country | No | ||
| only_main_content | No | Drop navigation, headers, footers and asides (default true). | |
| remove_base64_images | No |