Free beta · 50 credits included

Website screenshots without running browsers yourself.

PreviewAPI captures clean website screenshots through a simple developer API. Submit a URL, poll the job, and get a hosted image URL.

No frontend needed. Just send a URL and get an image.

POST /api/v1/screenshots
# request
{
  "url": "https://example.com",
  "mode": "viewport",
  "width": 1280,
  "height": 800,
  "format": "png"
}
202 · queued
{
  "success": true,
  "job_uuid": "a818dd25-d93e-4148-8aed…",
  "status": "queued"
}
How it works

Three calls, one image.

01

Send URL

POST a URL with viewport, size, and format options. The job is queued instantly and returns a UUID.

02

Poll job status

Check the status URL until the job moves from queued to processing to completed. Most jobs finish in seconds.

03

Use image URL

The completed job returns a hosted image URL. Embed it, store it, or serve it straight to your users.

API example

One request. One credit. One image.

Authenticate with a bearer key, post a URL, and poll the returned status URL. Every response is plain JSON — no SDKs required, any language works.

  • Viewport or full-page capture
  • PNG, JPEG, or WebP output
  • Hosted image URLs, ready to embed
curl
curl -X POST "https://api.previewapi.dev/api/v1/screenshots" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "url": "https://example.com",
    "mode": "viewport",
    "width": 1280,
    "height": 800,
    "format": "png"
  }'
response · 202
{
  "success": true,
  "job_uuid": "a818dd25-d93e-4148-8aed-9ebb109ceeda",
  "status": "queued",
  "status_url": "/api/v1/screenshots/a818dd25-d93e-4148-8aed-9ebb109ceeda"
}

Beta: direct API access is not open yet. Captures run from the dashboard, and API keys do not authenticate anything, so the request above is the interface we are opening next rather than one you can call today.

Use cases

Anywhere a URL needs to become an image.

Website previews

Thumbnail cards for links, directories, and bookmarking tools.

Automated reports

Capture dashboards and pages on a schedule for PDFs and emails.

Social sharing images

Generate og:image previews from live pages instead of templates.

QA snapshots

Snapshot deployments and staging URLs as part of your pipeline.

Visual checks

Verify pages render correctly after releases or content changes.

URL-to-image tools

Build your own capture product on top of a stable jobs API.

Features

The boring parts, already built.

Full screenshot job history

Every job with status, timing, size, and credits — searchable and filterable.

Hosted image URLs

Completed screenshots are stored and served from a stable URL.

Credit-based billing

Buy packs, not subscriptions. 1 completed screenshot = 1 credit.

Simple API keys

Named keys with prefixes and one-click revoke, ready for the day direct API access opens.

Dashboard for developers

Submit jobs, watch them process live, and copy image URLs.

PayPal payments

Credit packs are bought from the dashboard with PayPal. No subscription, no card on file.

Pricing

Credit packs. No subscriptions.

View full pricing →
Free beta
$0
50 credits
Starter
$5
500 credits
Builder
$10
1,200 credits
Growth
$25
3,500 credits
Pro
$49
8,000 credits
Business
$99
20,000 credits
1 completed screenshot = 1 creditFailed jobs do not consume credits during betaCredits do not expire during beta

Start capturing website previews in minutes.

50 free credits during beta. No card required.