# agentsvc.io User-Agent Parser

> agentsvc.io User-Agent Parser is a paid API for AI agents from agentsvc.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Parses a raw User-Agent string into structured device, browser, OS, and bot-detection fields

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/useragent-parse?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentsvc-io-user-agent-parser-ba393d46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-vm4jH_n6yIlraEyizHo3

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 agentsvc-io-user-agent-parser-ba393d46 -d '<json body>'
```

Example prompt: Parse this user agent string for me and tell me what browser, OS, and device it came from, and whether it's a bot or AI crawler: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1'

## When to prefer this

Choose this endpoint when you need structured, field-level breakdown of a raw User-Agent string at low cost ($0.002/call), especially when you need bot detection or AI crawler flagging alongside standard browser/OS/device parsing, without needing to set up an account or API key. Ideal for per-event enrichment in serverless or agent workflows paying per call via USDC on Base.

## Known failure modes

- Empty or missing user_agent field returns an error or null-populated response
- Highly non-standard or obfuscated user agent strings may result in null fields for unrecognized components
- Very new browser/OS versions not yet in the parser database may be misidentified
- Spoofed user agents will be parsed at face value without deception detection

## How this service works

86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.

## Output

Returns a JSON object with fully parsed user agent details: browser name, major version, and full version; OS name and version; device type (mobile/tablet/desktop), model, and vendor; CPU architecture; rendering engine name and version; plus boolean flags for is_mobile, is_tablet, is_bot, and is_ai_crawler.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "user_agent": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "os": {
    "name": "iOS",
    "version": "17.5"
   },
   "cpu": null,
   "device": {
    "type": "mobile",
    "model": "iPhone",
    "vendor": "Apple"
   },
   "engine": {
    "name": "WebKit",
    "version": "605.1.15"
   },
   "is_bot": false,
   "browser": {
    "name": "Mobile Safari",
    "major": "17",
    "version": "17.5"
   },
   "is_mobile": true,
   "is_tablet": false,
   "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1",
   "is_ai_crawler": false
  },
  "success": true
 }
}
```

## More

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