Skip to content

Get resolution

Request

Return the screen resolutions available for a user agent or operating system.

  • Effect: none. Read-only. Safe to retry with bounded backoff.
  • Contents: served from the fingerprint base-data service, so the list changes as that data is updated.
Bodyapplication/jsonrequired
osintegerrequired

OS type (1=Windows, 2=macOS, 3=Android, 4=iOS)

Example:1
uastring

User-Agent string (optional)

Example:""
curl -i -X POST \
  http://127.0.0.1:40000/api/env/base/resolution/list \
  -H 'Content-Type: application/json' \
  -d '{
    "os": 1,
    "ua": ""
  }'

Responses

Success. data is an array of objects with the fields id and value, and an empty array when there is nothing to return.

Headers
any
Bodyapplication/json
codeinteger
msgstring or null
dataArray of objects
requestIdstring
Response
{ "code": 0, "msg": null, "data": [ { … } ], "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }