# SperaxOS Dune Data API

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

Fetches AI-powered DeFi intelligence data from Dune Analytics via the SperaxOS x402 pay-per-request API on Base

## Facts

- Endpoint: GET https://chat.sperax.io/api/x402/v1/data/dune?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-dune-data-api-54ced85e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K7LSX4-YiNnweGhu4I4jL

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-dune-data-api-54ced85e
```

Example prompt: Pull the latest DeFi analytics data from SperaxOS's Dune endpoint — I want on-chain metrics for the Sperax protocol, paying $0.02 USDC per call on Base.

## When to prefer this

Choose this endpoint when you need DeFi or on-chain analytics data from Dune Analytics without committing to a subscription or API key, and you are able to pay $0.02 USDC per call on Base via the x402 protocol. Ideal for AI agents that need lightweight, pay-as-you-go access to blockchain analytics for DeFi research, monitoring, or pipeline automation.

## Known failure modes

- Insufficient USDC balance for payment — 402 Payment Required returned
- Invalid or missing x402 payment header — request rejected
- Dune query timeout or upstream Dune Analytics outage — 503 or timeout error
- Malformed query parameters — 400 Bad Request
- Rate limiting or temporary service unavailability from SperaxOS backend

## 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 intelligence data sourced from Dune Analytics, including on-chain metrics, protocol statistics, and blockchain analytics results relevant to the queried parameters. Data is returned as structured JSON.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-dune-data-api-54ced85e/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)
