SnapRender icon

SnapRender

Capture website screenshots as PNG, JPEG, WebP, or PDF

Batch Screenshots

AI-generated

Summary

Create a batch screenshot job to capture screenshots of multiple URLs (1 to 50) in a specified image or PDF format with customizable options for viewport, appearance, and content blocking.

Inputs

  • URLs (JSON Array) (required) — A JSON array of URLs (1-50) to capture screenshots of.
  • Format — Output format of the screenshots; options include PNG, JPEG, WebP, or PDF. Defaults to PNG.
  • Full Page — Whether to capture the entire scrollable page (true/false). Defaults to false.
  • Device — Device preset to emulate viewport size and appearance, such as Desktop, iPhone 14, iPhone 15 Pro, Pixel 7, iPad Pro, or MacBook Pro. Defaults to Desktop.
  • Dark Mode — Enable dark mode CSS emulation (true/false). Defaults to false.
  • Block Ads — Whether to block advertisements and trackers (true/false). Defaults to true.
  • Block Cookie Banners — Whether to remove cookie consent banners (true/false). Defaults to true.
  • Additional Options — Optional advanced settings including viewport width (320-3840px), height (200-10000px), JPEG/WebP quality (1-100), delay in milliseconds after page load (0-10000), comma-separated CSS selectors to hide before capture, and a CSS selector to click before capture.

Output shape

a single JSON object representing the created batch screenshot job

The output contains fields confirming the batch job creation status and job ID. The operation returns JSON data; it does not return the screenshots themselves. Use the 'Get Batch Status' operation with the returned job ID to monitor completion and access screenshots.

Examples

Example 1: Batch screenshot multiple webpages in JPEG format with full page capture and dark mode enabled.

Set the 'URLs (JSON Array)' parameter to a JSON array of URLs. Choose 'JPEG' for 'Format'. Enable 'Full Page' and 'Dark Mode'. Optionally set device and additional options for viewport and delays.

Links

Discussion