# Saylor Innovations User-Agent Parser

> Saylor Innovations User-Agent Parser is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-30).

Parses a User-Agent string into browser, version, engine, OS, device type, and architecture, and flags bots including search crawlers, AI agents, and social media scrapers

## Facts

- Endpoint: GET https://saylorinnovations.com/api/dev/user-agent?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-user-agent-parser-cadf3d16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-tEd0sHjp6iW58f_4ODo5

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 saylor-innovations-user-agent-parser-cadf3d16
```

Example prompt: Can you parse this user agent string for me — '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' — and tell me the browser, OS, device type, and whether it's a bot?

## When to prefer this

Choose this endpoint when you need fast, structured parsing of raw User-Agent strings into discrete fields (browser, OS, device type, bot flag) without running your own regex rules or maintaining a UA database. Especially useful for bot detection pipelines that need to distinguish search crawlers, AI bots, and social media scrapers from real users. Prefer this over generic libraries when you want a hosted, always-updated service that covers modern AI crawlers and HTTP tooling signatures.

## Known failure modes

- Missing or empty 'ua' query parameter returns an error
- Highly obfuscated or malformed UA strings may produce null fields for browser/OS/engine
- Novel or obscure user agents not in the ruleset may be misclassified
- Paid endpoint returns HTTP 402 if x402 payment is not provided

## How this service works

Parse a User-Agent string into browser, version, engine, OS, device type and architecture, and flag search, AI and social bots and HTTP tools

## Output

Returns a JSON object with the parsed user agent broken down into browser family, browser version, browser major version, rendering engine, operating system, OS version, device type, CPU architecture, a boolean is_bot flag, a bot object with the crawler name when automated traffic is detected, plus a source field and an optional note providing context or caveats about the result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ua"
     ],
     "properties": {
      "ua": {
       "type": "string",
       "description": "User-Agent header value to parse"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "user_agent",
      "is_bot",
      "device_type"
     ],
     "properties": {
      "os": {
       "type": [
        "string",
        "null"
       ],
       "description": "Operating system"
      },
      "bot": {
       "type": [
        "object",
        "null"
       ],
       "description": "Bot or crawler name when the agent is automated, otherwise null"
      },
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "engine": {
       "type": [
        "string",
        "null"
       ],
       "description": "Engine or model that produced the result"
      },
      "is_bot": {
       "type": "boolean",
       "description": "True when this is bot"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "browser": {
       "type": [
        "string",
        "null"
       ],
       "description": "Browser family"
      },
      "checked_at": {
       "type": "string",
       "description": "Time the check was run (UTC)"
      },
      "os_version": {
       "type": [
        "string",
        "null"
       ],
       "description": "Os version"
      },
      "user_agent": {
       "type": "string",
       "description": "User-agent the rules were evaluated for"
      },
      "device_type": {
       "type": "string",
       "description": "Device type"
      },
      "architecture": {
       "type": [
        "string",
        "null"
       ],
       "description": "CPU architecture when stated"
      },
      "browser_major": {
       "type": "integer",
    
… (truncated)
```

## More

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