url | string | — | URL to capture (required) |
name | string | — | Optional name for the screenshot |
viewport_width | number | 1280 | Viewport width in pixels (100–5000) |
viewport_height | number | 1024 | Viewport height in pixels (100–5000) |
full_page | boolean | false | Capture the full scrollable page |
format | string | 'png' | Output format: 'png', 'jpeg', 'webp', 'pdf' |
image_quality | number | 80 | Image quality for JPEG/WebP/PDF (0–100) |
device_scale_factor | number | 1 | Device pixel ratio (1–3, use 2 for retina) |
viewport_mobile | boolean | false | Emulate mobile device |
viewport_has_touch | boolean | false | Enable touch events |
viewport_landscape | boolean | false | Landscape orientation |
wait_for_selector | string | — | CSS selector to wait for |
selector | string | — | CSS selector of element to capture |
delay | number | 0 | Delay in ms before capture (0–10000) |
timeout | number | 60000 | Request timeout in ms (1000–90000) |
block_ads | boolean | false | Block advertisements |
block_cookie_banners | boolean | false | Block cookie consent banners |
block_chats | boolean | false | Block chat widgets |
dark_mode | boolean | — | Emulate dark color scheme |
response_type | string | 'by_format' | Response format: 'by_format', 'json', 'empty' |