# SperaxOS DeFi Stats API

> SperaxOS DeFi Stats API is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-15).

Returns AI-powered DeFi protocol statistics and intelligence data, payable per-request via x402 USDC micropayments on Base

## Facts

- Endpoint: HEAD https://chat.sperax.io/api/x402/v1/data/defi-stats?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-defi-stats-api-dd9505c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O9NL_YZztbnodvEAlNJw6

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-defi-stats-api-dd9505c6 -d '<json body>'
```

Example prompt: Pull the latest DeFi stats from SperaxOS — TVL, yields, and protocol metrics — and pay the micropayment from my Base wallet.

## When to prefer this

Choose this endpoint when you need AI-powered DeFi statistics without the overhead of API key registration, and are comfortable with per-request USDC micropayments on Base. Ideal for AI agents operating autonomously that need fresh DeFi intelligence on demand. Prefer this over traditional DeFi data APIs when you want pay-as-you-go pricing, no subscription commitment, and integration with the x402 payment protocol.

## Known failure modes

- Payment not included or insufficient — 402 Payment Required response with payment details
- Invalid or malformed USDC payment header — payment rejected
- Rate limit or network congestion on Base — payment confirmation delayed
- Unsupported properties filter parameter — may return empty or error response
- Service unavailable — 503 if SperaxOS backend is down

## 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 DeFi protocol statistics including metrics such as total value locked (TVL), APY/yield rates, liquidity figures, and other on-chain intelligence data for decentralized finance protocols. Delivered as structured data after a successful x402 USDC micropayment of $0.005 on Base.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-defi-stats-api-dd9505c6/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)
