# DEX Trading Volumes

> DEX Trading Volumes is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Returns 24h/7d/30d decentralized exchange trading volumes for the total market and top DEXs (Uniswap, Aerodrome, Raydium, etc.), optionally filtered by chain.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/crypto/dex-volumes?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dex-trading-volumes-ebccbe6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__DD6ZmJ68OBRBm90ChEIS

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-volumes-ebccbe6c
```

Example prompt: What are the top 10 DEXs by trading volume on Solana right now — show me their 24h, 7d, and 30d volumes and how much the volume changed today?

## When to prefer this

Use this endpoint when you need current DEX trading volume rankings and trend data across the DeFi ecosystem. Prefer it over token price endpoints when the goal is to assess exchange activity, compare DEX market share, or monitor chain-level DeFi usage. It is the right choice for competitive DEX analysis, DeFi market health dashboards, or identifying which protocols are seeing unusual volume spikes.

## Known failure modes

- Invalid chain name returns empty results or an error
- Limit parameter out of range (1-100) returns a validation error
- Service temporarily unavailable on Render free tier (cold start latency or downtime)
- Payment failure if USDC balance or x402 wallet is insufficient

## How this service works

Decentralized exchange volume: total market 24h/7d and the top DEXs (Uniswap, Aerodrome, Raydium...) with 24h, 7d, 30d volume and daily change, for all chains or one chain. Use to compare DEX activity or chain usage.

## Output

Returns the total DEX market volume for 24h and 7d periods, plus a ranked list of top DEXs (e.g. Uniswap, Aerodrome, Raydium) each with their 24h, 7d, and 30d trading volumes and the daily percentage change. Results can be scoped to a specific blockchain or aggregated across all chains.

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain name, e.g. Base, Solana (default all)"
      },
      "limit": {
       "type": "integer",
       "description": "Maximum number of results (1-100)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dex-trading-volumes-ebccbe6c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
