Website screenshot & link preview API
Screenshots of any site. Billed only when they're usable.
Send a URL, get back a clean capture with cookie banners rejected and ads blocked. Bot challenges, blank renders and cookie walls are caught before they reach your bill.
$ curl "https://api.shotfly.dev/v1/screenshot\
?url=https://shop.example/sale&full_page=true&format=webp" \
-H "Authorization: Bearer $SHOTFLY_SECRET_KEY" -o sale.webp< HTTP/2 200 < content-type: image/webp < x-render-outcome: ok < x-credits-charged: 1
Recent requests · UTC
Fair billing
Every render gets a verdict. One of them costs a credit.
We read the page and the pixels of every capture. Challenge pages, blank renders, HTTP errors and cookie walls we could not remove are returned as errors and never charged. Each response tells you what happened in X-Render-Outcome and X-Credits-Charged.
Charged for a capture that is still unusable? Report it from the dashboard or with POST /v1/reports. Approved reports are refunded.
| Verdict | Returned as | Credits |
|---|---|---|
| ok | 200 · image | 1 |
| challenge | 422 · target_blocked | 0 |
| blank | 422 · blank_page | 0 |
| http_error | 422 · target_http_error | 0 |
| cookie_wall | 422 · cookie_wall | 0 |
| timeout | 504 · render_timeout | 0 |
| infra_error | 502 · render_failed | 0 |
| ok, from cache | 200 · X-Cache: HIT | 0 |
Everything is a query parameter.
Website screenshotsAny public page as an image or PDF, viewport or full page.
Link previewsA thumbnail plus title, description and og:image for pasted URLs.
Change monitoringScheduled captures, pixel and text diffs, signed webhooks and archives.
AI agentsAn MCP server and page Markdown, so agents see clean pages.Real captures of public pages, rendered by Shotfly on 2026-11-30 UTC. The sites shown are not affiliated with Shotfly.
block_cookie_banners=trueCookie banners rejected, not accepted
Consent dialogs are dismissed with the reject option where one exists, otherwise hidden. We never click accept on your behalf.
escalation=auto&max_credits=5Hard sites, priced up front
Stealth rendering is included. The premium anti-bot tier is opt-in, and max_credits caps the most a single request can cost.
signature=…&expires=…Signed URLs for og:image
Sign the parameters with your secret and put the URL straight into <img> or og:image. Signed responses are cacheable by browsers and CDNs.
full_page=true&device=iphone_15Full page, devices, PDF
PNG, JPEG, WebP or PDF. Lazy content scrolled into view, device presets, dark mode, element and clip capture.
response_type=jsonLink previews in one call
Title, description, Open Graph image and favicon come back alongside a link to the thumbnail.
mcp · take_screenshotReady for AI agents
An MCP server gives agents a take_screenshot tool that returns the image with its metadata and the credits it used.
curl "https://api.shotfly.dev/v1/screenshot\
?url=https://example.com\
&full_page=true&format=webp" \
-H "Authorization: Bearer $SHOTFLY_SECRET_KEY" \
-o example.webpOne GET request. Headers that tell the truth.
- X-Render-Outcome
- The verdict for this capture.
- X-Credits-Charged
- What this request actually cost.
- X-Cache
- Whether it came from cache, which is free.
- X-Request-Id
- Quote it to support or in a report.
- RateLimit-*
- Your remaining budget for this minute.
One credit, one usable screenshot.
Prices in USD, billed monthly. Review the total before confirming payment.
Starter
$9 /mo
- 2,000 credits / month · $4.50 per 1k
- 5 concurrent · 60 req/min
- 5 monitors, hourly
Growth
$29 /mo
- 10,000 credits / month · $2.90 per 1k
- 10 concurrent · 120 req/min
- 25 monitors, every 15 min
Pro
$99 /mo
- 50,000 credits / month · $1.98 per 1k
- 25 concurrent · 300 req/min
- 100 monitors, every 5 min
Credits per request
- Standard and stealth rendering — 1
- Specific exit country (
geo) — +2 - Premium anti-bot tier, only when it is the tier that succeeded — 5 in total
Never charged
Failed or timed-out renders, bot challenges, blank pages, HTTP errors, cookie walls we could not remove, and cache hits.
What counts as a usable screenshot?
Every capture gets a verdict, and only ok costs credits. Bot challenges, blank renders, HTTP errors and cookie walls we could not remove come back as errors and are never charged. The X-Render-Outcome header tells you which verdict you got.
How many credits does a screenshot cost?
1 credit. Asking for a specific exit country adds 2. A result from the premium anti-bot tier costs 5 credits in total; that tier is opt-in, and max_credits caps what a single request can cost. Results served from cache are free.
What happens when I run out of credits?
Requests return 402 quota_exceeded until your next billing period starts. Move to a larger plan to keep going right away; see pricing.
What if I am charged for a capture that is still unusable?
Report it from the dashboard or with POST /v1/reports. Approved reports are refunded.
Do you accept cookie banners for me?
No. Consent dialogs are dismissed with the reject option where one exists, otherwise hidden. This is on by default; send block_cookie_banners=false to turn it off.
Can I capture pages behind a login?
Yes. Pass the session with the cookies or headers parameter; see the parameter reference.
Can I put the image URL straight into og:image?
Yes. Sign the parameters with your secret and send them with a pk_ key. A signed URL works in <img src> and og:image without exposing your secret, and browsers and CDNs can cache it; see signed URLs.
Is there a free plan?
Yes. Free includes 100 credits a month at up to 20 requests a minute, and failed captures never use them.
Point it at the hardest page you have.
If we can't capture it, it costs you nothing.
Get a free API key