batch_screenshots
Capture up to 50 URLs with the same options in one background job. Returns a job ID at once; call get_batch_status every 2-5 seconds until the job is completed. Each URL uses one capture, reserved when the job starts; URLs that fail are refunded. Results are download links valid for 24 hours (images are not returned inline).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | URLs to capture (1-50) | |
| delay | No | Extra milliseconds to wait after the page loads, 0-10000 (default: 0) | |
| width | No | Viewport width in CSS pixels, 320-3840 (default: 1280). Ignored when device is set. | |
| device | No | Phone, tablet or laptop preset (overrides width and height): iphone_14 (390x844), iphone_15_pro (393x852), pixel_7 (412x915), ipad_pro (1024x1366), macbook_pro (1440x900) | |
| format | No | Output format: png (default), jpeg, webp, or pdf | |
| height | No | Viewport height in CSS pixels, 200-10000 (default: 800). Ignored when device is set. | |
| quality | No | JPEG and WebP quality, 1-100 (default: 90). Ignored for png. | |
| block_ads | No | Block ads and trackers (default: true) | |
| dark_mode | No | Ask the page for its dark color scheme (default: false) | |
| full_page | No | Capture the whole scrollable page instead of one screen (default: false). Very tall pages are cut at about 32,000 px (about 8,000 px for webp, less with phone presets). | |
| user_agent | No | Custom User-Agent string | |
| click_selector | No | CSS selector to click before the capture | |
| hide_selectors | No | Comma-separated CSS selectors to hide before the capture | |
| block_cookie_banners | No | Remove cookie consent banners (default: true) |