DeFi
DEX trading volume (per protocol) API
Trading volume for a single DEX (24h/7d/30d/all-time) with day/week/month percent change and chains. Sourced from DefiLlama /summary/dexs/{protocol}. Answers 'what is Uniswap's 24h volume','how is Curve trading volume trending'.
Price$0.01per request
MethodPOST
Route/v1/defi/dex-volume
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
defidexvolumetradingswapprotocoldefillamaamm
API URL
Integration docshttps://x402.hexl.dev/v1/defi/dex-volumeExample request
{
"protocol": "uniswap"
}Example response
{
"name": "Uniswap",
"metric": "volume",
"volume24hUsd": 2143172099,
"volume7dUsd": 9720906825,
"volume30dUsd": 38452828958,
"volume1yUsd": null,
"volumeAllTimeUsd": 3688509222796,
"change1dPct": 15.41,
"change7dPct": null,
"change30dPct": null,
"chains": [
"Ethereum",
"Base"
]
}Input schema
{
"type": "object",
"required": [
"protocol"
],
"properties": {
"protocol": {
"type": "string",
"examples": [
"uniswap",
"curve-dex",
"pancakeswap"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}