# DEX Trading Volume Rankings (DefiLlama via task-radar-x402)

> DEX Trading Volume Rankings (DefiLlama via task-radar-x402) is a paid API for AI agents from task-radar-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns ranked DEX trading volume data for 24h, 7d, and 30d periods, optionally filtered by blockchain chain, powered by DefiLlama.

## Facts

- Endpoint: GET https://task-radar-x402.vercel.app/api/dex-volumes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dex-trading-volume-rankings-defillama-via-task-radar-x402-3a0b6dfd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2-uJeA5obMmfwj5LCuJ3G

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 dex-trading-volume-rankings-defillama-via-task-radar-x402-3a0b6dfd
```

Example prompt: Show me the top 10 DEXes by trading volume on Solana — I want to see their 24h, 7d, and 30d numbers ranked.

## When to prefer this

Use this endpoint when you need ranked DEX trading volume data across multiple time horizons (24h/7d/30d) with optional chain filtering. Prefer this over general DeFi endpoints when the goal is comparing DEX activity or identifying which exchange dominates a specific chain. This endpoint is specifically sourced from DefiLlama and costs only $0.01 USDC per call on Base.

## Known failure modes

- Invalid chain name returns empty results or error
- Limit out of range (>100 or <1) may return default or error
- DefiLlama upstream outage causes failure or stale data
- Payment failure on Base blocks the call from being processed

## How this service works

DEX trading volume ranking 24h/7d/30d, optionally by chain (DefiLlama). 0.01 USDC/call on Base.

## Output

A ranked list of decentralized exchanges with their trading volume figures across 24h, 7d, and 30d time windows, optionally scoped to a specific blockchain. Includes DEX names, chain info, and volume metrics for comparison.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "description": "e.g. Base, Solana (optional)"
      },
      "limit": {
       "type": "string",
       "description": "1-100 (default 25)"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dex-trading-volume-rankings-defillama-via-task-radar-x402-3a0b6dfd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-radar-x402.vercel.app](https://www.zero.xyz/host/task-radar-x402.vercel.app/llms.txt)
