Captures a screenshot or PDF of a specified URL with customizable options
API key authentication. Get your API key at https://snapopa.com/dashboard
URL to capture
2048HTML content to render. Accepts raw HTML or base64-encoded HTML (auto-detected). Mutually exclusive with url parameter.
1048576Whether to process the capture asynchronously and return the response immediately. The capture will be processed in the background.
Response format (json metadata or direct file)
json, file Output format for the capture. Supported formats are png, jpeg, webp, pdf.
png, jpeg, webp, pdf Response cache configuration. Controls whether to check for existing cached results to avoid duplicate API costs.
CDN storage configuration. Controls how captures are stored and accessed via CDN.
Viewport dimensions for the capture
Browser color scheme preference. Controls prefers-color-scheme media query. Options: light, dark, no-preference.
light, dark, no-preference Capture full page or just viewport. If true, viewport dimensions are ignored.
Image quality for JPEG/WebP formats (1-100). Only applies to jpeg, jpg, and webp formats.
1 <= x <= 100Navigation timeout in milliseconds. Minimum is 5000ms (5s), maximum is 120000ms (120s).
5000 <= x <= 120000Page load state to wait for before capturing. Options: load, domcontentloaded, networkidle, commit.
load, domcontentloaded, networkidle, commit Maximum time in milliseconds to wait for images to finish loading. Returns early if all images load sooner. Minimum is 0ms, maximum is 15000ms (15s), default is 5000ms.
0 <= x <= 15000Extra wait time in milliseconds before capturing the screenshot, after page has loaded. Useful for pages with animations or delayed content. Minimum is 0ms, maximum is 15000ms (15s), default is 0ms.
0 <= x <= 15000Enable anti-bot detection bypass. When enabled, uses browser providers with stealth capabilities to avoid bot detection.
Geographic region for browser rendering. Options: auto, us-east, us-west, eu-west, eu-central, asia-east, asia-southeast. Use for geo-targeted captures or latency optimization.
auto, us-east, us-west, eu-west, eu-central, asia-east, asia-southeast Resource blocking configuration. Block ads, trackers, media, and hide cookie/popup banners to improve captures.