# useragent.agentutil.net - User Agent Parser

> useragent.agentutil.net - User Agent Parser is a paid API for AI agents from useragent.agentutil.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Parses a user agent string into structured browser, rendering engine, operating system, device type, and CPU architecture information

## Facts

- Endpoint: POST https://useragent.agentutil.net/v1/parse
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/useragent-agentutil-net-0a08cbfe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iqzIAqa3_Em5q_Jw0zAw1

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 useragent-agentutil-net-0a08cbfe -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to reliably decompose a raw HTTP User-Agent header string into structured, typed components (browser, OS, device, engine, CPU) for analytics, logging, access control, or display logic. Prefer this over regex-based local parsing when accuracy and maintenance-free updates are needed.

## Known failure modes

- Missing or empty 'ua' field returns a validation error
- Malformed or truncated user agent strings may result in null/unknown values for some fields
- Unrecognized user agent patterns may return empty strings for browser/OS fields
- Network or upstream service errors return a non-200 HTTP status

## How this service works

Parse a user agent string into structured browser, engine, OS, device, and CPU info

## Output

Returns a structured JSON object with: browser name and version, rendering engine name and version, operating system name and version, device type (e.g. desktop, mobile), CPU architecture, plus the raw original UA string and a request ID.

## Example request

```json
{
 "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
}
```

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "os",
  "cpu",
  "raw",
  "device",
  "engine",
  "browser",
  "service",
  "request_id",
  "related_services"
 ],
 "properties": {
  "os": {
   "type": "object",
   "required": [
    "name",
    "version"
   ],
   "properties": {
    "name": {
     "type": "string"
    },
    "version": {
     "type": "string"
    }
   }
  },
  "cpu": {
   "type": "object",
   "required": [
    "architecture"
   ],
   "properties": {
    "architecture": {
     "type": "string"
    }
   }
  },
  "raw": {
   "type": "string"
  },
  "device": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    }
   }
  },
  "engine": {
   "type": "object",
   "required": [
    "name",
    "version"
   ],
   "properties": {
    "name": {
     "type": "string"
    },
    "version": {
     "type": "string"
    }
   }
  },
  "browser": {
   "type": "object",
   "required": [
    "name",
    "version"
   ],
   "properties": {
    "name": {
     "type": "string"
    },
    "version": {
     "type": "string"
    }
   }
  },
  "service": {
   "type": "string"
  },
  "request_id": {
   "type": "string"
  },
  "related_services": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "url",
     "name",
     "description"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "description": {
      "type": "string"
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/useragent-agentutil-net-0a08cbfe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from useragent.agentutil.net](https://www.zero.xyz/host/useragent.agentutil.net/llms.txt)
