cURL
curl --request GET \ --url https://api.urldna.io/v1/viewports \ --header 'Authorization: <api-key>'
[ { "device": "DESKTOP", "width": 123, "height": 123 } ]
Fetch a list of supported viewport dimensions for scans.
List of available viewports retrieved successfully.
Type of device used for the viewport.
DESKTOP
MOBILE
Width of the viewport in pixels.
Height of the viewport in pixels.