# Blockchain Money Map – x402 Autonomous Spend Flight Recorder

> Blockchain Money Map – x402 Autonomous Spend Flight Recorder is a paid API for AI agents from api.blockchainmoneymap.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Analyzes and records the facts of an x402 autonomous agent payment session, comparing current spend facts against reference facts and policy to produce a structured flight-recorder audit log.

## Facts

- Endpoint: POST https://api.blockchainmoneymap.com/api/x402/x402-autonomous-spend-flight-recorder?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-money-map-x402-autonomous-spend-flight-recorder-e1da8edf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pSoG272Rmb51-N5-cZBs2

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-x402-autonomous-spend-flight-recorder-e1da8edf -d '<json body>'
```

Example prompt: Run a flight-recorder analysis on my x402 agent session — the policy summary was 'max 5 USDC per task', spend cap was '5 USDC', there were 3 payment events, retry count was 1, the final status was 'completed', and the receipt hash is sha256:aabbccdd...0011 — compare it against the same reference facts and tell me if it was policy-compliant.

## When to prefer this

Choose this endpoint when an AI agent needs to record and audit the facts of a completed or in-progress x402 autonomous payment session — especially when policy compliance, spend cap adherence, retry behavior, and receipt integrity need to be verified in a single structured call. Prefer it over generic blockchain lookup endpoints when the goal is a post-run flight-recorder audit rather than raw transaction status.

## Known failure modes

- Missing required fields (events, policy_summary, final_status) returns a validation error
- Receipt hash not matching the expected sha256 pattern causes a schema rejection
- mode field not set to 'analyze' returns an unsupported mode error
- Malformed or oversized event arrays (>10 items) are rejected
- Payment failure (402) if USDC balance is insufficient for the $0.01 fee

## How this service works

Autonomous spend attempts need a black-box timeline that shows where the flow was safe, uncertain, failed, or completed.

## Output

A structured JSON audit report summarizing the analyzed x402 payment session, including policy compliance assessment, event sequence review, spend cap adherence, retry behavior, final status confirmation, and any discrepancies between the submitted facts and the reference facts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "analyze"
   ]
  },
  "facts": {
   "type": "object",
   "required": [
    "events",
    "policy_summary",
    "final_status"
   ],
   "properties": {
    "events": {
     "type": "array",
     "maxItems": 10
    },
    "spend_cap": {
     "type": "string",
     "maxLength": 500
    },
    "retry_count": {
     "type": "number"
    },
    "final_status": {
     "type": "string",
     "maxLength": 500
    },
    "receipt_hash": {
     "type": "string",
     "pattern": "^sha256:[a-fA-F0-9]{64}$"
    },
    "policy_summary": {
     "type": "string",
     "maxLength": 500
    },
    "x402_request_id": {
     "type": "string",
     "maxLength": 500
    }
   },
   "additionalProperties": false
  },
  "policy": {
   "type": "object",
   "additionalProperties": true
  },
  "reference_facts": {
   "type": "object",
   "required": [
    "events",
    "policy_summary",
    "final_status"
   ],
   "properties": {
    "events": {
     "type": "array",
     "maxItems": 10
    },
    "spend_cap": {
     "type": "string",
     "maxLength": 500
    },
    "retry_count": {
     "type": "number"
    },
    "final_status": {
     "type": "string",
     "maxLength": 500
    },
    "receipt_hash": {
     "type": "string",
     "pattern": "^sha256:[a-fA-F0-9]{64}$"
    },
    "policy_summary": {
     "type": "string",
     "maxLength": 500
    },
    "x402_request_id": {
     "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-x402-autonomous-spend-flight-recorder-e1da8edf/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)
