DeFi Protocol Revenue & Fees Tracker
Pricing
$20.00 / 1,000 overview fetcheds
DeFi Protocol Revenue & Fees Tracker
Track daily, weekly, and monthly fees and revenue for 2000+ DeFi protocols using DefiLlama. Compare Uniswap vs Hyperliquid vs Aave vs Lido revenue. Filter by category (DEX, Lending, Derivatives) or chain. No API key required.
DeFi Protocol Revenue & Fee Tracker
Track fees and protocol revenue for 2,600+ DeFi protocols across all major chains, powered by the DeFiLlama Dimensions API (free, no API key required). Covers DEXs, lending, derivatives, liquid staking, bridges, NFT marketplaces, and more — with 24h, 7d, 30d, and 1Y metrics, plus a revenue ratio showing how much of collected fees protocols actually retain.
Why Fees ≠ Revenue
| Metric | Definition |
|---|---|
| Fees | Total value paid by users (traders, borrowers, etc.) |
| Revenue | Fees retained by the protocol treasury/stakers (fees minus LP share) |
Example — Uniswap V4: collects 30d fees from traders (e.g. $60M) but retains ~$0 revenue (all goes to LPs). The protocol switch would change this.
Example — Hyperliquid: $65M in 30d fees, retains ~$50M as revenue (stakers + insurance fund).
Revenue ratio = revenue_30d / fees_30d — a key protocol sustainability metric.
What It Does
- Fetches fees AND revenue from DeFiLlama simultaneously (concurrent)
- Returns 24h, 7d, 30d, 1Y, and annualized figures for each
- Computes
revenue_ratio_30d(what fraction of fees the protocol keeps) - Sortable by any time window (24h, 7d, 30d) for fees or revenue
- Filterable by protocol category (DEX, Lending, Derivatives, etc.)
- Search by name: find any specific protocol
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
top_n | integer | 100 | Return top N protocols by sort metric |
sort_by | select | fees_30d_usd | Sort by: fees_30d_usd, fees_7d_usd, fees_24h_usd, revenue_30d_usd, revenue_7d_usd |
categories | array | all | Filter categories: Dexs, Lending, Derivatives, Liquid Staking, etc. |
search | string | "" | Protocol name search (case-insensitive substring) |
Sample Output
[{"name": "Hyperliquid Perps","slug": "hyperliquid-perps","category": "Derivatives","chains": ["Hyperliquid"],"token_symbol": "HYPE","fees_24h_usd": 2208437,"fees_7d_usd": 15388649,"fees_30d_usd": 65454073,"fees_1y_usd": 789234120,"fees_annualized_usd": 802940244,"revenue_24h_usd": 1702938,"revenue_7d_usd": 11857634,"revenue_30d_usd": 50316036,"revenue_1y_usd": 609182341,"revenue_ratio_30d": 0.7689,"source": "DeFiLlama Dimensions API"},{"name": "Aave V3","slug": "aave-v3","category": "Lending","chains": ["Ethereum", "Polygon", "Arbitrum", "Optimism"],"token_symbol": "AAVE","fees_24h_usd": 342819,"fees_7d_usd": 2374513,"fees_30d_usd": 10234789,"revenue_24h_usd": 28568,"revenue_7d_usd": 197876,"revenue_30d_usd": 852899,"revenue_ratio_30d": 0.0833,"source": "DeFiLlama Dimensions API"}]
Use Cases
Real yield screening — Filter to protocols with high revenue_ratio_30d (>0.3) to find protocols that actually pay their token holders meaningful yields vs. just generating LP fees.
DeFi protocol valuation — Use fees_1y_usd and revenue_1y_usd as the denominator for Price/Fees and Price/Revenue ratios — the DeFi equivalent of P/E ratio.
Competitive category analysis — Filter to Dexs or Lending to rank all protocols within a category by 30d fees to identify market leaders and challengers.
Revenue trend monitoring — Compare fees_7d_usd vs fees_30d_usd / 4 to spot protocols with improving or declining fee momentum.
Token staking ROI — revenue_30d_usd annualized ÷ token market cap gives a rough earnings yield for stakers (where revenue flows to stakers).
Pricing
- $0.02 per run (PPE — flat per overview-fetched)
- No per-record charge — one API call covers all 2,600+ protocols
FAQ
Do I need an API key? No. DeFiLlama is free and open — no registration required.
What is the DeFiLlama Dimensions API? DeFiLlama tracks protocol-level fee and revenue data through community-maintained adapters. Coverage is best for established protocols with >$1M annual fees. ~200 new protocols are added monthly.
What's the difference from the DeFi Yield Scanner? The Yield Scanner tracks APY/APR for specific pools and vaults (what you earn by depositing). This actor tracks protocol-level fees and revenue — what the protocol earns from all its users. Different use cases: one is for yield farming strategy, the other for protocol fundamental analysis.
Is historical data available? This actor fetches current snapshots (24h, 7d, 30d, 1Y aggregates). For daily historical fee data per protocol, DeFiLlama provides a separate chart endpoint — request it as a feature via Apify issues.
Data Source
DeFiLlama Dimensions API — free, open, community-maintained.