# MoneyTools User-Agent Parser & Bot Detector

> MoneyTools User-Agent Parser & Bot Detector is a paid API for AI agents from tools.moneytools.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-05).

Parses a User-Agent string to extract browser, engine, OS, device type, and detects if it is a known crawler or AI bot (GPTBot, ClaudeBot, PerplexityBot, scripts, etc.)

## Facts

- Endpoint: GET https://tools.moneytools.dev/v1/user-agent?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-05
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneytools-user-agent-parser-bot-detector-a60c1e3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wTN-J_xDM9nNvD12rtf1T

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 moneytools-user-agent-parser-bot-detector-a60c1e3e
```

Example prompt: Can you parse this user agent string and tell me if it's a known bot or AI crawler: 'Mozilla/5.0 (compatible; GPTBot/1.2; +https://openai.com/gptbot)'?

## When to prefer this

Choose this endpoint when you need to programmatically classify a User-Agent string to detect known AI crawlers (GPTBot, ClaudeBot, PerplexityBot) or generic bots and scripts, especially in automated agent pipelines or server-side access control. It is particularly useful when you need structured output covering browser, OS, engine, and device type alongside bot detection in a single call, with a pay-per-use micropayment model that avoids subscription overhead.

## Known failure modes

- Missing or empty 'ua' query parameter returns an error without charge
- Unrecognized or malformed User-Agent strings may return generic/unknown classifications
- Free tier exhaustion (10/day) triggers HTTP 402 requiring x402 micropayment or API key
- Network or service unavailability returns a non-200 error without charge

## How this service works

User-agent parser + bot detection: Browser, engine, OS, device type, and whether it is a known crawler or AI agent (GPTBot, ClaudeBot, PerplexityBot, scripts...). Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.

## Output

A JSON object containing the parsed browser name, rendering engine, operating system, device type, and boolean flags indicating whether the User-Agent belongs to a known crawler, AI bot (e.g. GPTBot, ClaudeBot, PerplexityBot), or script. Also includes payment metadata (charged flag, network, amount in USD, transaction hash).

## 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"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ua"
     ],
     "properties": {
      "ua": {
       "type": "string",
       "examples": [
        "Mozilla/5.0 (compatible; GPTBot/1.2; +https://openai.com/gptbot)"
       ],
       "description": "User-Agent string"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "payment": {
       "type": "object",
       "properties": {
        "charged": {
         "type": "boolean"
        },
        "network": {
         "type": "string"
        },
        "amountUsd": {
         "type": "string"
        },
        "transaction": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "freeTier": {
       "type": "object"
      },
      "_moneytools": {
       "type": "object",
       "description": "optional plan / partner hints"
      }
     },
     "description": "Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneytools-user-agent-parser-bot-detector-a60c1e3e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.moneytools.dev](https://www.zero.xyz/host/tools.moneytools.dev/llms.txt)
