# BaseBuilder DeFi TVL Rankings

> BaseBuilder DeFi TVL Rankings is a paid API for AI agents from bb-defi.vercel.app, paid per call via x402, $0.14704/call, status unknown (last checked 2026-09-14).

Returns Total Value Locked (TVL) rankings for DeFi protocols, enabling comparison and discovery of leading DeFi platforms by locked capital

## Facts

- Endpoint: POST https://bb-defi.vercel.app/api/defi/tvl-rankings
- Price: $0.14704/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebuilder-defi-tvl-rankings-89130449
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BCF7BtXpxUMapV4Ltp4bO

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 basebuilder-defi-tvl-rankings-89130449 -d '<json body>'
```

Example prompt: Show me the top 10 DeFi protocols ranked by Total Value Locked right now — I want to see which projects are leading the market.

## When to prefer this

Choose this endpoint when you need a ranked leaderboard of DeFi protocols by TVL, particularly for market research, competitive analysis, or investment screening. Prefer this over generic crypto price APIs when the specific metric of interest is locked capital rather than price or volume. Best suited for Base chain and DeFi-focused analytics use cases.

## Known failure modes

- Invalid or missing request body parameters returns a 400 error
- Upstream DeFi data source unavailable may return stale or empty results
- Exceeded rate limit or payment failure returns 402 Payment Required
- Unsupported chain or filter criteria returns empty results set
- Network timeout from data aggregator results in 503 error

## How this service works

BaseBuilder Defi API hub - 22 paid endpoints

## Output

Returns a ranked list of DeFi protocols ordered by their Total Value Locked (TVL), including protocol names, TVL amounts, ranking positions, associated blockchain networks, and protocol categories.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebuilder-defi-tvl-rankings-89130449/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bb-defi.vercel.app](https://www.zero.xyz/host/bb-defi.vercel.app/llms.txt)
