# DeFi Yield & APY Rates via DefiLlama

> DeFi Yield & APY Rates via DefiLlama is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-13).

Returns top DeFi yield/APY opportunities across protocols and chains sourced from DefiLlama, filterable by token symbol or chain and sorted by APY

## Facts

- Endpoint: GET https://api.x402node.dev/chain/yield-rates
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-apy-rates-via-defillama-78601950
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lp-PEDnia0ehtSSqjoDVn

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-apy-rates-via-defillama-78601950
```

Example prompt: What are the top DeFi yield opportunities for USDC on Arbitrum right now, sorted by APY?

## When to prefer this

Use this endpoint when you need current, cross-protocol DeFi yield data sourced from DefiLlama and want to filter by specific token or chain. Prefer over manual protocol lookups when comparing yield opportunities at scale or building yield optimization recommendations.

## Known failure modes

- Unknown token symbol returns empty results or error
- Unsupported chain name returns no results
- DefiLlama data temporarily unavailable causing upstream timeout
- Invalid filter parameters return 400 error
- Payment not processed correctly returns 402 error

## How this service works

Top DeFi yield/APY opportunities across protocols and chains via DefiLlama, filterable by token symbol or chain, sorted by APY. defi yield, apy rates, yield farming, staking rewards, lending rates, best apy Accepts payment on Base or Solana — either network works.

## Output

A ranked list of DeFi yield opportunities sourced from DefiLlama, each including the protocol name, chain, token symbol, APY rate, and relevant pool details, filtered by the requested token and/or chain and sorted from highest to lowest APY.

## Example request

```json
{
 "chain": "arbitrum",
 "token": "USDC",
 "sortBy": "apy"
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "description": "Optional chain filter e.g. base, ethereum"
      },
      "token": {
       "type": "string",
       "description": "ERC20 contract address (optional)"
      },
      "symbol": {
       "type": "string",
       "description": "Optional token symbol filter e.g. USDC"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-apy-rates-via-defillama-78601950/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
