# DeFi Protocol Fees & Revenue Lookup

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

Returns 24h, 7d, 30d, and all-time fees and revenue data for any DeFi protocol, covering 7,000+ protocols via DeFi Llama.

## Facts

- Endpoint: GET https://api.strale.io/x402/protocol-fees-lookup?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-7ce9c887
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wwln_1zxmediKs7lWSH9y

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 api-strale-io-7ce9c887
```

Example prompt: What are the fees and revenue for Aave V3 — give me the 24h, 7d, 30d, and all-time numbers.

## When to prefer this

Use this endpoint when you need structured fee and revenue metrics for any DeFi protocol across multiple time horizons. It is ideal for protocol comparison, due diligence, yield analysis, or tracking DeFi ecosystem revenue trends. The 7,000+ protocol coverage via DeFi Llama makes it the best choice for broad DeFi analytics without needing to integrate DeFi Llama directly.

## Known failure modes

- Unknown or misspelled protocol name returns an error or empty result
- Protocol exists on DeFi Llama but has no fee tracking data
- Rate limiting or payment failure returns 402 or 429 status
- Protocol slug differs from common name (e.g., 'uniswap-v3' vs 'uniswap') causing no match
- Newly launched protocols may have incomplete or missing historical data

## How this service works

Get fees and revenue data for any DeFi protocol. Returns 24h, 7d, 30d, and all-time fees plus revenue breakdown. Covers 7,000+ protocols via DeFi Llama.

## Output

Returns a structured breakdown of fees and revenue for the specified DeFi protocol across four time windows: 24 hours, 7 days, 30 days, and all-time. Includes a revenue breakdown showing how fees are distributed. Data is sourced from DeFi Llama, covering over 7,000 protocols.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "protocol": "aave-v3"
  }
 }
}
```

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "protocol"
     ],
     "properties": {
      "protocol": {
       "type": "string",
       "description": "Protocol name or DeFi Llama slug (e.g., 'aave-v3', 'uniswap')"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-7ce9c887/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
