Screenshot & PDF API
for Developers
Generate pixel-perfect screenshots and PDFs from any URL in milliseconds. Simple API, predictable pricing, zero configuration.
// Generate a screenshot in two lines const response = await fetch('https://api.snapapi.io/screenshot', { method: 'POST', headers: { 'X-API-Key': 'your_key_here' }, body: JSON.stringify({ url: 'https://example.com' }) }); const imageBuffer = await response.buffer();
Try It Live
Enter any URL and see a screenshot generated in real-time. No signup required.
Why Developers Choose SnapAPI
Fast & Reliable
Average response time under 2 seconds. 99.9% uptime SLA. Distributed infrastructure across multiple regions.
Secure by Default
API key authentication, rate limiting, and request validation built-in. Your data never leaves our servers.
Usage Analytics
Real-time dashboard showing requests, errors, and quota usage. Export data via API for custom reporting.
Simple, Predictable Pricing
Starter
$29/mo
For side projects and MVPs
- 5,000 requests/month
- 100 requests/hour
- 48-hour support
- PNG & JPEG formats
Most Popular
Pro
$79/mo
For growing products
- 100,000 requests/month
- 1,000 requests/hour
- 24-hour support
- All formats + PDF
- Custom viewports
Business
$199/mo
For high-volume production apps
- 1M requests/month
- 10,000 requests/hour
- Priority support
- Custom contracts
- Dedicated infrastructure
API Documentation
Two endpoints. Infinite possibilities.
POST
/api/screenshot
Capture a screenshot of any webpage. Returns an image buffer.
Request Body
{
"url": "https://example.com",
"fullPage": false,
"width": 1920,
"height": 1080,
"format": "png"
}
Headers
X-API-Key: sk_your_api_key_here Content-Type: application/json
POST
/api/pdf
Convert any URL or HTML to PDF. Returns a PDF buffer.
Request Body
{
"url": "https://example.com",
"format": "A4",
"landscape": false
}
Alternative: HTML Input
{
"html": "<h1>Hello World</h1>",
"format": "A4"
}