Screenshot Happy
Website screenshot API (PNG/JPEG/PDF) with full-page capture and visual-diff monitors

Create pixel-perfect website screenshots.
ScreenshotAPI.net API is a free Development API that requires apiKey authentication, is served over HTTPS and supports CORS, so it can be called from the browser.
Capture viewport or full page screenshots of any website with one API call. PNG, JPG, WebP, PDF. Blocks ads and cookie banners. No credit card required.
Details from screenshotapi.net.

Unified API suite · now live
Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.
Website screenshot API (PNG/JPEG/PDF) with full-page capture and visual-diff monitors
Lightweight event routing and webhook fan-out API alternative to Segment
The ScreenshotAPI.net API is provided by ScreenshotAPI.net (screenshotapi.net). Capture viewport or full page screenshots of any website with one API call. PNG, JPG, WebP, PDF. Blocks ads and cookie banners. No credit card required.
Yes. The ScreenshotAPI.net API is listed in the Development category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.
Yes. The ScreenshotAPI.net API uses apiKey authentication, so you need to register for credentials before making requests.
Yes. The ScreenshotAPI.net API supports CORS, so front-end JavaScript can call it directly.
Yes. The ScreenshotAPI.net API is served over HTTPS, so it's safe to use in production.