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"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.urldna.io/llms.txt

Use this file to discover all available pages before exploring further.

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