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":"officia","type":"amet culpa dolor","name":"commodo quis","version":"dolore dolor id ut","version-major":"dolo","browser-engine":"ipsum est non incididunt ullamco","browser-release":"anim aliqua sit cillum magna","os":"nostrud amet ex","os-family":"tempor sed cupidatat","os-version":"aute nisi minim deserunt Duis","os-version-major":"pariatur sed occaecat sunt eiusmod","is-mobile":false,"is-webview":false,"device-brand":"do nisi","device-model":"esse Duis","device-model-code":"velit commodo","device-release":"est dolore nostrud","device-price":57645229.57083461,"device-resolution":"anim minim et tempor","device-ppi":-22314848.72252412,"device-pixel-ratio":-86973977.98936835,"device-width-px":2135935.413846463,"device-height-px":-31571031.467225015}