Screenshot API
One JSON request, a finished image back. We run Chromium on our servers so you do not run it on yours - no Playwright install, no browser pool, no 3am memory leak in a container you forgot about.
One request
This is the whole integration. There is no SDK you have to use and no client library to keep current:
curl -X POST https://api.getsnap.dev/v1/screenshot \
-H "x-api-key: $GETSNAP_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "full_page": true, "format": "png"}'
You get the image bytes back. Cookie banners and ad frames are
removed before the shot is taken - remove_popups and
block_ads default to on, because a screenshot with a
consent dialog across it is not a screenshot of anything —
how that works,
and where it loses.
Pick your language
Each guide is the same API with working code, error handling and the rate limits spelled out - not a one-line snippet that falls over the first time a page is slow.
Node.js
fetch and axios, streaming the result straight to S3.
Python
requests and httpx, with retries that respect 429.
Go
net/http, context deadlines and typed errors.
PHP
Guzzle and plain cURL, Laravel-friendly.
Ruby
Net::HTTP and Faraday, Rails-friendly.
Java
java.net.http, no external dependency needed.
C#
HttpClient with cancellation and typed responses.
What it can return
| Option | Values | Notes |
|---|---|---|
format | png, jpg, jpeg, webp, avif, pdf | Same endpoint for all of them |
full_page | true / false | The whole scrollable page, not just the viewport |
device | desktop, mobile, tablet | Real viewport and user agent, not a resize |
selector | any CSS selector | Capture one element; a selector that matches nothing is a 400, not a 500 |
cookies, headers | your own | Capture pages behind a login |
The full list is in the API reference, and code examples covers cURL plus seven languages.
What it costs
100 captures a month free, at 5 requests a minute, with no credit card. Paid plans start at $9 a month for 5,000 captures at 30 requests a minute. Every feature is on every plan - full-page capture, PDFs, scheduling, webhooks and the MCP server are not held back for an enterprise tier. See how that compares with Urlbox and ScreenshotOne.
More than one picture
The same account and the same key reach the rest of it:
- Scrolling video - record a page scrolling itself as MP4 or GIF.
- HTML to PDF - page ranges, headers, footers and metadata.
- Visual diff - compare two captures and get the overlay.
- Scheduled captures - a cron for screenshots, delivered by webhook.
- MCP server - let Claude, Cursor or VS Code take the screenshot themselves.
Frequently asked questions
What is a screenshot API?
An HTTP endpoint that renders a web page in a real browser on a server and hands back an image or PDF. You send a URL and a few options. The browser, its dependencies, its crashes and its memory are someone else's problem.
Do I need to install Playwright or Puppeteer?
No. Chromium runs on our side and you get a finished file. If you would rather run it yourself, we wrote up when that is the better call - it genuinely sometimes is.
Is there a free tier?
100 captures a month at 5 requests a minute, no card. Enough to put it in a real project and find out whether it holds up.
Which image formats can it return?
PNG, JPEG, WebP, AVIF and PDF from the same endpoint. Scrolling video is a separate one.
Try it without signing up
Paste a URL into the free tool and see the output first.
Open the free screenshot tool