# BaseBuilder DeFi Yield Lending API

> BaseBuilder DeFi Yield Lending API is a paid API for AI agents from bb-defi.vercel.app, paid per call via x402, $0.064663/call, status unknown (last checked 2026-10-23).

Returns lending yield data and rates for DeFi protocols on the Base blockchain

## Facts

- Endpoint: POST https://bb-defi.vercel.app/api/yield/lending?utm_source=zero.xyz
- Price: $0.064663/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebuilder-defi-yield-lending-api-5c7ad00b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aPZeH3DoVZ0TkMwc382w0

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-yield-lending-api-5c7ad00b -d '<json body>'
```

Example prompt: What are the current lending APYs for USDC and ETH across DeFi lending protocols on the Base chain? I want to find the best yield available right now.

## When to prefer this

Choose this endpoint when you need current lending yield and borrow rate data specifically for DeFi protocols deployed on the Base blockchain, particularly when comparing APYs across lending platforms or identifying optimal yield opportunities for specific tokens.

## Known failure modes

- Invalid or unsupported token address returns 400 error
- Unsupported protocol name returns empty results or 404
- Payment not included or insufficient triggers 402 payment required
- Network or upstream DeFi data source unavailable returns 503
- Rate limiting if too many requests in short period

## How this service works

BaseBuilder Defi API hub - 22 paid endpoints

## Output

Returns lending yield data including APY rates, borrow rates, total liquidity, and protocol-level metrics for lending markets on the Base blockchain, enabling comparison of yield opportunities across DeFi lending platforms.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebuilder-defi-yield-lending-api-5c7ad00b/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)
