# SperaxOS DeFiLlama DEX Volumes API

> SperaxOS DeFiLlama DEX Volumes 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-03).

Returns DEX trading volume data filtered by blockchain chain, sourced from DeFiLlama, payable per-request via x402 USDC micropayment.

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/defillama/getDexVolumes?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-defillama-dex-volumes-api-cf00249f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jmRtf_EkFeoMg8va1UP8K

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-defillama-dex-volumes-api-cf00249f -d '<json body>'
```

Example prompt: What's the current DEX trading volume on Ethereum? Pull the latest data from DeFiLlama.

## When to prefer this

Use this endpoint when you need DEX trading volume data filtered by a specific blockchain without managing API keys — ideal for AI agents that can pay per-request via x402 USDC micropayments. Prefer over direct DeFiLlama API calls when you want a pay-as-you-go model with no registration overhead.

## Known failure modes

- Invalid chain name returns empty result or error
- Payment failure via x402 if wallet has insufficient USDC on Base
- Rate limiting or upstream DeFiLlama API unavailability causing timeout
- Unrecognized chain string returns no data
- Network errors during x402 payment processing

## 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 a list of decentralized exchanges and their trading volume metrics for the requested blockchain, including volume figures sourced from DeFiLlama's aggregated DEX data. Response is scoped to the specified chain if provided, or covers all chains if omitted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Filter by blockchain (e.g. \"Ethereum\", \"Solana\")."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-defillama-dex-volumes-api-cf00249f/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)
