Screenshot API

Any URL.
Instant Screenshot.

Capture full-page screenshots of any website with a single HTTP request. PNG, JPG, or WebP — your choice.

Coming soon — not yet available

The Screenshot API is in development. The endpoint and parameters below describe the planned interface and do not work yet. Join the list and we'll email you the moment it ships.

GET https://corsproxy.io/?action=screenshot&output=png&url=https://example.com
Planned interface — this request is not live yet.
<2s
Median capture time
3
Output formats (PNG, JPG, WebP)
330+
Global edge locations
99.9%
Uptime SLA
API Reference

Query Parameters

action required
screenshot

Triggers screenshot mode. Must be set to screenshot.

url required
https://example.com

Target URL to capture. Must be URL-encoded.

output optional
png | jpg | webp

Output image format. Defaults to png.

key required
YOUR_API_KEY

Your CORSPROXY API key. Required for all requests.

Open Graph Images

Auto-generate OG preview images for blog posts and landing pages without a design tool.

Website Thumbnails

Generate live thumbnail previews for link sharing, dashboards, and bookmark managers.

Content Moderation

Snapshot third-party pages for visual review, compliance archiving, and evidence capture.

Visual Regression Testing

Capture before/after screenshots of your app during CI/CD deploys to catch visual regressions.

Social Media Previews

Snapshot competitor pages, campaign landing pages, or any URL for social media reports.

PDF & Report Generation

Combine screenshots into automated visual reports for clients, analytics, or monitoring dashboards.

Code Examples

Ready to Copy

Browser / JavaScript Fetch as Blob
const url = 'https://corsproxy.io/' +
  '?key=YOUR_API_KEY' +
  '&action=screenshot' +
  '&output=png' +
  '&url=' + encodeURIComponent('https://example.com');

const res = await fetch(url);
const blob = await res.blob();
const img = URL.createObjectURL(blob);
cURL CLI / Shell
curl "https://corsproxy.io/?key=YOUR_API_KEY&action=screenshot&output=png&url=https%3A%2F%2Fexample.com" \
  --output screenshot.png
Node.js OG Image Generator
// Generate Open Graph preview images
import fs from 'fs';

const params = new URLSearchParams({
  key: process.env.CORSPROXY_KEY,
  action: 'screenshot',
  output: 'webp',
  url: 'https://your-blog.com/posts/my-post',
});

const res = await fetch(`https://corsproxy.io/?${params}`);
fs.writeFileSync('og-image.webp', Buffer.from(await res.arrayBuffer()));

Start for free

Screenshots, once it ships.

The Screenshot API is still in development. Tell us you want it and we'll email you the moment it goes live.