getProtocolFeesAndRevenue

3 credits per call

Get fee and revenue metrics for a specific DeFi protocol. Returns daily fees, revenue, or holders revenue with 24h/7d/30d aggregates and percentage changes. Use this to compare protocol economics or assess revenue generation.

Try it

Open in playground
kirha tools run defillama_getProtocolFeesAndRevenue \
  --input '{
    "protocol": "aave"
  }'

Uses the key saved by kirha auth login.

  • protocolstring, required

    protocol slug (e.g., 'aave', 'uniswap', 'lido', 'compound-v3')

  • dataTypestring, default "dailyFees"

    dailyFees = total fees collected, dailyRevenue = protocol revenue, dailyHoldersRevenue = revenue to token holders

    One of dailyFees, dailyRevenue, dailyHoldersRevenue