v1
latestSwagger 2.02026-07-132830204.5 KBUA Lookup
Parse, validate and get detailed user-agent information from a user agent string or from client hints
Query parameters
The user-agent string to lookup. For client hints this corresponds to the 'sec-ch-ua' header or you can also pass the JSON data directly from the 'navigator.userAgentData.getHighEntropyValues()' JavaScript API
For client hints this corresponds to the 'sec-ch-ua-full-version' header
For client hints this corresponds to the 'sec-ch-ua-platform' header
For client hints this corresponds to the 'sec-ch-ua-platform-version' header
For client hints this corresponds to the 'sec-ch-ua-mobile' header
For client hints this corresponds to the 'sec-ch-ua-model' header. <br> You can also use this parameter to lookup a device directly by its model name, model code or hardware code, on android you can get the model name from: https://developer.android.com/reference/android/os/Build.html#MODEL
This parameter is only used in combination with 'device-model' for direct device lookups without any user-agent data. Set this to the brand or manufacturer name, this is required for accurate device detection with ambiguous model names. On android you can get the device brand from: https://developer.android.com/reference/android/os/Build#MANUFACTURER
For client hints this corresponds to the 'sec-ch-ua-arch' header
For client hints this corresponds to the 'sec-ch-ua-bitness' header
For client hints this corresponds to the 'sec-ch-ua-form-factors' header
Response
OK
Example response
{
"browser-engine": "Blink",
"browser-release": "2020",
"device-brand": "Samsung",
"device-height-mm": 157,
"device-height-px": 1066,
"device-model": "Galaxy S21 Ultra 5G",
"device-model-code": "SM-G9980U1",
"device-pixel-ratio": 3,
"device-ppi": 515,
"device-price": 1400,
"device-release": "2021",
"device-resolution": "1440x3200",
"device-width-mm": 70,
"device-width-px": 480,
"is-current": false,
"is-mobile": true,
"is-ua-frozen": false,
"is-webview": false,
"name": "Chrome",
"os": "Android 11",
"os-family": "Android",
"os-version": "11",
"os-version-major": "11",
"type": "phone",
"ua": "Mozilla/5.0 (Linux; Android 11; SM-G9980U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36",
"version": "87.0.4280.101",
"version-major": "87"
}