# BaseBuilder DeFi TVL Rankings

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

Returns ranked list of DeFi protocols by Total Value Locked (TVL) on Base and other chains

## Facts

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

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-f0a3a6de -d '<json body>'
```

Example prompt: Show me the top DeFi protocols ranked by TVL on Base — I want to see which protocols like lending, DEXes, or yield vaults are dominating right now.

## When to prefer this

Use this endpoint when you need a ranked comparison of DeFi protocols by TVL specifically within the Base ecosystem or cross-chain DeFi landscape. Prefer this over general crypto price APIs when the goal is protocol-level TVL analysis rather than token prices or wallet balances.

## Known failure modes

- Invalid or unsupported chain parameter returns 400 error
- Payment not received results in 402 Payment Required
- Server or data provider outage returns 500
- No protocols found for given filter criteria returns empty list
- Stale or delayed TVL data if upstream indexer is lagging

## How this service works

BaseBuilder Defi API hub - 22 paid endpoints

## Output

A ranked list of DeFi protocols ordered by Total Value Locked, including protocol names, TVL amounts, categories (e.g. DEX, lending, yield), and chain context. Useful for comparing relative protocol sizes and market dominance in the Base DeFi ecosystem.

## More

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