# DeFi Yield & Lending Pool Intelligence

> DeFi Yield & Lending Pool Intelligence is a paid API for AI agents from x402-services-production.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns real-time DeFi yield and lending pool data filtered by chain, protocol, TVL, and pool count

## Facts

- Endpoint: POST https://x402-services-production.up.railway.app/api/crypto/yields
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-lending-pool-intelligence-d43d28db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xgM8_mGMsx3QWfJ30eL1D

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 defi-yield-lending-pool-intelligence-d43d28db -d '<json body>'
```

Example prompt: Show me the top 15 lending pools on Aave across Ethereum with at least 2 million dollars in TVL — I want to compare yields right now.

## When to prefer this

Use this endpoint when an AI agent needs real-time DeFi lending pool and yield data filterable by chain and protocol without requiring API keys or subscriptions. Prefer this over manual DeFi aggregator browsing when the agent must programmatically compare yields across protocols, screen by TVL threshold, or surface top pools on a specific chain. It is pay-per-call via stablecoin so it suits agents with sporadic query patterns that don't justify a subscription.

## Known failure modes

- Invalid or unsupported chain name returns empty results or error
- Protocol name typo returns no matching pools
- minTvl set too high returns empty result set
- limit exceeding 50 is clamped or rejected
- Payment failure via x402 if stablecoin balance is insufficient
- Upstream data provider latency or outage causing stale or missing data

## How this service works

Top DeFi yield opportunities across chains from DeFiLlama, filterable by chain/project/min-TVL, ranked by APY. Send { chain?, project?, minTvl?, limit? }. Yield discovery for finance agents.

## Output

A list of DeFi lending/yield pools filtered by the specified chain, protocol, and minimum TVL, including yield rates, TVL, protocol name, chain, and pool identifiers — up to the requested limit (max 50 results).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Filter by chain, e.g. Base, Ethereum"
  },
  "limit": {
   "type": "number",
   "description": "Max pools, default 10 (max 50)"
  },
  "minTvl": {
   "type": "number",
   "description": "Minimum pool TVL in USD (default 1,000,000)"
  },
  "project": {
   "type": "string",
   "description": "Filter by protocol, e.g. aave"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-lending-pool-intelligence-d43d28db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-services-production.up.railway.app](https://www.zero.xyz/host/x402-services-production.up.railway.app/llms.txt)
