1. Services
  2. Screenshot

Website screenshot API

Get a PNG, JPEG or WebP of any public web page. Handy for link previews, reports and visual checks.

GET /v1/screenshot5 creditsAbout $0.005

Try it

GET/v1/screenshot
curl 'https://api.apifor.dev/v1/screenshot?url=https://en.wikipedia.org/wiki/Tide_table&response=json' \
  -H 'x-api-key: YOUR_API_KEY'

The default response is the image itself. Add response=json to get base64 in the usual envelope, as below.

Example response · 200
{
  "success": true,
  "data": {
    "url": "https://en.wikipedia.org/wiki/Tide_table",
    "final_url": "https://en.wikipedia.org/wiki/Tide_table",
    "format": "png",
    "content_type": "image/png",
    "width": 1280,
    "height": 800,
    "full_page": false,
    "bytes": 182344,
    "image_base64": "iVBORw0KGgoAAAANSUhEUgAABQAAAAMgCAIAAAD...",
    "taken_at": "2026-11-28T15:50:12.410Z"
  }
}

A real response from our OpenAPI file, with long lists and strings shortened.

Endpoints and price

EndpointCreditsAbout
GET /v1/screenshot5 credits$0.005

USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.

Limits

  • 320 to 3840 px wide, 200 to 2160 px tall. Full page cuts at 16,000 px.
  • 15 seconds to load, images up to 15 MB.
  • If the browser pool is full you get 503 BROWSER_BUSY. Retry after a few seconds.
  • Nothing is stored.

Questions

Can I get JSON instead of the image?

Yes. Add response=json and the image comes back as base64 with its size and format.

Can I capture the dark version of a site?

Add dark=true. We ask the page for its dark color scheme, which works when the site supports it.

Do you keep a copy?

No. Each request gets its own browser, which is closed afterwards.

Other services