How to generate website screenshots with an API

If you are looking for a practical way to generate website screenshots programmatically, this guide is for you. It explains why an external API is often a better fit than self-hosted libraries, and compares four APIs focused on screenshot generation.

The real tiny Doppio factory that creates one by one PDF documents from HTML files
Image

Urlbox

Urlbox is a REST API that offers both full-page and mobile website screenshots.
It includes features such as custom screenshot sizes and watermarks. Urlbox offers a short free trial, but no free plan. Pricing is higher than some of the alternatives in this comparison.

Pricing

$52 / month up to 10 000 screenshots (lowest plan), $82 / month up to 10 000 screenshots (biggest plan)
Image

URL or HTML input

Image

Popup and ads blocking

Image

Sync or async

Image

Upload to Amazon S3

Image

Images and PDF

Image

No free plan (only a free trial)

Image

Many limits depending on your plan (requests per minute, file size, render timeouts)

Image

The most complete plan is expensive

Image

Apiflash

Apiflash is an AWS Lambda-based API that offers full-page and mobile screenshots.
The free plan allows up to 100 screenshots per month, which is limited compared with Doppio. The Lite plan is inexpensive ($7 / month) but only includes 1,000 renders per month. Overall, the feature set is more limited than some alternatives in this comparison.

Pricing

$7 / month up to 1000 screenshots, $35 / month up to 10 000 screenshots
Image

Free plan (100 screenshots / month)

Image

Popup and ads blocking

Image

No PDF

Image

No async

Image

Can’t render HTML source, URL input only

Image

Upload to Amazon S3 is possible in a poorly secured way

Image

Screenshot API

Screenshot API allows you to take programmatic screenshots of any website with ease.
Screenshot API offers a 7-day free trial that lets you capture up to 100 screenshots, but it does not include a free plan. Each paid plan includes a screenshot quota, with an extra cost per screenshot if you exceed it.

Pricing

$9/month up to 1000 screenshots (+$0,009 per extra),  $29/month up to 10 000 screenshots (+$0,008 per extra)
Image

Images and PDF

Image

Popup and ads blocking

Image

No free plan (7-day free trial)

Image

No upload to Amazon S3

Image

No async

Image

Doppio

Doppio is our in-house API, which we created because nothing else sufficiently met our needs for screenshot and PDF generation.
Doppio supports both full-page and mobile screenshots, along with customization options such as device type and image format. It also supports asynchronous rendering and direct upload to your S3 bucket. In addition to image screenshots, Doppio can generate PDF files from either a URL or raw HTML input. Doppio includes a free tier with up to 400 screenshots per month. If you need more, paid plans remain accessible, and custom plans are available for specific needs.

Pricing

€14,90 / month (~$16,50) up to 4000 screenshots, €44,50 / month (~$50) up to 12 000 screenshots
Image

Images and PDF

Image

Upload to Amazon S3

Image

Sync or async

Image

URL or HTML input

Image

Free plan (400 screenshots / month)

Image

Responsive support

Image

No popup and ads blocking (yet)

Conclusion

There are several good APIs for website screenshots, and each one comes with trade-offs. Doppio is a strong fit if you need both screenshots and PDFs, async workflows, S3 upload delegation, and a free plan to get started.
Image

Comparison table

UrlboxApiflashScreenshotAPIDoppio
Pricing$10 / month up to 1000 screenshots$7 / month up to 1000 screenshots$9/month up to 1000 screenshots€14,90 / month (~$16,50) up to 4000 screenshots
Free planImage (7 day free trial)Image 100 screenshots / monthImage (7 day free trial)Image 400 screenshots / month
Input acceptedImage URL or HTML inputImage URL onlyImage URL onlyImage URL or HTML input
Async renderImageImageImageImage
Delegate upload (Amazon S3)ImageImageImageImage
Type of output fileImage Image and PDFImage Image onlyImage Image and PDFImage Image and PDF
Popup and ads blockingImageImageImageImage
Request limitsImage from 30 to 250 RPMImage not clearImage not clearImage from 20 to 360 RPM

Try Doppio with our quick start guide or see render screenshot direct for the API details.

Dashboard

Grab you API key and try Doppio out : it’s free !

With our basic plan, generate up to 400 documents per month for free. No credit card required.