# SperaxOS Chain Data API

> SperaxOS Chain Data API is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Retrieves on-chain DeFi intelligence data for a specified blockchain via a pay-per-request x402 micropayment endpoint

## Facts

- Endpoint: GET https://chat.sperax.io/api/x402/v1/data/chain?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-chain-data-api-06ae28ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rh89t5oe8Y3U5z_zsy-5r

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 speraxos-chain-data-api-06ae28ab
```

Example prompt: Pull the latest on-chain DeFi data for the Base blockchain from SperaxOS — pay the $0.001 USDC fee and show me the chain metrics.

## When to prefer this

Choose this endpoint when you need on-chain DeFi intelligence for a specific blockchain and want to pay per-request with USDC without managing API keys. It is ideal for AI agents that operate on Base and can handle x402 micropayments natively, and when you need lightweight, low-cost access to chain-level DeFi data without a subscription commitment.

## Known failure modes

- Insufficient USDC balance for micropayment — payment fails and request is rejected with 402
- Invalid or unsupported chain identifier — returns error indicating chain not found
- Wallet identity not recognized — SIWX authentication failure for identity-gated endpoints
- Network timeout or chain RPC unavailability — returns 503 or timeout error
- Malformed request parameters — 400 bad request if required chain field is missing

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

Returns AI-powered on-chain DeFi intelligence for the requested blockchain, including chain-level metrics, analytics, and statistics relevant to decentralized finance activity on that network.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-chain-data-api-06ae28ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
