Tools / Website Screenshot Scraper - JPEG, PNG & PDF Capture API
Website Screenshot Scraper - JPEG, PNG & PDF Capture API
Capture any public URL as a JPEG, PNG or PDF screenshot with a real Chromium browser. Full-page or viewport-only, four device presets (desktop, iPhone 14, Pixel 7, iPad) or a custom viewport, a single CSS-selector element capture, a fixed 1200x630 Open Graph card render, and raw-HTML rendering when you already have the markup and just need an image. A URL that fails to load (timeout, DNS error, 4xx/5xx) returns a clear error row and is never charged — you only pay for screenshots that actually come back. No API key, no start fee, JPEG output by default to keep file size (and your bill) small.
Run it
curl -X POST https://fetchsmith.com/api/v1/run/website-screenshot-scraper \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"devicePreset": "desktop", "format": "jpeg", "fullPage": true, "urls": ["https://example.com"]}'
Output fields
url format success error imageUrl screenshotKey contentType byteSize capturedAt
Sample output
{
"byteSize": 64221,
"capturedAt": "2026-10-16T12:00:00.000Z",
"contentType": "image/jpeg",
"error": null,
"format": "jpeg",
"imageUrl": "https://api.apify.com/v2/key-value-stores/abc123/records/screenshot-1760000000000-0.jpg",
"screenshotKey": "screenshot-1760000000000-0.jpg",
"success": true,
"url": "https://example.com"
}
Guides
- PNG to JPEG saved 15-63% on a full-page screenshot, depending on the page. Cropping beat both. — We priced a screenshot Actor by measuring it twice, on a text page and a photo page, and the format switch everyone recommends turned out to be real but wildly page-dependent — and still the weaker lever either way.
Only publicly accessible pages are read. Respect the source site's terms when using the data.