Catalog/defi-protocol-fees

DeFi

Protocol fees API

Total fees paid by users to a protocol (24h/7d/30d/all-time) with change percentages and chains. Sourced from DefiLlama /summary/fees/{protocol}. Answers 'how much in fees does Aave generate','what are Uniswap's 30d fees'.

Price$0.01per request
MethodPOST
Route/v1/defi/protocol-fees
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
defifeesprotocolearningsrevenueusagedefillamametrics
API URLhttps://x402.hexl.dev/v1/defi/protocol-fees
Integration docs
Example request
{
  "protocol": "aave"
}
Example response
{
  "name": "Aave",
  "metric": "fees",
  "fees24hUsd": 1657466,
  "fees7dUsd": 8014044,
  "fees30dUsd": 50323837,
  "fees1yUsd": null,
  "feesAllTimeUsd": 2177158782,
  "change1dPct": 4.2,
  "change7dPct": null,
  "change30dPct": null,
  "chains": [
    "Ethereum",
    "Base"
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "protocol"
  ],
  "properties": {
    "protocol": {
      "type": "string",
      "examples": [
        "aave",
        "uniswap",
        "lido"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}