# DeFi Chain Fees & Protocol Revenue Rankings

> DeFi Chain Fees & Protocol Revenue Rankings is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a ranked list of blockchains sorted by protocol fees and revenue over the last 24 hours, aggregated from DeFiLlama data.

## Facts

- Endpoint: GET https://api.x402node.dev/defi/chain-fees
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-chain-fees-protocol-revenue-rankings-1c32a5d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ewNElqj4XzbdFHyTHxg1U

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-chain-fees-protocol-revenue-rankings-1c32a5d3
```

Example prompt: Which blockchains are generating the most protocol fees and revenue right now — can you pull the latest 24-hour chain fee rankings from DeFiLlama?

## When to prefer this

Use this endpoint when you need live, ranked blockchain fee and revenue data for the past 24 hours that an LLM cannot produce from training data. Ideal for comparing chain-level economic activity, identifying where DeFi volume is concentrated, or monitoring shifts in blockchain demand in real time. Prefer over static or cached alternatives when recency matters.

## Known failure modes

- DeFiLlama upstream data unavailable — may return stale or empty data
- Payment not processed — 402 response if USDC payment header is missing or invalid
- Rate limiting if too many calls are made in rapid succession
- Partial data if some chains are temporarily unreported by DeFiLlama

## How this service works

Ranks blockchains by protocol fees and revenue over the last 24 hours, aggregated from DeFiLlama, revealing where real on-chain economic activity and demand are concentrated right now. Live aggregated fee data an LLM cannot produce. chain fees, protocol revenue, onchain activity, where is the volume Accepts payment on Base or Solana — either network works.

## Output

A ranked list of blockchains with their 24-hour protocol fee and revenue figures, showing where real on-chain economic activity and demand are currently concentrated, sourced from DeFiLlama aggregated data.

## 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": "string",
       "description": "max chains, default 15"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-chain-fees-protocol-revenue-rankings-1c32a5d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
