Screenshot API

Capture screenshots of any URL via REST API. Full page, custom viewport, dark mode support.

<3s
Avg Response
Full Page Support
2
Formats (PNG & PDF)

How It Works

Step 1
Enter URL
Provide the URL of the page you want to capture
Step 2
Set Options
Choose viewport size, format, and other settings
Step 3
Get Screenshot
Receive the screenshot as PNG or PDF

Playground

Enter a URL and click Capture

API Documentation

Base URL
https://screenshot-proxy.vercel.app
Authentication
X-API-Key: your_key (header) or ?key=your_key (query) Get your free key below
POST /api/screenshot

Capture a screenshot of a given URL. Returns binary image (PNG) or PDF.

Request (JSON body)

ParameterTypeRequiredDescription
url string yes URL of the page to capture
width int no Viewport width in pixels. Default: 1280
height int no Viewport height in pixels. Default: 720
full_page bool no Capture the full scrollable page. Default: false
format string no Output format: png, pdf. Default: png
delay int no Wait time in ms before capture. Default: 0
dark_mode bool no Enable dark mode (prefers-color-scheme: dark). Default: false

Response

Body
Binary image/png or application/pdf
Headers
X-File-Size — file size in bytes
X-Screenshot-Width — screenshot width in pixels
X-Screenshot-Height — screenshot height in pixels

Error Responses

// 400 — Bad Request
{ "error": "Invalid URL or parameters" }

// 401 — Unauthorized
{ "error": "Invalid API key" }

// 429 — Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }

Get API Key

Get a free API key for 6 requests/day. No credit card required.

Usage

  • Add header: X-API-Key: your_key
  • Or query param: ?key=your_key

Limits

  • Playground (no key): 3 req/day
  • Free tier (with key): 6 req/day
  • Paid plans: see pricing below

Pricing

Start free. Pay only when you need more.

Free
$0
  • 6 requests/day
  • Max 1280px viewport
  • PNG only
  • Basic capture
Starter
🚀 Launch Price
$19$9/mo
  • 200 requests/day
  • Up to 1920px viewport
  • PNG + PDF output
  • Full page capture
Business
🚀 Launch Price
$149$79/mo
  • 5,000 requests/day
  • All features
  • Priority support
  • Custom viewport