/v1/screenshot

Screenshot API —
Pixel-Perfect Web Captures

Capture any webpage as PNG or JPEG. Custom viewports, full-page scroll, JavaScript rendering, and quality control — all in one API call.

Features

Everything you need
from a screenshot API.

01

PNG & JPEG output

Choose your format. Control JPEG quality from 1-100. PNG for pixel-perfect captures, JPEG for smaller file sizes.

02

Any viewport

Set exact width and height in pixels. Desktop, mobile, tablet — render at the dimensions you need.

03

Full-page capture

Set full_page: true to scroll the entire page and stitch a single image. Handles lazy-loaded content automatically.

04

Quality control

Adjust JPEG compression, set device scale factor for retina captures, and add wait delays for dynamic content.

Integration

One POST request.

No SDK, no headless browser to manage. Just an HTTP call.

/screenshot
curl -X POST https://api.snaprender.dev/v1/screenshot \
  -H "x-api-key: sr_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "width": 1280,
    "height": 720,
    "full_page": false,
    "format": "png"
  }' --output screenshot.png
Use cases

Built for real workflows.

1

OG image generation

Generate social preview images for blog posts, product pages, or user profiles. Render a template URL and capture the result — no Puppeteer server to maintain.

2

Visual monitoring

Capture daily screenshots of competitor pages, your own staging environment, or any URL. Diff against previous captures to detect changes automatically.

3

Automated testing

Visual regression testing without running a local browser. Capture screenshots across viewports and compare against baselines in your CI pipeline.

4

Web archiving

Archive webpages as high-fidelity images. Full-page captures preserve the exact visual state — layout, fonts, images, and dynamic content included.

$0.006 per screenshot.

No credit multipliers. A screenshot costs the same whether it's a simple page or a full-page scroll capture. Start free with 100 requests/month.

Questions & answers

PNG and JPEG. You can control JPEG quality with the quality parameter (1-100). PNG is the default for pixel-perfect captures.

Yes. Set full_page: true and SnapRender will scroll the entire page and stitch a single image. Works with lazy-loaded content and infinite scroll.

Any width and height you specify. Common presets: 1280x720 (desktop), 375x812 (iPhone), 768x1024 (tablet). The browser renders at the exact dimensions you request.

Yes. SnapRender uses a real Chromium browser. SPAs, React apps, dynamic content — everything renders exactly as a user would see it.

Yes. Add use_flaresolverr: true to your request and SnapRender handles Cloudflare anti-bot challenges automatically before capturing.