Aggregate DEX trading volume data across all chains
curl "https://api.crypton.dev/v2/defi/dex-volumes" \ -H "X-API-Key: YOUR_API_KEY"
{ "status": "ok", "timestamp": 1711670400000, "data": { "totalDataChart": [...], "totalDataChartBreakdown": [...], "protocols": [ { "name": "uniswap", "displayName": "Uniswap", "total24h": 2500000000, "total7d": 15000000000, "chains": ["Ethereum", "Arbitrum", "Polygon", "Base", "Optimism"] } ] } }
# Top DEXes by 24h volume curl -s "https://api.crypton.dev/v2/defi/dex-volumes" -H "X-API-Key: YOUR_KEY" \ | jq '[.data.protocols | sort_by(-.total24h) | .[:10][] | {name: .displayName, vol_24h_m: (.total24h / 1e6 | round)}]'