Cloudflare edge · KV → R2 → Rendering · Production ready
Website screenshots, fast.
ScreenshotX is a developer-first Screenshot-as-a-Service API built on Cloudflare’s global network. Cache hits return instantly, long-tail pages render safely with SSRF protection, and batch jobs keep your pipelines moving.
Quick start
Create a screenshot in one request.
curl -X POST $API_BASE_URL/api/v1/screenshot \
-H "Authorization: Bearer sx_test_xxx" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"viewport": {"width": 1280, "height": 720},
"format": "png",
"cache": true
}'Batch jobs
Queue up to 100 URLs per call.
Multi-layer caching
KV metadata + R2 object storage + optional edge response cache. Designed for 80%+ hit rates.
Secure by default
Blocks localhost/private IPs and non-http protocols. Limits risky ports.
Async & batch
Prefer async, SSE progress streaming, and webhook-ready batch processing.
Built for production
ScreenshotX is designed to avoid slow and expensive rendering whenever possible. Cache consistency (KV ↔ R2), lock-based de-dup, and a circuit breaker prevent cost spikes and thundering herds.