Home/Blog/Getting Started with SnapAPI: Your First Screenshot in 30 Seconds

Getting Started with SnapAPI: Your First Screenshot in 30 Seconds

October 12, 2025tutorials1 min read

Your First Screenshot

SnapAPI makes it incredibly simple to capture website screenshots programmatically. In this guide, you'll go from zero to your first screenshot in under 30 seconds.

Step 1: Get Your API Key

Head to the registration form and enter your email. You'll receive a free API key instantly. No credit card required. The free tier includes 100 screenshots per month.

Step 2: Make Your First Request

With your API key in hand, capture a screenshot using curl:

curl -H "Authorization: Bearer snap_your_key_here" \
  "https://apisnap.dev/api/screenshot?url=https://example.com" \
  -o screenshot.png

That's it. You now have a pixel-perfect PNG screenshot of example.com.

Step 3: Customize Your Screenshots

SnapAPI supports a range of parameters to fine-tune your captures. Try different formats (png, jpeg, pdf), viewport sizes (width, height), full-page capture (full_page=true), and dark mode (dark_mode=true).

# Full-page JPEG in dark mode at mobile width
curl -H "Authorization: Bearer snap_your_key" \
  "https://apisnap.dev/api/screenshot?url=https://github.com&format=jpeg&quality=85&width=375&height=812&dark_mode=true&full_page=true" \
  -o github-mobile-dark.jpg

Next Steps

Now that you've captured your first screenshot, explore the full API documentation to discover all available parameters. Check out our guides on programmatic screenshots and building link previews for real-world integration patterns.