Skip to content
AAPIScreenshot
DOCS/ Quickstart

GETTING STARTED

Quickstart

From zero to your first PNG in a few steps.

Prefer no code? Try it now in the Playground (no code) → It mints a key for you and captures a screenshot right in the browser.

  1. Sign up — you get 100 free screenshots to start, no card.
  2. Confirm your email — we send a verification link the moment you sign up. Click it to activate your account; you can't create a key or capture a screenshot until your email is verified.
  3. Create an API key in Dashboard → API keys. It's shown once at creation, so copy it somewhere safe.
  4. Capture your first screenshot with the snippet below.

Take your first screenshot

Send a POST to /v1/screenshot with a Bearer token and a JSON body. The response is the image — write it straight to a file:

curl https://api.apiscreenshot.com/v1/screenshot \
  -H "Authorization: Bearer sk_live_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://example.com" }' \
  -o screenshot.png

Replace sk_live_YOUR_KEY_HERE with the key from your dashboard. The cURL -o screenshot.png flag writes the bytes to a file instead of printing them to your terminal.

What you get back

A 200 with content-type: image/png and the PNG bytes as the body. Each successful capture costs one credit. If something goes wrong you'll get a JSON error instead — see Errors for the full list.

From here, learn how to authenticate, see every capture option in the screenshot endpoint reference, or let an AI agent drive it via the MCP server.