Skip to content

User Agent Data

IPWho includes parsed user agent metadata that describes the visitor’s browser, device, operating system, and CPU architecture.

User agent data is useful for:

  • Customizing UI based on device or OS
  • Detecting older or unsupported browsers
  • Optimizing performance for mobile vs. desktop
  • Logging client environment information for analytics
  • Tailoring experiences for specific platforms

To get the user Agent the user has to pass in the request parameter in the request body

Below is an example of the user agent fields returned by a lookup:

Request Example

GET https://api.ipwho.org/ip/76.102.11.203?apiKey=sk.xxxx&get=userAgent
Content-Type: application/json
{
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"
}

Response Example

{
"success": true,
"data": {
"userAgent": {
"browser": {
"name": "Chrome",
"version": "122.0.0.0"
},
"engine": {
"name": "Blink",
"version": "122.0.0.0"
},
"os": {
"name": "Windows",
"version": "10"
},
"device": {
"type": "desktop",
"vendor": "Microsoft",
"model": "Windows PC"
},
"cpu": {
"architecture": "x64"
}
}
}
}

User Agent Data Fields

ParameterTypeDescription
browserobjectDetails about the user’s browser, including the browser name and version.
engineobjectThe browser rendering engine used (e.g., Blink, WebKit), including name and version.
osobjectOperating system information, including name and version.
deviceobjectDevice metadata such as type (desktop, mobile), vendor (Apple, Samsung), and model.
cpuobjectCPU information, including the processor architecture (e.g., x86, x64, ARM).