Screenshot API for Astro

Capturing website screenshots from Astro usually means running and scaling a headless browser yourself. With Snapraven you skip all of that — capture screenshots at build time for static cards and previews.

Example in Astro

const res = await fetch(
  `https://api.snapraven.app/v1/screenshot?url=${url}`,
  { headers: { 'x-api-key': import.meta.env.SHOTFORGE_KEY } }
);

That's the entire integration. Snapraven renders the page in a real Chromium browser and returns a PNG or JPEG. Add fullPage=true for the full scrollable page, or width/height for custom viewports.

Why developers use Snapraven with Astro

Other guides

Add screenshots to your Astro app today

Get your free API key