Screenshot & PDF API
for Developers

Convert any URL to a pixel-perfect screenshot or PDF in a single API call. No browser needed.

Start for Free View Docs
# Screenshot any URL
curl "https://urlsnap.dev/api/screenshot?url=https://example.com" \
  -H "x-api-key: your_key" \
  --output screenshot.png

# Or generate a PDF
curl "https://urlsnap.dev/api/pdf?url=https://example.com" \
  -H "x-api-key: your_key" \
  --output page.pdf

Everything you need

📸

Screenshots

Full-page or viewport screenshots. PNG or JPEG. Custom width & height. Delay support for JS-heavy pages.

📄

PDF Generation

Convert URLs or raw HTML to PDF. A4, Letter, and more. Custom margins, landscape mode.

Fast & Reliable

Headless Chromium under the hood. Real browser rendering. No layout surprises.

🔑

Simple Auth

Just pass your API key as a header. No OAuth, no complex setup. Works with curl, fetch, anything.

📊

Usage Tracking

See your daily and total request counts via the /api/me endpoint. Know exactly where you stand.

🆓

Free Tier

20 requests/day free forever. No credit card required to get started.

Simple pricing

Free

$0/mo
  • 20 requests/day
  • Screenshots & PDFs
  • PNG & JPEG output
  • Community support
Get Started

Pro

$29/mo
  • 5,000 requests/day
  • All features
  • Priority support
  • SLA guarantee
Get Started

Quick Reference

# GET /api/screenshot
?url=https://example.com # required
?width=1280 # viewport width (default: 1280)
?height=800 # viewport height (default: 800)
?format=png # png or jpeg
?full_page=true # full page screenshot
?delay=1000 # wait ms before capture

# GET /api/pdf
?url=https://example.com # required
?format=A4 # A4, Letter, A3...
?landscape=false # landscape mode

# POST /api/pdf (HTML to PDF)
Content-Type: application/json
{"html": "<h1>Hello</h1>", "format": "A4"}

# GET /api/me (check usage)
Returns: plan, requests_today, daily_limit, requests_total

Get your free API key

No credit card required. 20 requests/day free forever.