# DeFi Protocol Fee & Revenue Analytics

> DeFi Protocol Fee & Revenue Analytics is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns fee and revenue breakdown for a named DeFi protocol (e.g. Aave, Uniswap, GMX) over 24h, 7d, 30d, 1y, and all-time, including chain-level detail, sourced from DeFiLlama.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/protocol-revenue
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-protocol-fee-revenue-analytics-d9be921c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_blQiO2Rp-lQQHaxqZuthk

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 defi-protocol-fee-revenue-analytics-d9be921c -d '<json body>'
```

Example prompt: Can you pull up Aave's fee and revenue breakdown from DeFiLlama — I want to see the 24h, 7-day, 30-day, yearly, and all-time numbers, plus which chains it's coming from?

## When to prefer this

Use this endpoint when you need structured fee and revenue data for a specific DeFi protocol across multiple time horizons and chains, especially when DeFiLlama is your preferred data source. Ideal for DeFi analytics dashboards, protocol comparisons, and financial research tasks.

## Known failure modes

- Unknown or misspelled protocol slug returns an error or empty result
- Protocol not tracked by DeFiLlama returns no data
- Missing ?protocol= parameter causes a bad request error
- DeFiLlama upstream data unavailability causes stale or failed responses
- Rate limiting or payment failure blocks the request

## How this service works

CRYPTO: fee/revenue detail for one DeFi protocol over 24h/7d/30d/1y/all-time with chains (DeFiLlama). ?protocol=aave|uniswap|gmx. Returns JSON.

## Output

A JSON object containing fee and revenue figures for the requested DeFi protocol across multiple time windows (24h, 7d, 30d, 1y, all-time) and broken down by blockchain chain, sourced from DeFiLlama.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-fee-revenue-analytics-d9be921c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
