Release · July 2, 2026 · SnapshotFlow Team

Screenshot API for cURL is now available

Capture a website from the command line with one HTTP request. SnapshotFlow handles browser rendering, so shell scripts and CI runners need only cURL.

One command, one output file

Send the API key in the X-Api-Key header, pass the target URL as a query parameter, and stream the response directly to disk.

curl --fail-with-body \
  --get 'https://api.snapshotflow.com/screenshot' \
  --header "X-Api-Key: $SNAPSHOTFLOW_API_KEY" \
  --data-urlencode 'url=https://example.com' \
  --data 'format=png' \
  --output screenshot.png

What the cURL workflow supports

Choose PNG, JPEG, WebP, or PDF output without installing Chrome, Playwright, or a font stack on the machine running the command.

  • Page controls: full-page capture, dark mode, retina output, ad blocking, and element capture.
  • Automation: use the same command in bash scripts, scheduled cron jobs, and CI pipelines.
  • Operational recipes: the guide covers batches, content extraction, retries, and error handling.

Built for shell automation

Archive a page from cron, collect visual evidence after a deployment, generate PDFs in CI, or loop over a URL list in bash. The browser runs on SnapshotFlow infrastructure while cURL receives the finished file.

Copy the complete recipes

The free tier includes 300 screenshots for the lifetime of the account, with no credit card required.

Read the cURL guide
All news