Reliable Screenshot API
for developers.
Automate screenshot capture for any webpage. Powered by headless Chrome, running at the edge. Simple pricing. Zero maintenance.
curl -X POST https://api.len.sh/v1/screenshot \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://google.com",
"full_page": true,
"format": "webp",
"wait_until": "networkidle0"
}' Capabilities
Engineered for performance.
Everything you need for screenshot automation at scale, without the infrastructure headaches.
Full-Page Capture
High-resolution stitching for infinitely scrolling pages and long-form content.
Element Selection
Target specific DOM elements with CSS selectors. Isolate exactly what you need.
Custom Viewports
Simulate any screen size or device. Full control over UA and pixel ratio.
Ad & Cookie Blocking
Native content blocking for clean, clutter-free screenshots every time.
HTML-to-Image
Send raw HTML/CSS strings to generate dynamic assets on the fly.
Advanced Waits
Wait for network idle, timeouts, or custom JS triggers before the shot.
Branded OG Images
Generate 1200x630 Open Graph images from structured parameters. No HTML template needed.
Simple, predictable pricing.
Start for free and scale as you grow. No hidden fees or complex usage tiers.
- check_circle Standard Priority Queue
- check_circle All Capture Options
- check_circle 24h cache storage
No credit card required
- check_circle High Priority Execution
- check_circle Custom Proxies & IP Rotation
- check_circle 30-day cloud storage
100 free screenshots, upgrade anytime