screenshot
Capture a screenshot of a webpage from its URL. Choose full-page or viewport capture, set dimensions, format, quality, and wait condition, then receive image metadata.
Instructions
Capture a screenshot of a URL via the Scrapingdog Screenshot API (/screenshot). Supports full-page capture, viewport size, wait-until, format (png/jpg/webp), and quality. Costs 5 credits. Note: this tool reports image metadata; binary bytes aren't returned as text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the page to screenshot. | |
| width | No | Browser viewport width in pixels (e.g. '1920'). | |
| format | No | Output image format. Default: png. | |
| height | No | Browser viewport height in pixels (e.g. '1080'). | |
| api_key | No | Override the configured Scrapingdog API key for this call. If omitted, the key is read from SCRAPINGDOG_API_KEY or a local .env file. | |
| quality | No | Image quality 0–100 (jpg/webp). Default: 80. | |
| fullPage | No | Capture the full scrollable page rather than just the visible viewport. | |
| wait_until | No | When navigation is considered complete before screenshotting. Default: domcontentloaded. |