Shotfly

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.

~/app
$ 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

14:02:11shop.example/saleok1 cr
14:02:09news.example/todaytarget_blocked0 cr
14:01:58docs.exampleok · cache0 cr
14:01:40app.example/loginblank_page0 cr
14:01:22store.example/eucookie_wall0 cr

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.

VerdictReturned asCredits
ok200 · image1
challenge422 · target_blocked0
blank422 · blank_page0
http_error422 · target_http_error0
cookie_wall422 · cookie_wall0
timeout504 · render_timeout0
infra_error502 · render_failed0
ok, from cache200 · X-Cache: HIT0
block_cookie_banners=true

Cookie 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=5

Hard 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_15

Full page, devices, PDF

PNG, JPEG, WebP or PDF. Lazy content scrolled into view, device presets, dark mode, element and clip capture.

response_type=json

Link previews in one call

Title, description, Open Graph image and favicon come back alongside a link to the thumbnail.

mcp · take_screenshot

Ready 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.webp

One 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.
Full parameter reference

One credit, one usable screenshot.

Prices in USD, billed monthly. Review the total before confirming payment.

Free

$0 /mo

  • 100 credits / month
  • 2 concurrent · 20 req/min
  • 1 monitor, daily
Start free

Starter

$9 /mo

  • 2,000 credits / month · $4.50 per 1k
  • 5 concurrent · 60 req/min
  • 5 monitors, hourly
Choose Starter

Growth

$29 /mo

  • 10,000 credits / month · $2.90 per 1k
  • 10 concurrent · 120 req/min
  • 25 monitors, every 15 min
Choose Growth

Pro

$99 /mo

  • 50,000 credits / month · $1.98 per 1k
  • 25 concurrent · 300 req/min
  • 100 monitors, every 5 min
Choose Pro

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.

FAQ

Questions, answered.

Everything else is in the docs.

Read the docs

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