Convert any URL or HTML content into a high-quality PNG screenshot in one API call. Set custom viewport dimensions, capture full-page layouts, and automate visual testing, reporting, and archiving workflows.
PNG
Output
Full Page
Capture
Any URL
Input
Live Screenshot Demo
Screenshot preview will appear here
CAPABILITIES
Built for visual testing, report generation, content archiving, and any workflow where a rendered page image is more useful than raw HTML.
Capture the complete rendered page including content below the fold — not just the visible viewport. Returns the full-length PNG so nothing is cropped.
Set width and height to simulate desktop, tablet, or mobile viewports. Useful for responsive design testing, visual regression, and device-specific report generation.
Pass a public URL or raw HTML string. The API renders both in a headless browser so you can screenshot live pages and locally generated markup without hosting anything.
Returns a binary PNG image ready for storage, display, or further processing. Suitable for document pipelines, thumbnail generation, and visual archiving.
The API uses a headless browser to render pages including JavaScript-heavy sites. No need to run Puppeteer, Playwright, or a browser fleet in your own infrastructure.
Send a POST request with the URL and optional config, receive the PNG binary in the response. No SDK required — integrate from any language or automation tool.
WHERE TO USE ScreenShot API
Web Scraping API can be used in the a regression testing validation to your CI/CD testing pipeline.
Web Scraping helps you to gather data for testing / training your Machine Learning models.
A Web Scraper helps you gather structured data from multiple sources in the Internet with ease.
HOW TO START?
Register Free (without providing Card Details) with an email and password.
Free SignUpTest & Integrate Simple, self-explanatory API's. Make use of the Free Code examples.
When you are ready to go live, purchase Pay As You Go API plans with a year validity.
FAQ
What input formats does the Screenshot API accept?
The API accepts a public URL or raw HTML string. For URLs, the API fetches and renders the page in a headless browser. For HTML, the markup is rendered directly without needing a live URL.
Does the API capture full-page screenshots or just the visible viewport?
The API can capture the full rendered page length, not just the visible viewport. This means content below the fold is included in the output PNG.
Can I set a custom viewport size?
Yes. You can specify the viewport width and height to simulate different device sizes. This is useful for responsive design testing, mobile-specific layouts, and generating previews for different screen resolutions.
What image format does the API return?
The API returns a binary PNG image in the response body. You can save it directly to storage, serve it via a CDN, display it in your application, or pass it into a document pipeline.
Does the API render JavaScript-heavy pages?
Yes. The API uses a headless browser to fully render pages including those that load content via JavaScript frameworks. Pages that require JS execution to display their content are handled correctly.
Can I use the API for visual regression testing?
Yes. Capturing screenshots of key pages before and after a deployment and comparing them programmatically is one of the primary use cases. The consistent rendering environment ensures reliable comparisons.
How do I get the screenshot into my application?
The response body is the raw PNG binary. Read the response as a blob (browser) or buffer (Node.js / server), then save it to disk, upload it to object storage, or convert it to a base64 data URL for immediate display.
Is the API easy to integrate without a browser automation library?
Yes. A simple POST request with the URL and optional config parameters is all that is needed. No Puppeteer, Playwright, or headless Chrome setup required on your end.