# Blockchain Money Map x402 Response Contract Linter

> Blockchain Money Map x402 Response Contract Linter 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-14).

Lints and validates x402 payment protocol response contracts, API schemas, and MCP tool definitions for compliance and correctness.

## Facts

- Endpoint: POST https://api.blockchainmoneymap.com/api/x402/x402-response-contract-linter
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-money-map-x402-response-contract-linter-57048f3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eGBYgSIkhQkWDXSueq6Qa

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-response-contract-linter-57048f3a -d '<json body>'
```

Example prompt: Can you lint my x402 API response contract using the 'x402' profile? Here's my schema sample and response sample — I want to know if there are any compliance issues with my endpoint at /api/payments/checkout expecting 0.01 USDC on base-mainnet.

## When to prefer this

Choose this endpoint when you need to validate x402 payment protocol response contracts, API schemas, or MCP tool definitions for spec compliance before deployment. Especially useful for developers building x402-paid agent APIs who need to catch schema and contract errors early. Prefer this over generic JSON schema validators when x402-specific compliance rules and MCP tool context matter.

## Known failure modes

- Invalid or missing schema_sample causes linting failure
- Unsupported lint_profile value returns validation error
- Malformed tool_context fields (e.g. oversized strings) rejected with 400
- Empty or null response_sample may produce incomplete lint results
- Network or currency values not recognized by the linter may be flagged

## 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 lint results for the provided schema and response samples, including identified compliance issues, validation errors, warnings, and recommendations specific to the selected lint profile (api, mcp, x402, or auto-detected).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lint_profile": {
   "enum": [
    "api",
    "mcp",
    "x402",
    "auto"
   ],
   "type": "string"
  },
  "tool_context": {
   "type": "object",
   "properties": {
    "network": {
     "type": "string",
     "maxLength": 64
    },
    "tool_id": {
     "type": "string",
     "maxLength": 120
    },
    "currency": {
     "enum": [
      "USDC"
     ],
     "type": "string"
    },
    "operation_id": {
     "type": "string",
     "maxLength": 120
    },
    "endpoint_path": {
     "type": "string",
     "maxLength": 160
    },
    "mcp_tool_name": {
     "type": "string",
     "maxLength": 120
    },
    "expected_price": {
     "type": "string",
     "maxLength": 32
    }
   },
   "additionalProperties": false
  },
  "schema_sample": {
   "type": "object"
  },
  "response_sample": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-money-map-x402-response-contract-linter-57048f3a/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)
