utilpeek: parse a User-Agent string (browser, OS, device, bot)
parse_user_agentRead-onlyIdempotent
utilpeek: parse a User-Agent string. Input: user_agent. Returns browser, os (family and version parts) and device (family, brand, model), is_bot with bot_reason, and is_mobile. A User-Agent is self-reported and easy to fake; is_bot is a heuristic (declared crawlers, HTTP libraries, headless browsers). Parsed with ua-parser and the uap-core regexes (Apache-2.0). Typically under 0.1 s (first call up to 0.5 s). Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/user-agent-parser-api.html
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_agent | Yes | User-Agent string (1-1024 chars). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | ||
| note | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| device | No | ||
| is_bot | No | ||
| length | No | ||
| source | No | ||
| browser | No | ||
| is_mobile | No | ||
| bot_reason | No |