scrape_url
Scrape webpages through the official Scrape.do API with Markdown/raw output, JavaScript rendering, screenshots, geo-targeting, and session support for dynamic or protected pages.
Instructions
Scrape a webpage with the official Scrape.do API. Supports Markdown/raw output, JS rendering, screenshots, browser interactions, geo-targeting, header forwarding, session persistence, and ReturnJSON features.
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": "scrape_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The target URL to scrape | |
| super | No | Official Scrape.do super parameter. | |
| width | No | Viewport width. | |
| device | No | Device type to emulate. | desktop |
| height | No | Viewport height. | |
| output | No | Output format. Matches Scrape.do's official raw/markdown output. | |
| render | No | Official Scrape.do render parameter. | |
| geoCode | No | Country code for geo-targeting. | |
| headers | No | Header values to forward to Scrape.do for custom/extra/forward modes. | |
| timeout | No | Maximum timeout in milliseconds. | |
| callback | No | Webhook callback URL. | |
| render_js | No | Alias for render. Render JavaScript for SPA or dynamic pages. | |
| sessionId | No | Sticky session ID. | |
| waitUntil | No | Browser load event to wait for. | domcontentloaded |
| customWait | No | Additional wait time after load in milliseconds. | |
| headerMode | No | CamelCase alias for header_mode. | |
| returnJSON | No | Return JSON with network requests/content. | |
| screenShot | No | Official Scrape.do screenshot parameter. | |
| screenshot | No | Alias for screenShot. Capture a viewport screenshot. | |
| setCookies | No | Cookies to send to the target page. | |
| showFrames | No | Include iframe content in ReturnJSON responses. | |
| header_mode | No | Header forwarding mode: custom, extra, or forward. | |
| pureCookies | No | Return original Set-Cookie headers. | |
| super_proxy | No | Alias for super. Use residential/mobile proxies. | |
| disableRetry | No | Disable automatic retries. | |
| extraHeaders | No | Enable official extraHeaders mode. | |
| retryTimeout | No | Retry timeout in milliseconds. | |
| waitSelector | No | CSS selector to wait for. | |
| customHeaders | No | Enable official customHeaders mode. | |
| blockResources | No | Block CSS, images, and fonts. | |
| forwardHeaders | No | Enable official forwardHeaders mode. | |
| fullScreenShot | No | Capture a full-page screenshot. | |
| playWithBrowser | No | Browser interaction script for Scrape.do. | |
| regionalGeoCode | No | Regional geo-targeting code. | |
| disableRedirection | No | Disable redirect following. | |
| transparentResponse | No | Return the target response without Scrape.do post-processing. | |
| particularScreenShot | No | Capture a screenshot of a specific CSS selector. | |
| showWebsocketRequests | No | Include websocket requests in ReturnJSON responses. |