# User Agent Parser: Browser, OS, Device & Bot Detection

> User Agent Parser: Browser, OS, Device & Bot Detection is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-30).

Parses a User-Agent string into browser, OS, device type, and bot identity (including AI crawlers like GPTBot and ClaudeBot) using local rules with no external service dependency.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/useragent/parse?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-user-agent-parser-browser-os-154c1238
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MAek8kCpb_W6_PScLm5UP

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 agent-data-tools-revmesh2074-workers-dev-user-agent-parser-browser-os-154c1238
```

Example prompt: Can you parse this user agent string for me and tell me whether it's a bot, which browser and OS it is, and what device type — 'Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36'?

## When to prefer this

Choose this endpoint when you need fast, private user agent parsing without sending data to a third-party service — ideal for access log analysis, traffic segmentation, and AI crawler detection. It covers a broad set of bots including AI crawlers (GPTBot, ClaudeBot, PerplexityBot) and HTTP libraries (curl, python-requests) that generic parsers often miss. At $0.01 per call with local rules and no external dependency, it is well-suited for agents processing individual log lines or real-time request inspection.

## Known failure modes

- Missing or empty 'ua' query parameter returns an error
- Unrecognized or highly unusual user agent strings may return generic/empty fields for browser or OS
- Malformed user agent strings may produce partial results with some fields null or empty
- Very new bots not yet in the local rule set will not be identified by name

## How this service works

Parse a User-Agent string into browser and version, operating system and version, device type (desktop, mobile, tablet or bot) and, for crawlers, which bot it is: Googlebot, Bingbot, GPTBot, ClaudeBot, PerplexityBot, social previewers, SEO crawlers and HTTP libraries such as curl or python-requests. Local rules, no outside service. Use to read access logs, segment traffic or spot AI crawlers.

## Output

Returns a JSON object with: browser name, browser version string, major version number, operating system name, OS version, device type (desktop/mobile/tablet/bot), a boolean isBot flag, the raw userAgent echoed back, and a bot field naming the specific crawler (e.g. GPTBot, ClaudeBot, Googlebot, Bingbot, PerplexityBot, curl, python-requests) when applicable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ua"
 ],
 "properties": {
  "ua": {
   "type": "string",
   "description": "The User-Agent string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "os": {
   "type": "string"
  },
  "bot": {},
  "isBot": {
   "type": "boolean"
  },
  "device": {
   "type": "string"
  },
  "browser": {
   "type": "string"
  },
  "osVersion": {
   "type": "string"
  },
  "userAgent": {
   "type": "string"
  },
  "majorVersion": {
   "type": "number"
  },
  "browserVersion": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-user-agent-parser-browser-os-154c1238/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
