AgentAPIGate
Back to Catalog
GET /v1/crypto/defillama/dex_volumesPack: finance·MCP Tool: crypto_defillama_dex_volumes

DefiLlama DEX Spot Trading Volumes Overview

Retrieve decentralized exchange (DEX) 24h, 7d, and 30d trading volumes from DefiLlama with optional chain and protocol filtering.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Optional blockchain filter (e.g. Solana, Ethereum, Base)
Optional protocol name filter (e.g. uniswap, raydium)
Max protocols (1-50)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/crypto/defillama/dex_volumes" \
  --data-urlencode "limit=15" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-72% tokens
# DefiLlama DEX Spot Trading Volumes Overview (`crypto.defillama.dex_volumes`)
**total_24h**: 6463099501.63 · **total_7d**: 53216686407.59996 · **change_1d**: 8.75 · **count**: 15

## protocols
- [1] name: Kalshi, display_name: Kalshi, total_24h: 757682059, total_7d: 4817998921, total_30d: 19679044407
- [2] name: Uniswap V4, display_name: Uniswap V4, total_24h: 664920674, total_7d: 4864993353, total_30d: 27712808366
- [3] name: Aero Slipstream, display_name: Aero Slipstream, total_24h: 655022645, total_7d: 5851742231, total_30d: 22677259498
- [4] name: PancakeSwap AMM V3, display_name: PancakeSwap AMM V3, total_24h: 431811087, total_7d: 3977802983, total_30d: 20313651564
- [5] name: Uniswap V3, display_name: Uniswap V3, total_24h: 422550324, total_7d: 6124962552, total_30d: 34694610051
- [6] name: Metric V1, display_name: Metric V1, total_24h: 326530303, total_7d: 2375229899, total_30d: 9988971409
- [7] name: THORChain DEX, display_name: THORChain DEX, total_24h: 223849649, total_7d: 1628465178, total_30d: 5117611057
- [8] name: Hyperliquid Spot Orderbook, display_name: Hyperliquid Spot Orderbook, total_24h: 147688424, total_7d: 1191445579, total_30d: 5600036282
- [9] name: PumpSwap, display_name: PumpSwap, total_24h: 139668933, total_7d: 776422633, total_30d: 5460746379
- [10] name: NEAR Intents, display_name: NEAR Intents, total_24h: 129319258, total_7d: 1061222821, total_30d: 4305032844
- [11] name: Polymarket US, display_name: Polymarket US, total_24h: 126153903, total_7d: 852732742, total_30d: 3384023957
- [12] name: BisonFi, display_name: BisonFi, total_24h: 111447631, total_7d: 1046493927, total_30d: 5032687099
- [13] name: Orca DEX, display_name: Orca DEX, total_24h: 108628612, total_7d: 1280507083, total_30d: 6516638676
- [14] name: Raydium AMM, display_name: Raydium AMM, total_24h: 99883815, total_7d: 996675662, total_30d: 4496105022
- [15] name: Flashnet, display_name: Flashnet, total_24h: 95061917, total_7d: 1077876702, total_30d: 3205562637

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: crypto.defillama.dex_volumes · Method: GET
ParameterTypeReqSample / DefaultDescription
chainstringoptional—Optional blockchain filter (e.g. Solana, Ethereum, Base)
querystringoptional—Optional protocol name filter (e.g. uniswap, raydium)
limitnumberoptional15Max protocols (1-50)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolcrypto_defillama_dex_volumesOAuth 2.1 Hub & /mcp/finance
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency114 ms$0 billed on empty or 4xx/5xx
Token Economy1904t → 533t (-72%)Partner credit: eligible

Frequently Asked Questions

How do I call DefiLlama DEX Spot Trading Volumes Overview (crypto.defillama.dex_volumes) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/crypto/defillama/dex_volumes with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool crypto_defillama_dex_volumes on https://mcp.agentapigate.ai/mcp.

What does crypto.defillama.dex_volumes cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on crypto.defillama.dex_volumes?

Passing ?format=md transforms the response into normalized Markdown (~533 tokens vs ~1904 raw tokens, saving 72% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only finance endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["finance"], optional allowed_endpoints: ["crypto.defillama.dex_volumes"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.