# X402-BROKER Repair Endpoint

> X402-BROKER Repair Endpoint is a paid API for AI agents from x402broker.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-22).

Returns a compressed, agent-ready JSON payload from the X402-BROKER meta-router's repair/health route, providing routing status and compression diagnostics.

## Facts

- Endpoint: GET https://x402broker.com/v1/repair?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-broker-repair-endpoint-d0ab9112
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LWTaOoZpBAP4uyE0Lik-K

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 x402-broker-repair-endpoint-d0ab9112
```

Example prompt: Can you hit the X402-BROKER repair endpoint with a GET request and tell me the current status and compression ratio it reports back?

## When to prefer this

Choose this endpoint when you need a quick health check or diagnostic probe of the X402-BROKER meta-router itself, particularly to verify compression ratios, confirm the service is live, or retrieve a lightweight status payload before committing to heavier routing calls. Prefer it over the main broker routing endpoints when you only need operational status rather than full tool execution.

## Known failure modes

- Payment not included or invalid x402 USDC payment header — returns 402 Payment Required
- Malformed input object missing required 'type' or 'method' fields — returns 400 Bad Request
- Service temporarily unavailable — returns 503 with no data payload
- Invalid 'type' value other than 'http' — rejected by schema validation
- Network timeout if broker backend is under load

## How this service works

Universal B2A/A2A/MCP Meta-Router & Autonomous Tool Marketplace indexing 7,340+ live capabilities across x402 v2 (5-chain EVM USDC), IETF MPP, and L402 with TDQS quality scoring and zero-fee pass-through execution.

## Output

A JSON object with a 'status' field (e.g. 'ok'), a 'data' object containing routing or repair payload, and an 'roi_proof' object that includes a compression_ratio_pct value (e.g. 91.4) indicating how efficiently the broker is compressing agent-ready tokens.

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "raw_json": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-broker-repair-endpoint-d0ab9112/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402broker.com](https://www.zero.xyz/host/x402broker.com/llms.txt)
