# Otto AI — Protocol Revenue Leaders

> Otto AI — Protocol Revenue Leaders is a paid API for AI agents from x402.ottoai.services, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns a ranked list of DeFi protocols by fees and revenue over 24h, 7d, and 30d windows, including take rate and momentum narrative.

## Facts

- Endpoint: GET https://x402.ottoai.services/protocol-revenue-leaders
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/otto-ai-protocol-revenue-leaders-a84d86bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hjIhVFQQDuHFC0PoNk92c

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 otto-ai-protocol-revenue-leaders-a84d86bb
```

Example prompt: Show me the top DeFi protocols ranked by fees and revenue right now — I want to see the 24h and 30d numbers, their take rates, and whether derivatives or DEXes are winning on fee momentum this week.

## When to prefer this

Use this endpoint when you need a current, ranked leaderboard of DeFi protocols by fee and revenue generation — especially when comparing categories like derivatives vs DEXes, or evaluating which protocols capture the most value vs distribute to LPs. Prefer this over generic DeFi dashboards when you need structured JSON output with momentum signals and a narrative summary suitable for agent reasoning or downstream reporting.

## Known failure modes

- Stale data if upstream DeFi data sources are delayed (check stalenessSec in meta)
- Empty or partial protocol list if data pipeline is degraded (meta.degraded: true)
- Missing revenue figures for protocols with 0% take rate or LP-only fee models
- Network-level 402 payment failure if USDC payment is not properly submitted

## How this service works

Which protocols earn the most — and who is accelerating? Top 30 DeFi protocols by 24h fees, each with revenue, take-rate (the cut the protocol keeps vs fees users pay), 7d/30d trend and category, plus total DeFi fees & revenue. A fundamentals screen (fee/revenue economics), distinct from TVL. Sourced from DefiLlama (public). Cached while fresh (DefiLlama fees are daily aggregates), regenerated on demand when stale.

## Output

A JSON object containing a ranked list of up to 30 protocols, each with fees and revenue broken down by 24h, 7d, and 30d periods, take rate percentage, week-over-week fee change, and the chains they operate on. Also includes an AI-generated narrative summarizing which categories are leading and why, plus aggregate totals for total market fees and revenue. Metadata includes freshness indicators and a staleness timestamp.

## Example request

```json
{
 "properties": "24h,7d,30d"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "leaders": [
    {
     "name": "Hyperliquid",
     "chains": [
      "Hyperliquid L1"
     ],
     "category": "Derivatives",
     "fees7dUsd": 31204911,
     "fees24hUsd": 4912038,
     "fees30dUsd": 122948332,
     "takeRatePct": 100,
     "revenue24hUsd": 4912038,
     "revenue30dUsd": 122948332,
     "feesChange7dPct": 8.4
    },
    {
     "name": "Uniswap",
     "chains": [
      "Ethereum",
      "Base",
      "Arbitrum"
     ],
     "category": "DEX",
     "fees7dUsd": 21933801,
     "fees24hUsd": 3104772,
     "fees30dUsd": 91022174,
     "takeRatePct": 16.5,
     "revenue24hUsd": 511203,
     "revenue30dUsd": 14831002,
     "feesChange7dPct": -4.1
    }
   ],
   "narrative": "Derivatives venues lead fee generation; Hyperliquid keeps 100% of fees while DEXes route most fees to LPs. Fee momentum favors perps (+8.4% w/w) over spot (-4.1%).",
   "generatedAt": "2026-06-09T21:00:00.000Z",
   "protocolCount": 30,
   "totalFees24hUsd": 41250318,
   "totalRevenue24hUsd": 11834902
  },
  "meta": {
   "degraded": false,
   "validUntil": "",
   "generatedAt": "",
   "stalenessSec": 0
  },
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/otto-ai-protocol-revenue-leaders-a84d86bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ottoai.services](https://www.zero.xyz/host/x402.ottoai.services/llms.txt)
