Zum Hauptinhalt springen

User Agent Parsing

Parse user-agent strings to identify browser, operating system, and device information.

Endpoint

GET /api/v1/useragent?ua={user_agent_string}

If ua is not provided, the request's own User-Agent header is used.

Parameters

ParameterTypeRequiredDescription
uastringNoUser agent string

Response

{
"userAgentString": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ...",
"browserFamily": "Chrome",
"browserMajor": "120",
"browserMinor": "0",
"browserPatch": "6099",
"osFamily": "Mac OS X",
"osMajor": "10",
"osMinor": "15",
"osPatch": "7",
"deviceFamily": "Mac",
"deviceBrand": "Apple",
"deviceModel": "Mac"
}