# User Agent Parser API

> User Agent Parser API is a paid API for AI agents from user-agent-parser.api.klymax402.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Parses a raw HTTP user agent string into structured browser, OS, and device data

## Facts

- Endpoint: GET https://user-agent-parser.api.klymax402.com/api/parse
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/user-agent-parser-api-00127313
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2jKhi7sVifBD5YU-cNAXZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability user-agent-parser-api-00127313
```

Example prompt: Can you parse this user agent string for me and tell me what browser, OS, and device type it represents: 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Mobile/15E148 Safari/604.1'?

## When to prefer this

Use this endpoint when you need to programmatically decode raw HTTP user agent strings into structured browser, OS, and device information — for example, in analytics pipelines, access logging, conditional content delivery, or security auditing.

## Known failure modes

- Empty or missing userAgent parameter returns an error
- Malformed or unrecognizable user agent string may return partial or empty fields
- Unknown or highly custom user agents may not be fully parsed
- Rate limiting or payment failure results in 402 response

## How this service works

Parse a user agent string into structured data

## Output

Returns structured data extracted from the user agent string, including browser name and version, operating system name and version, device type (mobile/desktop/tablet), and platform details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "userAgent": {
   "type": "string",
   "description": "The user agent string to parse"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/user-agent-parser-api-00127313/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from user-agent-parser.api.klymax402.com](https://www.zero.xyz/host/user-agent-parser.api.klymax402.com/llms.txt)
