# Blockchain Money Map Agent Spend Category Classifier

> Blockchain Money Map Agent Spend Category Classifier is a paid API for AI agents from api.blockchainmoneymap.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Classifies an on-chain agent payment transaction into a spending category given seller, tool, amount, and network facts

## Facts

- Endpoint: POST https://api.blockchainmoneymap.com/api/x402/x402-bmm-agent-spend-category-classifier
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-money-map-agent-spend-category-classifier-f51e8132
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y9JAUMORahN54j7RUCQi9

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 blockchain-money-map-agent-spend-category-classifier-f51e8132 -d '<json body>'
```

Example prompt: Classify this agent payment for me: it was $0.05 USDC on Base network, paid to seller 'WeatherAPI Pro' for tool 'weather-forecast-v2' described as 'real-time weather data lookup' — what spending category does this fall into?

## When to prefer this

Use this endpoint when an AI agent needs to automatically categorize its own on-chain payments for expense tracking, policy enforcement, or audit trails — especially within x402 micropayment ecosystems on EVM-compatible networks. Prefer this over manual classification when you have structured transaction facts (seller, tool, amount, currency, network) and need a deterministic, low-cost label at $0.01 USDC per call.

## Known failure modes

- Missing required fields (seller_label, tool_id, description, amount, currency, or network) returns a validation error
- Ambiguous or generic description may yield a low-confidence or fallback category
- Payment on an unsupported or unrecognized network may reduce classification accuracy
- Malformed input schema causes a 400-level error
- x402 payment not included or invalid results in 402 Payment Required response before classification occurs

## How this service works

Choose Blockchain Money Map for human-readable public blockchain reports or x402-paid agent API services.

## Output

Returns a JSON object containing the inferred spending category label for the described on-chain agent payment, along with any supporting classification metadata such as confidence score or subcategory.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "classify"
   ]
  },
  "facts": {
   "type": "object",
   "required": [
    "seller_label",
    "tool_id",
    "description",
    "amount",
    "currency",
    "network"
   ],
   "properties": {
    "amount": {
     "type": "number"
    },
    "network": {
     "type": "string",
     "maxLength": 500
    },
    "tool_id": {
     "type": "string",
     "maxLength": 500
    },
    "currency": {
     "type": "string",
     "maxLength": 500
    },
    "protocol": {
     "type": "string",
     "maxLength": 500
    },
    "description": {
     "type": "string",
     "maxLength": 500
    },
    "receipt_type": {
     "type": "string",
     "maxLength": 500
    },
    "seller_label": {
     "type": "string",
     "maxLength": 500
    },
    "marketplace_label": {
     "type": "string",
     "maxLength": 500
    }
   },
   "additionalProperties": false
  },
  "policy": {
   "type": "object",
   "additionalProperties": true
  },
  "reference_facts": {
   "type": "object",
   "required": [
    "seller_label",
    "tool_id",
    "description",
    "amount",
    "currency",
    "network"
   ],
   "properties": {
    "amount": {
     "type": "number"
    },
    "network": {
     "type": "string",
     "maxLength": 500
    },
    "tool_id": {
     "type": "string",
     "maxLength": 500
    },
    "currency": {
     "type": "string",
     "maxLength": 500
    },
    "protocol": {
     "type": "string",
     "maxLength": 500
    },
    "description": {
     "type": "string",
     "maxLength": 500
    },
    "receipt_type": {
     "type": "string",
     "maxLength": 500
    },
    "seller_label": {
     "type": "string",
     "maxLength": 500
    },
    "marketplace_label": {
     "type": "string",
     "maxLength": 500
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-money-map-agent-spend-category-classifier-f51e8132/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockchainmoneymap.com](https://www.zero.xyz/host/api.blockchainmoneymap.com/llms.txt)
