About this endpoint
What it does
Parses a raw HTTP User-Agent string and returns structured information about the detected browser, platform, device, and engine.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| user_agent | String | Yes | Raw HTTP User-Agent header value to parse. |
Response
Returns a JSON object with a data object field. The data object contains structured detection results for browser, platform, device, and engine.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Parsed user-agent details. |
| data.browser | Object | Yes | Browser information object. |
| data.browser.icon | String | No | Browser icon URL. |
| data.browser.name | String | No | Browser name. |
| data.browser.type | String | No | Browser type. |
| data.browser.is_bot | Boolean | No | Indicates whether the user agent is identified as a bot; the schema also allows a string value. |
| data.browser.version | String | No | Browser version. |
| data.browser.major_version | String | No | Browser major version. |
| data.browser.minor_version | String | No | Browser minor version. |
| data.platform | Object | Yes | Platform information object. |
| data.platform.icon | String | No | Platform icon URL. |
| data.platform.name | String | No | Platform name. |
| data.platform.short | String | No | Platform short code. |
| data.platform.version | String | No | Platform version. |
| data.device | Object | Yes | Device information object. |
| data.device.icon | String | No | Device icon URL. |
| data.device.name | String | No | Device name. |
| data.device.type | String | No | Device type. |
| data.device.brand | String | No | Device brand. |
| data.device.code_name | String | No | Device code name. |
| data.engine | Object | Yes | Engine information object. |
| data.engine.name | String | No | Engine name. |
| data.engine.version | String | No | Engine version. |