Skip to main content
GET
/
v1
/
viewports
List viewports
curl --request GET \
  --url https://api.urldna.io/v1/viewports \
  --header 'authorization: <authorization>'
[
  {
    "width": 123,
    "height": 123,
    "device": "DESKTOP"
  }
]

Headers

authorization
string
required

Response

Successful Response

width
integer
required

Browser viewport width in pixels.

height
integer
required

Browser viewport height in pixels.

device
enum<string>
required

The device type simulated during the scan.

Available options:
DESKTOP,
MOBILE