Headless Chromium — 3 Endpoints
The complete Screenshot API toolkit
Full-page and viewport PNG screenshots, PDF page renders, and targeted element capture via CSS selectors — all powered by headless Chromium. 3 endpoints, one API key.
curl -X POST "https://screenshot.toolkitapi.io/v1/screenshot" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "full_page": true}'
import httpx
resp = httpx.post(
"https://screenshot.toolkitapi.io/v1/screenshot",
json={"url": "https://example.com", "full_page": True},
headers={"X-API-Key": "YOUR_KEY"},
)
data = resp.json()
print(f"Image: {data['format']} {data['width']}x{data['height']}")
const resp = await fetch(
"https://screenshot.toolkitapi.io/v1/screenshot",
{
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://example.com", full_page: true }),
}
);
const { image, width, height } = await resp.json();
console.log(`Captured ${width}x${height} PNG`);
Headless Chromium
|
Full JS Rendering
|
Free Tier Available
|
PNG, PDF & Element
Capture Modes
Three ways to capture webpages — full-page PNG, PDF, and targeted element screenshots.
Built for Developers
Real browser rendering without managing browser infrastructure.
🌐
Headless Chromium
Real browser rendering — JavaScript, CSS, web fonts, and dynamic content all supported.
📷
3 Capture Modes
Viewport/full-page PNG, multi-page PDF, and targeted element screenshots via CSS selector.
🌙
Dark Mode & Retina
Emulate prefers-color-scheme: dark and capture at 2× or 3× device pixel ratio.
⏳
JS Render Delay
Wait up to 30 seconds after page load for SPAs and lazy-loaded content to render.
3
API Endpoints
3840px
Max Viewport Width
3×
Retina Scale Factor
JSON
Base64 Output
Start capturing webpages in minutes
One API key. 3 endpoints. PNG, PDF, and element screenshots.
Get Free API Key →