Capture high-quality screenshots of any website with a simple API call. Built for developers who need reliability, speed, and scale.
GET /v1/screenshot
?url=https://example.com
&width=1280
&height=720
&format=png
This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.
More information...
Powerful features designed for modern development workflows
Powered by Cloudflare's global edge network with intelligent caching for sub-100ms response times.
Capture screenshots at any resolution. Perfect for responsive design testing and thumbnail generation.
API key authentication, HTTPS everywhere, and secure infrastructure you can trust.
Automatic caching reduces costs and improves performance. Configure TTL per request.
Simple REST API with comprehensive documentation. Get started in minutes, not hours.
Export as PNG, JPEG, or WebP. Optimize for quality or file size based on your needs.
Start free, scale as you grow. No hidden fees.
Perfect for testing and small projects
For growing applications
For professional teams
For large scale operations
Get your first screenshot in under a minute
Sign up for a free account to get your API key instantly.
Use any HTTP client to capture screenshots.
Use our API in your application and scale effortlessly.
# Capture a screenshot
curl -X GET "https://screenshot-api.kawahagi0620.workers.dev/v1/screenshot" \
-H "Authorization: Bearer YOUR_API_KEY" \
-G \
--data-urlencode "url=https://example.com" \
--data-urlencode "width=1280" \
--data-urlencode "height=720" \
--output screenshot.png
const fetch = require('node-fetch');
const fs = require('fs');
const params = new URLSearchParams({
url: 'https://example.com',
width: '1280',
height: '720'
});
const response = await fetch(
`https://screenshot-api.kawahagi0620.workers.dev/v1/screenshot?${params}`,
{ headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
);
fs.writeFileSync('screenshot.png', Buffer.from(await response.arrayBuffer()));
import requests
response = requests.get(
"https://screenshot-api.kawahagi0620.workers.dev/v1/screenshot",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={
"url": "https://example.com",
"width": 1280,
"height": 720
}
)
with open("screenshot.png", "wb") as f:
f.write(response.content)
| Parameter | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | The URL of the website to capture |
width |
number | No | Viewport width (default: 1280) |
height |
number | No | Viewport height (default: 720) |
format |
string | No | Image format: png, jpeg, webp (default: png) |
quality |
number | No | Image quality 1-100 (default: 80) |
fullPage |
boolean | No | Capture full page (default: false) |
delay |
number | No | Wait time in ms before capture |
Join developers worldwide using ScreenshotAPI to power their applications.
Create Free Account