Website Screenshot API for developers who just need the capture layer
Capture public URLs as PNG or JPEG without running browser infrastructure. Scrnpix handles rendering, caching, and delivery so your app only has to call the API and use the returned image.
Good fit
- Generating screenshots for docs, product previews, and internal tooling.
- Capturing public marketing pages, changelogs, landing pages, and knowledge-base articles.
- Adding screenshots to automation workflows without maintaining Playwright or Puppeteer infrastructure.
Not a fit
- Logged-in or authenticated pages that require a user session.
- Approval workflows, diff dashboards, or full visual-review platforms.
- Social-card image generation workflows that need a dedicated image templating product.
Code example
The integration surface stays small on purpose: one endpoint, one key header, and a few predictable parameters.
curl "https://api.scrnpix.com/screenshot?url=https%3A%2F%2Fexample.com&width=1280&height=720&format=png" \ -H "X-KEY: your-api-key" \ -o website-screenshot.png
Supported parameters
url
https://example.comThe public URL to capture.
width
1280Viewport width in pixels.
height
720Viewport height in pixels.
format
pngUse `png` for lossless capture or `jpeg` for smaller files.
full_page
falseSet to `true` when you need the full scrollable page instead of the initial viewport.
Sample output
- Returns image bytes directly as `image/png` or `image/jpeg`.
- Returns `X-Credit-Cost` header so you can track exact credit usage per request. Screenshots cost 1 credit; animations cost 1 credit per second of duration.
- Includes cache-friendly responses so repeated captures of the same public URL are cheaper to handle downstream.
Known boundaries
- Scrnpix captures public URLs only. If a page needs login, you need your own authenticated browser flow before capture.
- Cookie banners, chat widgets, and other public overlays appear exactly as a normal visitor would see them.
- This page is about screenshot capture, not dynamic OG image generation or social-card composition.
Pricing examples
Scrnpix charges in credits. Screenshots cost 1 credit. Animations cost 1 credit per second of GIF duration (minimum 1).
Free
50 credits per month to prove the integration before you commit.
Basic
2,000 credits per month for lightweight preview, docs, and ops workflows.
Growth
10,000 credits per month for recurring product and monitoring jobs.
Frequently asked questions
What makes this different from running Playwright myself?
Scrnpix removes the browser lifecycle and scaling work. You make a single API call and receive the image, instead of provisioning and maintaining browser infrastructure.
Can I capture authenticated pages?
Not with the hosted API alone. Scrnpix is designed for public URLs, so logged-in flows still need your own browser automation layer.
Is this a good fit for image preview generation inside my app?
Yes, if the preview comes from a public URL and you need an actual rendered screenshot instead of a custom image template.
Get an API key and test the flow end to end
Start with the free tier, verify the capture shape you need, then move up when the workflow becomes recurring.