action neutrinoapi_ualookup {
label: "UA Lookup"
description: "Parse, validate and get detailed user-agent information from a user agent string or from client hints"
provider: neutrinoapi
method: GET
path: "/ua-lookup"
encoding: json
input: {
type: "object"
properties: {
"device-brand": {
type: "string"
}
"device-model": {
type: "string"
}
ua: {
type: "string"
}
"ua-mobile": {
type: "string"
}
"ua-platform": {
type: "string"
}
"ua-platform-version": {
type: "string"
}
"ua-version": {
type: "string"
}
}
required: ["ua"]
additionalProperties: false
}
output: {
type: "object"
required: ["browser-engine", "browser-release", "device-brand", "device-height-px", "device-model", "device-model-code", "device-pixel-ratio", "device-ppi", "device-price", "device-release", "device-resolution", "device-width-px", "is-mobile", "is-webview", "name", "os", "os-family", "os-version", "os-version-major", "type", "ua", "version", "version-major"]
properties: {
"browser-engine": {
type: "string"
description: "If the client is a web browser which underlying browser engine does it use"
}
"browser-release": {
type: "string"
description: "If the client is a web browser which year was this browser version released"
}
"device-brand": {
type: "string"
description: "The device brand / manufacturer"
}
"device-height-px": {
type: "number"
format: "double"
description: "The device display height in CSS 'px'"
}
"device-model": {
type: "string"
description: "The device model"
}
"device-model-code": {
type: "string"
description: "The device model code"
}
"device-pixel-ratio": {
type: "number"
format: "double"
description: "The device display pixel ratio (the ratio of the resolution in physical pixels to the resolution in CSS pixels)"
}
"device-ppi": {
type: "number"
format: "double"
description: "The device display PPI (pixels per inch)"
}
"device-price": {
type: "number"
format: "double"
description: "The average device price on release in USD"
}
"device-release": {
type: "string"
description: "The year when this device model was released"
}
"device-resolution": {
type: "string"
description: "The device display resolution in physical pixels (e.g. 720x1280)"
}
"device-width-px": {
type: "number"
format: "double"
description: "The device display width in CSS 'px'"
}
"is-mobile": {
type: "boolean"
description: "Is this a mobile device (e.g. a phone or tablet)"
}
"is-webview": {
type: "boolean"
description: "Is this a WebView / embedded software client"
}
name: {
type: "string"
description: "The client software name"
}
os: {
type: "string"
description: "The full operating system name"
}
"os-family": {
type: "string"
description: "The operating system family. The major OS families are: Android, Windows, macOS, iOS, Linux"
}
"os-version": {
type: "string"
description: "The operating system full version"
}
"os-version-major": {
type: "string"
description: "The operating system major version"
}
type: {
type: "string"
description: "The user agent type, possible values are: