UAParse
v0.5.3Parse a User-Agent: browser, OS, device, plus bot, search crawler, AI crawler and AI agent flags.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
parse_user_agent Parse a User-Agent (browser, OS, device, bot / AI crawler / AI agent)
Parse one User-Agent string. Returns browser, engine, OS, device type and CPU (ua-parser-js 1.0.41), and whether it is a known bot, search crawler, AI crawler (with its AI purpose) or an AI agent acting for a user (is_ai_agent, ai_agent_kind fetch | browsing), plus the bot name, operator, robots.txt token and operator docs link from a curated list of 151 bots (list 2026-10-08). verified is always false: the User-Agent is self-reported and UAParse does no IP or reverse-DNS checks. Read-only, no network lookups. Same engine and limits as the UAParse JSON API (POST /v1/parse); each call is one lo…
| Parameter | Type | Description |
|---|---|---|
ua * | string | The User-Agent string to parse, exactly as sent in the User-Agent header. |
include_raw | boolean | Also return the full POST /v1/parse JSON in structuredContent.raw. Larger output. |