# DeFi Protocol Revenue Rankings via DefiLlama

> DeFi Protocol Revenue Rankings via DefiLlama is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-01).

Returns DeFi protocols ranked by revenue (protocol/holder fees retained, excluding liquidity provider fees) over 24h, 7d, and 30d periods with 7-day trend, optionally filtered by blockchain.

## Facts

- Endpoint: POST https://api.vextorium.com/defi-ingresos-pago?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-protocol-revenue-rankings-via-defillama-b28f7bc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L4poUV0X_b0zwQDp2W5O1

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-revenue-rankings-via-defillama-b28f7bc2 -d '<json body>'
```

Example prompt: Show me the top 20 DeFi protocols ranked by revenue right now — specifically the fees that go to the protocol and holders, not liquidity providers — filtered to Ethereum only, with 24h, 7d, and 30d breakdowns and the 7-day trend.

## When to prefer this

Use this endpoint when you need protocol-level revenue data specifically reflecting fees retained by the protocol or token holders (not gross fees including LP share). It is ideal for comparing DeFi protocol monetization efficiency, tracking revenue trends, or filtering by specific chains. Prefer this over generic TVL endpoints when the user cares about earnings rather than assets locked.

## Known failure modes

- Invalid chain name returns empty or error response
- Limit outside 1-50 range rejected by schema validation
- DefiLlama upstream outage may return stale or null data
- Protocol with no revenue data in period returns null values for revenue fields

## How this service works

DeFi protocols ranked by revenue (the share of fees the protocol/holders keep, not what goes to liquidity providers), 24h/7d/30d, with 7d trend. Optional per chain. Live from DefiLlama.

## Output

A ranked list of DeFi protocols with their name, category, 24h/7d/30d USD revenue figures (protocol/holder share only, not LP fees), and 7-day percentage change in revenue. Optionally scoped to a specific blockchain. Includes a metadata note field and the chain filter applied.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {
      "cadena": {
       "type": "string",
       "description": "Filter by chain, e.g. Ethereum, Base, Solana (optional)"
      },
      "limite": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1,
       "description": "Number of protocols (1-50, default 15)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "nota": {
       "type": [
        "string",
        "null"
       ]
      },
      "cadena": {
       "type": [
        "string",
        "null"
       ]
      },
      "protocolos": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "object"
        ],
        "properties": {
         "categoria": {
          "type": [
           "null",
           "string"
          ]
         },
         "protocolo": {
          "type": [
           "null",
           "string"
          ]
         },
         "cambio_7d_pct": {
          "type": [
           "null",
           "number"
          ]
         },
         "ingresos_7d_usd": {
          "type": [
           "null",
           "number"
          ]
         },
         "ingresos_24h_usd": {
          "type": [
           "null",
           "number"
          ]
         },
         "ingresos_30d_usd": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nota": "Ingresos = comisiones que se queda el protocolo (no las que van a proveedores de liquidez). Fuente: DefiLlama.",
  "cadena": "todas",
  "protocolos": [
   {
    "categoria": "Stablecoin Issuer",
    "protocolo": "Tether",
    "cambio_7d_pct": 2.16,
    "ingresos_7d_usd": 122438724,
    "ingresos_24h_usd": 17646129,
    "ingresos_30d_usd": 503767801
   },
   {
    "categoria": "Stablecoin Issuer",
    "protocolo": "Circle USDC",
    "cambio_7d_pct": 0.8,
    "ingresos_7d_usd": 50654947,
    "ingresos_24h_usd": 7229424,
    "ingresos_30d_usd": 206134684
   },
   {
    "categoria": "Derivatives",
    "protocolo": "Hyperliquid Perps",
    "cambio_7d_pct": -21.61,
    "ingresos_7d_usd": 12400309,
    "ingresos_24h_usd": 1765187,
    "ingresos_30d_usd": 54418925
   },
   {
    "categoria": "Launchpad",
    "protocolo": "pump.fun",
    "cambio_7d_pct": 16.77,
    "ingresos_7d_usd": 10225374,
    "ingresos_24h_usd": 1461625,
    "ingresos_30d_usd": 32803877
   },
   {
    "categoria": "Trading App",
    "protocolo": "GMGN",
    "cambio_7d_pct": -3.91,
    "ingresos_7d_usd": 4668908,
    "ingresos_24h_usd": 873215,
    "ingresos_30d_usd": 41273199
   },
   {
    "categoria": "Chain",
    "protocolo": "Tron",
    "cambio_7d_pct": -3.43,
    "ingresos_7d_usd": 4991645,
    "ingresos_24h_usd": 832845,
    "ingresos_30d_usd": 23866040
   },
   {
    "categoria": "Physical TCG",
    "protocolo": "Collector Crypt",
    "cambio_7d_pct": 68.33,
    "ingresos_7d_usd": 3367929,
    "ingresos_24h_usd": 760732,
    "ingresos_30d_usd": 11617287
   },
   {
    "categoria": "Trading App",
    "protocolo": "fomo Wallet",
    "cambio_7d_pct": -15.54,
    "ingresos_7d_usd": 4603203,
    "ingresos_24h_usd": 677514,
    "ingresos_30d_usd": 30892426
   },
   {
    "categoria": "Trading App",
    "protocolo": "Axiom",
    "cambio_7d_pct": -10.54,
    "ingresos_7d_usd": 4125685,
    "ingresos_24h_usd": 673813,
    "ingresos_30d_usd": 18436823
   },
   {
    "categoria": "RWA",
    "protocolo": "Grayscale",
    "cambio_7d_pct": -3.05,
    "ingresos_7d_usd": 4323164,
    "ingresos_24h_usd": 612033,
    "ingresos_30d_usd": 17734364
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-revenue-rankings-via-defillama-b28f7bc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
