# Blockchain Money Map Agent Wallet Spend Policy Simulator

> Blockchain Money Map Agent Wallet Spend Policy Simulator 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).

Simulates and analyzes whether a proposed agent wallet spend policy is compatible with a given workload's facts and constraints, returning a policy-fit assessment.

## Facts

- Endpoint: POST https://api.blockchainmoneymap.com/api/x402/x402-agent-wallet-spend-policy-simulator
- 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-wallet-spend-policy-simulator-b323fa91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6KIvcAu33sUmEzUqsL__9

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-wallet-spend-policy-simulator-b323fa91 -d '<json body>'
```

Example prompt: Simulate whether my agent's spend policy — capped at 50 USDC per day on Base, USDC only, retrying up to 3 times, running hourly — can safely handle the task of paying for multiple x402 API calls across a data-enrichment workflow that runs 24 times a day.

## When to prefer this

Use this endpoint when you need to pre-validate or simulate whether an autonomous agent's wallet spend policy is compatible with a specific workload before live deployment — especially when retries, recurrence, asset restrictions, or chain constraints could cause mid-task policy violations. Prefer this over manual policy review when you need deterministic, structured analysis of policy-workload fit at low cost ($0.01 USDC per call).

## Known failure modes

- Missing required fields in facts object (intended_task, spend_caps, time_window, recurrence, retry_policy, workload_description) returns a validation error
- Spend caps object exceeding 50 properties rejected
- Arrays for allowed_assets, allowed_chains, or allowed_counterparties exceeding 50 items rejected
- mode field not set to 'analyze' will fail schema validation
- Malformed JSON body returns 400
- Payment not provided or insufficient USDC balance returns 402

## How this service works

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

## Output

Returns a JSON analysis of whether the provided spend policy is compatible with the workload described in the facts object, including identification of constraint violations, coverage gaps, and a policy-fit assessment. When a reference_facts object is provided, the response includes a comparative analysis between the two workload scenarios.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "analyze"
   ]
  },
  "facts": {
   "type": "object",
   "required": [
    "intended_task",
    "spend_caps",
    "time_window",
    "recurrence",
    "retry_policy",
    "workload_description"
   ],
   "properties": {
    "recurrence": {
     "type": "string",
     "maxLength": 500
    },
    "spend_caps": {
     "type": "object",
     "maxProperties": 50,
     "additionalProperties": true
    },
    "time_window": {
     "type": "object",
     "maxProperties": 50,
     "additionalProperties": true
    },
    "retry_policy": {
     "type": "string",
     "maxLength": 500
    },
    "intended_task": {
     "type": "string",
     "maxLength": 500
    },
    "allowed_assets": {
     "type": "array",
     "maxItems": 50
    },
    "allowed_chains": {
     "type": "array",
     "maxItems": 50
    },
    "workload_description": {
     "type": "string",
     "maxLength": 500
    },
    "allowed_counterparties": {
     "type": "array",
     "maxItems": 50
    }
   },
   "additionalProperties": false
  },
  "policy": {
   "type": "object",
   "additionalProperties": true
  },
  "reference_facts": {
   "type": "object",
   "required": [
    "intended_task",
    "spend_caps",
    "time_window",
    "recurrence",
    "retry_policy",
    "workload_description"
   ],
   "properties": {
    "recurrence": {
     "type": "string",
     "maxLength": 500
    },
    "spend_caps": {
     "type": "object",
     "maxProperties": 50,
     "additionalProperties": true
    },
    "time_window": {
     "type": "object",
     "maxProperties": 50,
     "additionalProperties": true
    },
    "retry_policy": {
     "type": "string",
     "maxLength": 500
    },
    "intended_task": {
     "type": "string",
     "maxLength": 500
    },
    "allowed_assets": {
     "type": "array",
     "maxItems": 50
    },
    "allowed_chains": {
     "type": "array",
     "maxItems": 50
    },
    "workload_description": {
     "type": "string",
     "maxLength": 500
    },
    "allowed_counterparties": {
     "type": "array",
     "maxItems": 50
    }
   },
   "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-wallet-spend-policy-simulator-b323fa91/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)
