# x402.onchainexpat.com Proxy Stats

> x402.onchainexpat.com Proxy Stats is a paid API for AI agents from x402.onchainexpat.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11, last successful call 2026-06-15).

Returns usage statistics for the x402 proxy service, including request counts, error rates, bandwidth, and rate limit remaining

## Facts

- Endpoint: POST https://x402.onchainexpat.com/api/x402-proxy/stats?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Last successful call: 2026-06-15
- Success rate: 100% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-onchainexpat-com-4e08b829
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kv23nfxQb31k45krnsVCo

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-onchainexpat-com-4e08b829 -d '<json body>'
```

Example prompt: Can you pull up the x402 proxy usage stats for me — I want to see how many requests have been made, the error rate, and how much rate limit I have left?

## When to prefer this

Use this endpoint when you need to audit or monitor usage of the x402 proxy service — specifically to check request volume, error rates, bandwidth consumption, or remaining rate limit quota. Ideal for agents that need to self-monitor API consumption or implement rate-limit-aware throttling.

## Known failure modes

- Payment failure — insufficient USDC balance or x402 payment not accepted
- Service unavailable — proxy stats endpoint offline
- Empty/zero stats — if no requests have been made since tracking started, all numeric fields return 0

## How this service works

Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol

## Output

Returns a JSON object with total_requests, total_errors, error_rate_pct, total_bytes_sent, total_bytes_received, total_bandwidth_mb, rate_limit_remaining, and tracking_since timestamp indicating when stat collection began.

## Example request

```json
{}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "started_at": {
       "type": "string"
      },
      "total_errors": {
       "type": "integer"
      },
      "total_requests": {
       "type": "integer"
      },
      "total_bytes_sent": {
       "type": "integer"
      },
      "total_bytes_received": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

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