DeFi
Protocol fees & revenue API
Fees and revenue for a DeFi protocol (by DefiLlama slug), or the top fee-earning protocols. Answers queries like 'how much does uniswap earn in fees', 'top protocols by revenue', 'protocol fees'.
Price$0.01per request
MethodPOST
Route/v1/defi/fees
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache600s public
defifeesrevenueprotocolearningsdefillama
API URL
Integration docshttps://x402.hexl.dev/v1/defi/feesExample request
{
"protocol": "uniswap"
}Example response
{
"kind": "protocol",
"name": "Uniswap",
"fees24hUsd": 2500000,
"fees7dUsd": 18000000,
"fees30dUsd": 75000000,
"feesAllTimeUsd": 3000000000
}Input schema
{
"type": "object",
"properties": {
"protocol": {
"type": "string",
"examples": [
"uniswap",
"aave"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}