# DeFi Protocol Fees & Revenue Lookup

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

Returns 24h, 7d, 30d, and all-time fees and revenue totals for a named DeFi protocol, with 1d/7d/1m trend percentages, sourced live from DefiLlama.

## Facts

- Endpoint: POST https://api.vextorium.com/protocolo-comisiones-pago?utm_source=zero.xyz
- Price: $0.005/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-fees-revenue-lookup-3391fc2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FM6rj5Ge9r_C153b3XOU6

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-lookup-3391fc2d -d '<json body>'
```

Example prompt: What are Uniswap's fees and revenue for the last 24 hours, 7 days, and 30 days, and is the trend going up or down?

## When to prefer this

Use this endpoint when you need structured, multi-timeframe fee and revenue data for a specific DeFi protocol sourced from DefiLlama. Ideal for protocol analytics, investor due diligence, trend monitoring, or comparing what users pay vs. what protocols retain. Prefer this over raw DefiLlama API calls when you need a clean, pre-parsed response with trend percentages already computed.

## Known failure modes

- Unknown or misspelled protocol name returns null fields or an error note
- Protocol exists on DefiLlama but has no fee/revenue tracking — returns nulls with a note
- DefiLlama upstream outage causes stale or missing data
- Protocol name case-sensitivity issues (e.g. 'Uniswap' vs 'uniswap') may cause lookup failures

## How this service works

Fees and revenue of ONE DeFi protocol in detail: 24h, 7d, 30d and all-time totals, with 1d/7d/1m trend. Fees are what users pay; revenue is what the protocol keeps. Live from DefiLlama.

## Output

Returns a JSON object with the protocol name, USD fee totals for 24h/7d/30d and all-time, USD revenue totals for 24h and 30d, percentage changes for 1d/7d/1m periods, and an optional note field (e.g. if data is partially unavailable).

## 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": [
      "nombre"
     ],
     "properties": {
      "nombre": {
       "type": "string",
       "description": "Protocol name, e.g. aave, uniswap, lido, pendle"
      }
     }
    },
    "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"
       ]
      },
      "protocolo": {
       "type": [
        "string",
        "null"
       ]
      },
      "cambio_1d_pct": {
       "type": [
        "number",
        "null"
       ]
      },
      "cambio_1m_pct": {},
      "cambio_7d_pct": {},
      "ingresos_24h_usd": {
       "type": [
        "number",
        "null"
       ]
      },
      "ingresos_30d_usd": {
       "type": [
        "number",
        "null"
       ]
      },
      "comisiones_7d_usd": {
       "type": [
        "number",
        "null"
       ]
      },
      "comisiones_24h_usd": {
       "type": [
        "number",
        "null"
       ]
      },
      "comisiones_30d_usd": {
       "type": [
        "number",
        "null"
       ]
      },
      "comisiones_total_historico_usd": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nota": "Comisiones = lo que pagan los usuarios; ingresos = lo que retiene el protocolo. Fuente: DefiLlama.",
  "protocolo": "Uniswap V3",
  "cambio_1d_pct": -31.76,
  "cambio_1m_pct": null,
  "cambio_7d_pct": null,
  "ingresos_24h_usd": 390944,
  "ingresos_30d_usd": 15681209,
  "comisiones_7d_usd": 10881901,
  "comisiones_24h_usd": 1389606,
  "comisiones_30d_usd": 65445533,
  "comisiones_total_historico_usd": 3698468142
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-fees-revenue-lookup-3391fc2d/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)
