take_screenshot
Capture a screenshot of a public web page by providing its URL, with options for format, full-page capture, ad blocking, and viewport resolution.
Instructions
Capture a PNG/JPEG/PDF screenshot of any public URL via WebsiteScreenshot.online. Returns the public image URL (24h TTL) and metadata. Use fullSize=true for full-page captures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Fully-qualified URL of the page to capture. | |
| delay | No | Seconds to wait after navigation before taking the shot. | |
| format | No | Output image format. | png |
| blockAds | No | Block ad networks before capturing. | |
| fullSize | No | Capture the full scrollable page instead of the viewport. | |
| resolution | No | Optional {width,height}. Leave undefined to use the API default (1920x1080). Common presets: 1280x720 (HD 16:9), 1280x800 (16:10), 1280x1024 (5:4), 1366x768 (16:9), 1600x900 (HD+), 1920x1080 (Full HD), 1080x1080 (Square), 360x640 (Galaxy S10), 375x667 (iPhone 6/7/8), 375x812 (iPhone X), 414x736 (iPhone 6+/7+/8+), 414x896 (iPhone XR). | |
| blockCookiesGdpr | No | Block GDPR/cookie banners before capturing. |