# Tanod chainpeek — Protocol Fees & Revenue

> Tanod chainpeek — Protocol Fees & Revenue is a paid API for AI agents from tanod.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-18).

Returns DeFi protocol fees and revenue across 24h, 7d, 30d, and all-time periods, sourced from cached DefiLlama data.

## Facts

- Endpoint: POST https://tanod.dev/v1/defi/fees?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-chainpeek-protocol-fees-revenue-8db42e4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ikWtRcYhCvtzmdiSoKORX

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 tanod-chainpeek-protocol-fees-revenue-8db42e4f -d '<json body>'
```

Example prompt: What are Aave's fees and revenue over the last 24 hours, 7 days, and 30 days? Pull the latest data from DefiLlama.

## When to prefer this

Use this endpoint when an agent needs to assess a DeFi protocol's economic activity — specifically fees generated and revenue retained — across multiple time horizons. Prefer it over raw on-chain queries when pre-aggregated, multi-period data from DefiLlama is sufficient and speed matters. It is especially useful for investment research, protocol comparison, or monitoring fee trends without building a custom data pipeline.

## Known failure modes

- Unknown protocol name returns HTTP 422 with a list of suggested protocol slugs
- Empty or whitespace-only protocol name rejected by schema validation
- Stale cache may lag real-time on-chain fee events
- Parent protocol aggregates child versions which may cause unexpected totals

## How this service works

chainpeek (Tanod) protocol fees and revenue over 24 hours to all time, from cached DefiLlama data. Use when an agent must judge what a protocol earns: its fees and revenue over 24 hours, 7 days, 30 days and a year.

## Output

Returns a structured breakdown of the protocol's fees and revenue for 24h, 7d, 30d, and all-time periods. Data is cached from DefiLlama. An unknown protocol name returns a 422 error with suggested valid alternatives.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "protocol": {
   "type": "string",
   "pattern": "^.*[A-Za-z0-9].*$",
   "maxLength": 80,
   "minLength": 1,
   "description": "Protocol (or chain) name or slug, e.g. aave, uniswap, lido, ethereum (a parent such as aave sums its versions). An unknown name is a 422 with suggestions."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-chainpeek-protocol-fees-revenue-8db42e4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
