Web Screenshot API
Zero 403 Visual Captures
Render any live webpage in a stealth headless Chromium browser and capture crisp PNG, JPEG, or WebP screenshots. Full-page scrolling, Retina 3x DPR, dark mode, CSS element cropping, and automatic ad/cookie banner blocking included out of the box.
curl -X POST https://api.clearfetch.dev/v1/screenshot \
-H "Authorization: Bearer cf_live_demo1234567890abcdef" \
-H "Content-Type: application/json" \
-d '{
"url": "https://docs.stripe.com/api",
"format": "png",
"full_page": true,
"width": 1440,
"height": 900,
"dark_mode": true,
"block_ads": true
}'Built for Vision Agents, Visual QA & Automated Pipelines
Anti-Bot Bypassed Captures
Automatically navigates past Cloudflare Turnstile, DataDome, and TLS/JA4 checks so you capture the actual application instead of a blank 403 block screen.
Full-Page, Mobile & Retina 3x
Customize viewport width (320–3840px), height, full_page stitching, touch emulation (is_mobile), and HiDPI device_scale_factor.
Dark Mode & Ad/Cookie Blocking
Strip annoying GDPR modals, ad scripts, and floating banners automatically with block_ads and hide_selectors, or force dark_mode.
CSS Element Cropping
Pass selector to crop tightly around a specific chart, pricing card, or dashboard widget, plus wait_for_selector for async SPAs.
JSON Base64 or Binary Stream
Choose JSON with image_base64 & data_uri, or set response_type: "binary" for zero-overhead raw PNG/JPEG/WebP streaming via POST or GET.
Multimodal Vision Ready
Native clearfetch_screenshot MCP tool returns visual image content directly into Claude, Cursor, GPT-4o, and Gemini workflows.
Complete Screenshot API Parameters
Supported on both POST /v1/screenshot (JSON) and GET /v1/screenshot (query parameters).
| Parameter | Type | Default | Description |
|---|---|---|---|
| url | string (required) | — | Public HTTP/HTTPS webpage URL to render and capture (SSRF-validated). |
| format | string | "png" | Output image encoding: "png", "jpeg", or "webp". |
| quality | integer | 85 | Compression quality (1–100) for JPEG and WebP outputs. |
| full_page | boolean | false | Capture complete scrollable page height instead of viewport only. |
| width / height | integer | 1440 / 900 | Viewport dimensions in pixels (width 320–3840, height 240–2160). |
| device_scale_factor | number | 1.0 | Retina / HiDPI pixel density multiplier (1.0 to 3.0). |
| is_mobile | boolean | false | Emulate mobile device viewport and touch events. |
| dark_mode | boolean | false | Emulate prefers-color-scheme: dark media query. |
| block_ads | boolean | true | Automatically block ad networks, trackers, and cookie banners. |
| omit_background | boolean | false | Render transparent background for PNG and WebP captures. |
| selector | string | null | Crop tightly around the first DOM element matching this CSS selector. |
| wait_for_selector | string | null | Wait until this CSS selector renders before capturing the frame. |
| hide_selectors | string[] | null | Array of CSS selectors to hide (e.g. sticky chat widgets or banners). |
| delay_ms | integer | 400 | Extra settle delay in ms (0–15000) after network/selector load. |
| max_age | integer | 0 | Optional Redis cache TTL in seconds (0 forces fresh live capture). |
| response_type | string | "json" | Return base64 JSON ("json") or raw image stream ("binary"). |
Web Screenshot API FAQ
Common technical questions about anti-bot browser rendering, image formats, and pricing.
Start capturing unblocked screenshots today
Claim 500 free credits on signup — enough for 166 full-page stealth screenshots with zero credit card required.