# Joe Market Data – Protocol Revenue Leaders

> Joe Market Data – Protocol Revenue Leaders is a paid API for AI agents from joe-market-data.marnick-yezo.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the top 30 DeFi protocols ranked by 24-hour fees, sourced from DefiLlama, including fee volumes and take rates.

## Facts

- Endpoint: GET https://joe-market-data.marnick-yezo.workers.dev/protocol-revenue-leaders
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/joe-market-data-protocol-revenue-leaders-38f92974
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rj5f3tnSKF0ilOQY2Z1tk

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 joe-market-data-protocol-revenue-leaders-38f92974
```

Example prompt: Can you pull up the top DeFi protocols by fees earned in the last 24 hours, including their take rates, from DefiLlama?

## When to prefer this

Use this endpoint when you need a real-time ranked leaderboard of DeFi protocols by 24-hour fee revenue, especially when comparing protocol monetization or identifying the most economically active protocols. Prefer this over generic token price endpoints when the focus is protocol-level revenue and take rates rather than token valuations.

## Known failure modes

- DefiLlama upstream unavailable — may return empty data or error status
- Payment not processed — x402 payment required before data is returned
- Stale data if DefiLlama has not refreshed its fee metrics recently
- Malformed response if upstream schema changes

## How this service works

Public-data market intel for AI agents: token prices (CoinGecko), DefiLlama TVL/fees/stables, Polymarket odds. Otto-compatible path names. $0.001 USDC per call on Base. No LLM/TTS/image.

## Output

A JSON object containing a ranked list of up to 30 DeFi protocols sorted by 24-hour fee revenue, each entry including protocol name, fees_24h in USD, and take_rate_pct. Also includes metadata indicating the source (DefiLlama), endpoint path, and cost per call (0.001 USDC).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "top_30_by_fees_24h": [
    {
     "name": "Uniswap",
     "fees_24h": 1000000,
     "take_rate_pct": 0
    }
   ]
  },
  "meta": {
   "source": "defillama",
   "endpoint": "/protocol-revenue-leaders",
   "cost_usdc": "0.001"
  },
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/joe-market-data-protocol-revenue-leaders-38f92974/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from joe-market-data.marnick-yezo.workers.dev](https://www.zero.xyz/host/joe-market-data.marnick-yezo.workers.dev/llms.txt)
