The default image format is PNG.
When choosing between PNG and JPEG for your website screenshots, consider the content of your website and the purpose of the screenshot. If you're capturing a screenshot of a website with text and iconic graphics, then PNG may be the better choice. If you're capturing a screenshot of a website with many photographs, then JPEG may be the better choice.
When saving screenshots in PNG or JPEG format, you can adjust the quality level to balance file size and image quality. Typically, a quality setting of around 80% strikes a good balance, optimizing the file size while retaining satisfactory image quality. This allows you to reduce the size of your screenshots without significantly compromising their visual clarity. Experimenting with different quality levels can help you find the optimal balance for your specific needs.
Here is an example request to turn a URL into a JPEG screenshot: (note: JPG or JPEG is valid):
// Line breaks added for readability
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=jpeg
&url=https://www.netflix.com
Your API key can be found on the API Keys page.
Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.
URL to JPEG screenshot example (307KB):
Here is an example request to turn a URL into a PNG screenshot: (note: &format=png is optional since the default format is png):
// Line breaks added for readability
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=png
&url=https://www.netflix.com
URL to PNG screenshot example (560KB):