# DEX Volume Rankings by Chain

> DEX Volume Rankings by Chain is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-01).

Returns decentralized exchanges ranked by 24h and 7d traded volume, with market share and 7d change, optionally filtered by blockchain, sourced live from DefiLlama.

## Facts

- Endpoint: POST https://api.vextorium.com/dex-volumen-pago?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dex-volume-rankings-by-chain-da2f11a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vBWHZkXVQXI2edEWc1LLe

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-volume-rankings-by-chain-da2f11a9 -d '<json body>'
```

Example prompt: Show me the top 20 decentralized exchanges ranked by 24h trading volume on Base — include their 7-day volume, market share, and how their volume changed over the past week.

## When to prefer this

Use this endpoint when you need live, ranked DEX volume data sourced from DefiLlama, especially when you want to filter by a specific chain like Base, Solana, or Arbitrum. Prefer this over general crypto market APIs when the goal is to compare decentralized exchange market share and volume trends across DeFi, not just token prices or CEX data.

## Known failure modes

- Unknown or misspelled chain name returns empty results or null array
- Requesting more than 50 DEXs returns a validation error
- DefiLlama upstream data unavailability may cause null volume fields
- Malformed request body returns schema validation error

## How this service works

Decentralized exchanges ranked by traded volume (24h and 7d), each with its market share and 7d change, plus total volume. Optional per chain (great to see who leads on Base, Solana...). Live from DefiLlama.

## Output

A JSON object containing an array of DEXs ranked by volume, each with the DEX name, 24h volume in USD, 7d volume in USD, 24h market share percentage, and 7d percentage change. Also includes the total 24h volume across all listed DEXs and optionally a note about the chain filter applied.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {
      "cadena": {
       "type": "string",
       "description": "Filter by chain, e.g. Base, Solana, Ethereum, Arbitrum (optional)"
      },
      "limite": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1,
       "description": "Number of DEXs (1-50, default 15)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "dexs": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "object"
        ],
        "properties": {
         "dex": {
          "type": [
           "null",
           "string"
          ]
         },
         "cambio_7d_pct": {
          "type": [
           "null",
           "number"
          ]
         },
         "cuota_24h_pct": {
          "type": [
           "null",
           "number"
          ]
         },
         "volumen_7d_usd": {
          "type": [
           "null",
           "number"
          ]
         },
         "volumen_24h_usd": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "nota": {
       "type": [
        "string",
        "null"
       ]
      },
      "cadena": {
       "type": [
        "string",
        "null"
       ]
      },
      "volumen_total_24h_usd": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dexs": [
   {
    "dex": "Uniswap V3",
    "cambio_7d_pct": 1.96,
    "cuota_24h_pct": 13.2,
    "volumen_7d_usd": 9794331637,
    "volumen_24h_usd": 1508116970
   },
   {
    "dex": "Uniswap V4",
    "cambio_7d_pct": -2.06,
    "cuota_24h_pct": 13.13,
    "volumen_7d_usd": 9016970755,
    "volumen_24h_usd": 1499990072
   },
   {
    "dex": "PancakeSwap AMM V3",
    "cambio_7d_pct": -5.23,
    "cuota_24h_pct": 6.01,
    "volumen_7d_usd": 3999188139,
    "volumen_24h_usd": 686834795
   },
   {
    "dex": "Aerodrome Slipstream",
    "cambio_7d_pct": 44.69,
    "cuota_24h_pct": 5.8,
    "volumen_7d_usd": 3508232278,
    "volumen_24h_usd": 662841592
   },
   {
    "dex": "Kalshi",
    "cambio_7d_pct": 2.99,
    "cuota_24h_pct": 3.83,
    "volumen_7d_usd": 3360270261,
    "volumen_24h_usd": 437539337
   },
   {
    "dex": "Orca DEX",
    "cambio_7d_pct": 1.44,
    "cuota_24h_pct": 3.26,
    "volumen_7d_usd": 2346517073,
    "volumen_24h_usd": 372912611
   },
   {
    "dex": "BisonFi",
    "cambio_7d_pct": -5.2,
    "cuota_24h_pct": 3.06,
    "volumen_7d_usd": 2299180493,
    "volumen_24h_usd": 349038628
   },
   {
    "dex": "PumpSwap",
    "cambio_7d_pct": -46.79,
    "cuota_24h_pct": 2.95,
    "volumen_7d_usd": 2246463725,
    "volumen_24h_usd": 337458953
   },
   {
    "dex": "Raydium AMM",
    "cambio_7d_pct": -42,
    "cuota_24h_pct": 2.42,
    "volumen_7d_usd": 1985408480,
    "volumen_24h_usd": 275994671
   },
   {
    "dex": "THORChain DEX",
    "cambio_7d_pct": null,
    "cuota_24h_pct": 2.24,
    "volumen_7d_usd": 1461825368,
    "volumen_24h_usd": 255737837
   }
  ],
  "nota": "Volumen negociado en cada DEX. Fuente: DefiLlama.",
  "cadena": "todas",
  "volumen_total_24h_usd": 11422897183
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dex-volume-rankings-by-chain-da2f11a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
