# DeFi Yields

> DeFi Yields is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

Returns best DeFi yield opportunities across all chains and protocols, including lending, staking, and liquidity pools with APY, 30-day mean APY, TVL, and risk metadata

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/crypto/yields?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yields-099b53e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2dqbhPGZ0CN4tmL6GQ2V3

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-yields-099b53e3
```

Example prompt: What are the top 10 DeFi yield opportunities for USDC right now on Ethereum, sorted by APY, with at least $5 million TVL? Include both lending and liquidity pool options.

## When to prefer this

Use this endpoint when you need real-time DeFi yield data across multiple chains and protocols in a single call. Prefer it over manually querying individual protocol APIs when comparing yields across Aave, Morpho, Lido, Uniswap, and others simultaneously. Ideal for portfolio rebalancing decisions, yield optimization agents, and DeFi dashboards that need APY plus TVL plus risk metadata in one response.

## Known failure modes

- Invalid chain name returns empty results or 400 error
- Unknown token symbol returns no matching pools
- Requesting limit > 100 may be rejected or clamped
- Very high min_tvl_usd may return zero results
- Service may return stale data if upstream DeFi data provider is delayed
- x402 payment failure returns 402 before data is served

## How this service works

Best DeFi yields right now: lending, staking and liquidity pools across all chains and protocols, with APY (base + rewards), 30-day mean APY, TVL, stablecoin flag and impermanent-loss risk. Filter by chain, protocol, token and minimum TVL; sort by APY or TVL. Use to find where to earn on USDC, ETH etc.

## Output

A ranked list of DeFi yield pools, each containing pool name, protocol, chain, token symbol, current APY (base + reward components), 30-day mean APY, TVL in USD, whether the pool is stablecoin-only, and impermanent loss risk indicator. Results are filtered and sorted per query parameters, defaulting to top 20 pools by APY with minimum $1M TVL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "sort": {
       "enum": [
        "apy",
        "tvl",
        "apy_30d"
       ],
       "type": "string",
       "description": "apy, tvl or apy_30d"
      },
      "chain": {
       "type": "string",
       "description": "Chain name, e.g. Ethereum, Base, Arbitrum, Solana"
      },
      "limit": {
       "type": "integer",
       "description": "1-100, default 20"
      },
      "symbol": {
       "type": "string",
       "description": "Token symbol in the pool, e.g. USDC"
      },
      "project": {
       "type": "string",
       "description": "Protocol slug contains, e.g. aave, morpho, lido"
      },
      "stablecoin": {
       "type": "boolean",
       "description": "Only stablecoin pools (true) or only non-stable (false)"
      },
      "min_tvl_usd": {
       "type": "number",
       "description": "Minimum TVL in USD (default 1,000,000)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yields-099b53e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
