# Otto AI Protocol Revenue Leaders

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

Returns a ranked list of top blockchain protocols by revenue, refreshed hourly with freshness metadata.

## Facts

- Endpoint: GET https://dataendpoints-production.up.railway.app/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-32393716
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vKPkF1qw7L7cV-Qc7ESeN

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-32393716
```

Example prompt: Show me the current leaderboard of blockchain protocols ranked by revenue — I want to see which DeFi protocols are earning the most right now.

## When to prefer this

Use this endpoint when you need a quick, pre-aggregated leaderboard of protocol revenues without building your own on-chain data pipeline. Ideal for DeFi dashboards, research queries, or agent workflows that need ranked protocol revenue data on a near-real-time basis (hourly refresh). Prefer this over raw on-chain queries when speed and convenience matter more than live block-level precision.

## Known failure modes

- Payment not processed (402 response if x402 micropayment fails)
- Stale data if the hourly refresh job is delayed (check meta.generatedAt)
- Service unavailable if Railway deployment is down (503/504)
- Empty or partial data if upstream on-chain data source is temporarily unavailable

## How this service works

Returns the top revenue-generating protocols and their rankings.

## Output

A JSON object with a status field ('success'), a data payload containing the ranked list of protocols by revenue, and a meta object including generatedAt timestamp and staleness information so the agent knows how fresh the data is.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "data",
      "meta"
     ],
     "properties": {
      "data": {
       "description": "Endpoint payload (see meta.generatedAt for freshness)"
      },
      "meta": {
       "type": "object"
      },
      "status": {
       "enum": [
        "success"
       ],
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/otto-ai-protocol-revenue-leaders-32393716/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dataendpoints-production.up.railway.app](https://www.zero.xyz/host/dataendpoints-production.up.railway.app/llms.txt)
