# BlockRun Yield Pool Ranking

> BlockRun Yield Pool Ranking is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.0085/call, status unknown (last checked 2026-09-14).

Returns a ranked list of on-chain yield opportunities across lending protocols, liquidity pools, and staking positions.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/surf/onchain/yield/ranking
- Price: $0.0085/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-yield-pool-ranking-f00ecaef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DFzOnnZZgrJvuJDypw1qd

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 blockrun-yield-pool-ranking-f00ecaef
```

Example prompt: What are the top-ranked on-chain yield opportunities right now — show me the best lending pools, LP positions, and staking options ranked by APY across protocols.

## When to prefer this

Use this endpoint when you need a comparative, ranked view of yield opportunities across multiple DeFi categories (lending, LP, staking) in a single call, rather than querying individual protocols separately. Ideal for agents helping users optimize yield allocation or discover new DeFi opportunities.

## Known failure modes

- No data available for requested filters — returns empty rankings
- Upstream on-chain data unavailable — 503 or timeout
- Payment not settled — 402 Payment Required
- Invalid query parameters — 400 Bad Request

## How this service works

Pay for the outcome. One endpoint for every model, tool and data source an agent needs — each call priced before it runs, at the best value per dollar. 103 models and 100 data and tool APIs.

## Output

A ranked list of on-chain yield pools spanning lending protocols, liquidity provision (LP) positions, and staking opportunities, ordered by yield metrics such as APY, along with protocol and pool identifiers.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-yield-pool-ranking-f00ecaef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
