Screenshot API

The screenshot API for developers

Convert any website into a high-quality image with one HTTP request. Snapraven runs and scales the headless browsers for you — no Puppeteer servers, memory leaks, or DevOps to manage.

Quickstart

One GET request returns the image. That's the whole integration.

curl -H "x-api-key: sr_live_..." \
  "https://api.snapraven.app/v1/screenshot?url=https://stripe.com&fullPage=true" \
  --output screenshot.png

Parameters

ParameterDescription
url Required. The page to capture (must include http/https).
width Viewport width in pixels. Default 1280.
height Viewport height in pixels. Default 800.
fullPage Capture the entire scrollable page. Default false.
format png or jpeg. Default png.

Use it from your stack

Guides for popular frameworks and tools:

FAQ

How does the screenshot API work?

You send a GET request with the target URL and your API key. We render the page in a real headless Chromium browser and return the image as binary PNG or JPEG.

Can I capture full-page screenshots?

Yes. Add fullPage=true and we capture the entire scrollable height, not just the viewport.

Do you support custom viewport sizes?

Yes. Pass width and height to control the rendered viewport, including mobile and retina dimensions.

Is it secure?

Requests to internal and private hosts are blocked, and adult/unsafe domains are rejected by default.

Capture your first screenshot now

Get your free API key