Take high quality screenshots by increasing the device scale factor (zoom). A high DPR such as 3 will produce a pixel perfect image that is ideal for printing, with crisp, clear lines and text.
The default DPR value is 1 (Zoom is at 100%).
The maximum DPR range is:
A DPR value of 2 will produce a much larger screenshot. (Zoom is at 200%)
// Line breaks added for readability
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&viewport=1024x768
&dpr=1
&url=tesla.com/solarpanels
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 PNG with a DPR set to 1 (1024x768 @ 730KB).
// Line breaks added for readability
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&dpr=2
&url=tesla.com/solarpanels
URL to PNG with a DPR set to 2 (2048x1536 @ 2.25MB):
// Line breaks added for readability
https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&dpr=3
&url=tesla.com/solarpanels
URL to PNG with a DPR set to 3 (3072x2303 @ 4.66MB):