# DeFi Protocol Fee Rankings

> DeFi Protocol Fee Rankings 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 fees paid by users over 24h, 7d, and 30d periods, with category classification and 7-day fee trend, optionally filtered by blockchain.

## Facts

- Endpoint: POST https://api.vextorium.com/defi-comisiones-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-fee-rankings-f3d2c103
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NBcz4SoMfr0xzA_PifxBk

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-fee-rankings-f3d2c103 -d '<json body>'
```

Example prompt: Show me the top 20 DeFi protocols ranked by fees on Ethereum — I want to see which ones have the highest 24h, 7d, and 30d fees and how their fees are trending over the past week.

## When to prefer this

Use this endpoint when you need a ranked leaderboard of DeFi protocols by user-paid fees across multiple time horizons (24h, 7d, 30d) with trend data. Prefer this over single-protocol fee lookups when comparing multiple protocols or identifying top earners. Use the chain filter when you only care about a specific blockchain ecosystem. For revenue (protocol-retained fees) rather than gross fees paid, use the companion revenue-ranking endpoint.

## Known failure modes

- Invalid or unrecognized chain name returns empty or error response
- Limit out of range (below 1 or above 50) causes validation error
- DefiLlama data source temporarily unavailable causing upstream timeout
- Malformed request body returns 400-level error

## How this service works

DeFi protocols ranked by the fees users pay them (24h, 7d, 30d), with category and 7d trend. Optional per chain. High, steady fees = a real business. Live from DefiLlama.

## Output

Returns an array of DeFi protocols sorted by fees descending, each with protocol name, category (e.g. Dex, Lending, Liquid Staking), fees in USD for 24h/7d/30d windows, and 7-day percentage change in fees. Also includes optional chain filter echo and any relevant notes.

## 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, Arbitrum (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"
          ]
         },
         "comisiones_7d_usd": {
          "type": [
           "null",
           "number"
          ]
         },
         "comisiones_24h_usd": {
          "type": [
           "null",
           "number"
          ]
         },
         "comisiones_30d_usd": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nota": "Comisiones = lo que pagan los usuarios al protocolo. Alta y estable = negocio real. Fuente: DefiLlama.",
  "cadena": "todas",
  "protocolos": [
   {
    "categoria": "Stablecoin Issuer",
    "protocolo": "Tether",
    "cambio_7d_pct": 2.16,
    "comisiones_7d_usd": 122438724,
    "comisiones_24h_usd": 17646129,
    "comisiones_30d_usd": 503767801
   },
   {
    "categoria": "Stablecoin Issuer",
    "protocolo": "Circle USDC",
    "cambio_7d_pct": 0.8,
    "comisiones_7d_usd": 50654947,
    "comisiones_24h_usd": 7229424,
    "comisiones_30d_usd": 206134684
   },
   {
    "categoria": "Dexs",
    "protocolo": "Uniswap V4",
    "cambio_7d_pct": 7.04,
    "comisiones_7d_usd": 20640542,
    "comisiones_24h_usd": 3719213,
    "comisiones_30d_usd": 136524298
   },
   {
    "categoria": "Dexs",
    "protocolo": "PumpSwap",
    "cambio_7d_pct": 9.14,
    "comisiones_7d_usd": 30605650,
    "comisiones_24h_usd": 3708908,
    "comisiones_30d_usd": 105930967
   },
   {
    "categoria": "Prediction Market",
    "protocolo": "Polymarket US",
    "cambio_7d_pct": 30.43,
    "comisiones_7d_usd": 18248745,
    "comisiones_24h_usd": 2346079,
    "comisiones_30d_usd": 57420039
   },
   {
    "categoria": "Derivatives",
    "protocolo": "Hyperliquid Perps",
    "cambio_7d_pct": -22.74,
    "comisiones_7d_usd": 16033595,
    "comisiones_24h_usd": 2252217,
    "comisiones_30d_usd": 69766925
   },
   {
    "categoria": "Launchpad",
    "protocolo": "pump.fun",
    "cambio_7d_pct": 15.89,
    "comisiones_7d_usd": 14026904,
    "comisiones_24h_usd": 2024455,
    "comisiones_30d_usd": 45983581
   },
   {
    "categoria": "Liquid Staking",
    "protocolo": "Lido",
    "cambio_7d_pct": 5.39,
    "comisiones_7d_usd": 12729617,
    "comisiones_24h_usd": 1896559,
    "comisiones_30d_usd": 50746882
   },
   {
    "categoria": "Launchpad",
    "protocolo": "Pons V2",
    "cambio_7d_pct": -26.37,
    "comisiones_7d_usd": 11541609,
    "comisiones_24h_usd": 1838003,
    "comisiones_30d_usd": 135018051
   },
   {
    "categoria": "Chain",
    "protocolo": "Canton",
    "cambio_7d_pct": 15.67,
    "comisiones_7d_usd": 12159293,
    "comisiones_24h_usd": 1734855,
    "comisiones_30d_usd": 48857312
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-fee-rankings-f3d2c103/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)
