DEX volume rankings
dex_volumesDEX trading volume in the last 24 h / 7 d / 30 d — all chains or one — with the top DEXes and their share and change. DefiLlama DEX overview. Optionally scoped to one chain. Includes perps with type=perps (derivatives volume) or aggregators. Price: free. Errors: returns isError with a message for invalid input or an upstream failure (not charged).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dex_volumes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Spot DEXes, perp/derivatives DEXes, or DEX aggregators. One of "dexs", "derivatives", "aggregators". Default "dexs". | dexs |
| chain | No | e.g. Solana, Base (optional) | |
| limit | No | How many venues to return. Range 1-50. Default 15. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| type | No | ||
| scope | No | ||
| source | No | ||
| volume_usd | No | ||
| change_1d_pct | No | ||
| change_7d_pct | No |