# VAPE Protocol Fees

> VAPE Protocol Fees is a paid API for AI agents from vape-x402.vapex402.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a DeFi protocol's real earned fees and revenue over 24h, 7d, and 30d periods, with its logo, to assess whether it actually generates income vs. just holding TVL.

## Facts

- Endpoint: GET https://vape-x402.vapex402.workers.dev/data/protocol_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/vape-protocol-fees-5d9b84ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ihe46Dwtrzdvn_pIdM4xM

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 vape-protocol-fees-5d9b84ec
```

Example prompt: How much has Uniswap actually earned in fees over the last 24 hours, 7 days, and 30 days — I want to know if it's making real money or just sitting on TVL.

## When to prefer this

Use this endpoint when you need to evaluate whether a specific DeFi protocol generates real economic activity through fees and revenue, rather than just inspecting its TVL. It is the right choice for legitimacy checks, comparative protocol analysis, or surfacing fee-generation signals for investment or research purposes.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty result
- Protocol not tracked by the underlying data source returns no data
- Network timeout or upstream data provider outage
- Missing slug query parameter causes request failure

## How this service works

VAPE protocol_fees — A protocol's real earned fees + revenue (24h/7d/30d/1y/all-time) with its logo — 'does this actually make money, or is it just parked TVL?', a legitimacy signal raw TVL misses.

## Output

Returns the protocol's earned fees and revenue broken down by 24h, 7d, and 30d time windows, along with the protocol's logo. Provides a legitimacy signal distinguishing real fee generation from parked TVL.

## 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",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "description": "protocol slug"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "logo": "https://...",
  "name": "AAVE",
  "slug": "aave",
  "fees_24h": 500000,
  "revenue_24h": 90000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vape-protocol-fees-5d9b84ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vape-x402.vapex402.workers.dev](https://www.zero.xyz/host/vape-x402.vapex402.workers.dev/llms.txt)
