About this endpoint
What it does
Parses a raw HTTP User-Agent string from the request body and returns a structured breakdown of the browser, platform, device, and engine details it detects.
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 the parsed browser, platform, device, and engine objects.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Parsed user-agent details. Contains browser, platform, device, and engine. |
| data.browser | Object | Yes | Browser details. |
| 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 | Full browser version. |
| data.browser.major_version | String | No | Major browser version. |
| data.browser.minor_version | String | No | Minor browser version. |
| data.platform | Object | Yes | Platform details. |
| data.platform.icon | String | No | Platform icon URL. |
| data.platform.name | String | No | Platform name. |
| data.platform.short | String | No | Short platform code. |
| data.platform.version | String | No | Platform version. |
| data.device | Object | Yes | Device details. |
| 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 details. |
| data.engine.name | String | No | Engine name. |
| data.engine.version | String | No | Engine version. |