# DeFi Protocol Fees & Revenue Rankings

> DeFi Protocol Fees & Revenue Rankings is a paid API for AI agents from crypto.apitoll.cloud, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns ranked DeFi protocol fees and revenue data including 24h/7d USD totals, percentage changes, categories, and chain coverage sourced from DefiLlama.

## Facts

- Endpoint: GET https://crypto.apitoll.cloud/v1/crypto/fees
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-protocol-fees-revenue-rankings-a33dd09c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GFzN4EqRz9R9VGKqXdgtI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability defi-protocol-fees-revenue-rankings-a33dd09c
```

Example prompt: Show me the top 50 DeFi protocols ranked by fees earned — I want to see which ones like Uniswap, Aave, and Hyperliquid are actually generating real revenue in the last 24 hours and 7 days, not just holding TVL.

## When to prefer this

Use this endpoint when you need to identify which DeFi protocols generate real economic activity through fees and revenue, rather than just ranking by TVL. Ideal for comparing protocol monetization, tracking fee trends over 1d/7d windows, or finding where actual on-chain commerce is happening across chains like Ethereum, Solana, Arbitrum, etc. Prefer over generic crypto market endpoints when the question is specifically about protocol-level earnings.

## Known failure modes

- limit parameter out of range (must be 1–100) returns validation error
- DefiLlama upstream data unavailable causes empty or stale response
- Payment failure via x402 if USDC balance insufficient
- Network timeout if DefiLlama source is slow to respond

## How this service works

DeFi protocol fees and revenue ranked: which protocols actually earn money (not just hold TVL). Each returns 24-hour and 7-day fees in USD, revenue where DefiLlama breaks it out, 1d/7d change, category, and the chains it runs on. See where real economic activity is across Uniswap, Aave, Lido, Hyperliquid and more. Sourced from DefiLlama.

## Output

A ranked list of DeFi protocols with their 24h and 7d fees in USD, revenue where available, 1-day and 7-day percentage changes, category labels, and the chains each protocol operates on. Also includes aggregate total fees across all returned protocols for both time windows, plus the data source attribution (DefiLlama).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1,
       "description": "Max protocols returned (1–100, default 20)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "number"
      },
      "source": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        }
       }
      },
      "protocols": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": "string"
         },
         "chains": {
          "type": "array",
          "items": {
           "type": "string"
          }
         },
         "category": {
          "type": "string"
         },
         "fees7dUsd": {
          "type": "number"
         },
         "fees24hUsd": {
          "type": "number"
         },
         "change1dPct": {
          "type": "number"
         },
         "change7dPct": {
          "type": "number"
         },
         "revenue24hUsd": {
          "type": "number"
         }
        }
       }
      },
      "total7dUsd": {
       "type": "number"
      },
      "total24hUsd": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "source": {
   "name": "DefiLlama"
  },
  "protocols": [
   {
    "name": "Lido",
    "chains": [
     "Ethereum"
    ],
    "category": "Liquid Staking",
    "fees7dUsd": 12600000,
    "fees24hUsd": 1800000,
    "change1dPct": 2.1,
    "change7dPct": -3.4,
    "revenue24hUsd": 180000
   }
  ],
  "total7dUsd": 340000000,
  "total24hUsd": 48000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-fees-revenue-rankings-a33dd09c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crypto.apitoll.cloud](https://www.zero.xyz/host/crypto.apitoll.cloud/llms.txt)
