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

KeyDatatypeRequiredDescription
uastring(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-versionstringFor client hints this corresponds to the 'UA-Full-Version' header or 'uaFullVersion' from NavigatorUAData
ua-platformstringFor client hints this corresponds to the 'UA-Platform' header or 'platform' from NavigatorUAData
ua-platform-versionstringFor client hints this corresponds to the 'UA-Platform-Version' header or 'platformVersion' from NavigatorUAData
ua-mobilestringFor client hints this corresponds to the 'UA-Mobile' header or 'mobile' from NavigatorUAData
device-modelstringFor 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-brandstringThis 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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;ua&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;version&quot;:&quot;\u003cstring\u003e&quot;,&quot;version-major&quot;:&quot;\u003cstring\u003e&quot;,&quot;browser-engine&quot;:&quot;\u003cstring\u003e&quot;,&quot;browser-release&quot;:&quot;\u003cstring\u003e&quot;,&quot;os&quot;:&quot;\u003cstring\u003e&quot;,&quot;os-family&quot;:&quot;\u003cstring\u003e&quot;,&quot;os-version&quot;:&quot;\u003cstring\u003e&quot;,&quot;os-version-major&quot;:&quot;\u003cstring\u003e&quot;,&quot;is-mobile&quot;:&quot;\u003cboolean\u003e&quot;,&quot;is-webview&quot;:&quot;\u003cboolean\u003e&quot;,&quot;device-brand&quot;:&quot;\u003cstring\u003e&quot;,&quot;device-model&quot;:&quot;\u003cstring\u003e&quot;,&quot;device-model-code&quot;:&quot;\u003cstring\u003e&quot;,&quot;device-release&quot;:&quot;\u003cstring\u003e&quot;,&quot;device-price&quot;:&quot;\u003cnumber\u003e&quot;,&quot;device-resolution&quot;:&quot;\u003cstring\u003e&quot;,&quot;device-ppi&quot;:&quot;\u003cnumber\u003e&quot;,&quot;device-pixel-ratio&quot;:&quot;\u003cnumber\u003e&quot;,&quot;device-width-px&quot;:&quot;\u003cnumber\u003e&quot;,&quot;device-height-px&quot;:&quot;\u003cnumber\u003e&quot;}