Protocol fees + revenue
fees_revenueWhich protocols and chains earn the most: fees or revenue over 24 h / 7 d / 30 d, filterable by chain — the cash-flow view of crypto. DefiLlama fees/revenue overview. "fees" = what users paid; "revenue" = what the protocol kept. Ranked, with day-over-day change. Price: $0.002 per call (10 free/day; after that a payment-required result lists x402 options). Errors: returns isError with a message for invalid input or an upstream failure (not charged).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fees_revenue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | optional | |
| limit | No | How many protocols to return. Range 1-50. Default 20. | |
| metric | No | Gross fees paid by users, or revenue kept by the protocol. One of "fees", "revenue". Default "fees". | fees |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| scope | No | ||
| metric | No | ||
| source | No | ||
| total_usd | No |