UA Lookup
GET {{baseUrl}}/ua-lookup?ua=<string>&ua-version=<string>&ua-platform=<string>&ua-platform-version=<string>&ua-mobile=<string>&device-model=<string>&device-brand=<string>
Parse, validate and get detailed user-agent information from a user agent string or from client hints
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ua | string | (Required) The user-agent string to lookup. For client hints use the 'UA' header or the JSON data directly from 'navigator.userAgentData.brands' or 'navigator.userAgentData.getHighEntropyValues()' | |
ua-version | string | For client hints this corresponds to the 'UA-Full-Version' header or 'uaFullVersion' from NavigatorUAData | |
ua-platform | string | For client hints this corresponds to the 'UA-Platform' header or 'platform' from NavigatorUAData | |
ua-platform-version | string | For client hints this corresponds to the 'UA-Platform-Version' header or 'platformVersion' from NavigatorUAData | |
ua-mobile | string | For client hints this corresponds to the 'UA-Mobile' header or 'mobile' from NavigatorUAData | |
device-model | string | For client hints this corresponds to the 'UA-Model' header or 'model' from NavigatorUAData. <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 | |
device-brand | string | This parameter is only used in combination with 'device-model' when doing 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 |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"ua":"\u003cstring\u003e","type":"\u003cstring\u003e","name":"\u003cstring\u003e","version":"\u003cstring\u003e","version-major":"\u003cstring\u003e","browser-engine":"\u003cstring\u003e","browser-release":"\u003cstring\u003e","os":"\u003cstring\u003e","os-family":"\u003cstring\u003e","os-version":"\u003cstring\u003e","os-version-major":"\u003cstring\u003e","is-mobile":"\u003cboolean\u003e","is-webview":"\u003cboolean\u003e","device-brand":"\u003cstring\u003e","device-model":"\u003cstring\u003e","device-model-code":"\u003cstring\u003e","device-release":"\u003cstring\u003e","device-price":"\u003cnumber\u003e","device-resolution":"\u003cstring\u003e","device-ppi":"\u003cnumber\u003e","device-pixel-ratio":"\u003cnumber\u003e","device-width-px":"\u003cnumber\u003e","device-height-px":"\u003cnumber\u003e"}