Introduction
Capture pixel-perfect screenshots and PDFs of any web page over a simple REST API — with full-page rendering, device emulation, ad/cookie blocking, dark mode, and more. Every image in these docs was produced by this API.

All requests go to the base URL:
https://screenshotforweb.com/api/v1Quickstart
Create an API key from the API Keys page, then take your first screenshot:
Terminal
curl -X POST https://screenshotforweb.com/api/v1/screenshot \
-H "X-API-Key: sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","format":"png"}'The response returns a signed URL to the rendered image:
Response
{
"success": true,
"data": {
"signedUrl": "https://storage.googleapis.com/...",
"downloadUrl": "/api/v1/assets/screenshot/...",
"metadata": { "format": "png", "sizeBytes": 17544, "capturedAt": "..." }
}
}What you can do
- Full-page or viewport screenshots in PNG, JPEG, WEBP, or PDF
- Device emulation, custom viewports, and dark mode
- Block ads, cookie banners, and chat widgets; inject CSS/JS; simulate interactions
- Batch many URLs, or capture a site's history from the Wayback Machine
- Browser-safe signed URLs for embeds
Next steps
- Authentication — create and use API keys
- Guides — task-focused walkthroughs: full-page, devices, dark mode, blocking, bulk, and more
- Endpoints and All options — the full reference