list_fees_revenue
Rank protocols by fees or revenue, selecting daily or all-time metrics. Compare gross fees (paid by users) with protocol revenue (kept by token holders). Ideal for identifying top-earning DeFi protocols.
Instructions
List protocols ranked by fees or revenue (daily or all-time).
Useful for "which protocols make the most money?", "Tron vs Ethereum
fees", or "Aave's revenue this month". DefiLlama distinguishes fees
(gross paid by users) from revenue (kept by the protocol/token holders),
and offers daily and all-time aggregations — pick via data_type.
Args:
limit: Number of protocols to return (1..200).
data_type: Which metric series to pull. "dailyFees" = fees on a daily
basis (typical for "what's hot today?"), "dailyRevenue" = revenue
on a daily basis, "totalFees"/"totalRevenue" = cumulative all-time.
Note: regardless of data_type, each protocol's per-window fields
are still named total24h, total7d, total30d, etc., but they
now refer to the chosen metric.
Returns:
Object with a summary (totals across all protocols: total24h,
total7d, total30d, change_1d, change_7d, change_1m) and
protocols — an array of name, displayName, slug, category,
chains, total24h, total7d, total30d, total1y, totalAllTime,
change_7dover7d, change_30dover30d.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| data_type | No | dailyFees |