# DeFi Top Yields (All Chains) via DefiLlama

> DeFi Top Yields (All Chains) via DefiLlama is a paid API for AI agents from x402-seller-0ay3.onrender.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Returns the highest APY yield opportunities across all DeFi chains and protocols, ranked by yield, sourced from DefiLlama.

## Facts

- Endpoint: GET https://x402-seller-0ay3.onrender.com/api/defi/yields/top
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-top-yields-all-chains-via-defillama-c1a82d9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lQ76DWLNN1__xRBPWEb_c

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-top-yields-all-chains-via-defillama-c1a82d9a
```

Example prompt: Show me the top 15 DeFi yield opportunities right now across all chains and protocols, only pools with at least $500,000 TVL — I want to find the single best APY available anywhere in DeFi.

## When to prefer this

Choose this endpoint when you want the single best yield opportunity across ALL chains and protocols with no filtering by chain or token — ideal for broad DeFi yield discovery and ranking. Prefer this over chain-specific or protocol-specific yield endpoints when the goal is to find the globally highest APY regardless of where it lives. Use the min_tvl parameter to filter out low-liquidity pools for safer comparisons.

## Known failure modes

- DefiLlama API unavailable — upstream data source outage returns error or empty results
- Invalid limit parameter (outside 1-100 range) may return validation error
- min_tvl set extremely high may return zero results if no pools meet the threshold
- Rate limiting or payment failure may block access (x402 payment required per call)
- Stale data if DefiLlama cache has not refreshed recently

## How this service works

Top DeFi yields (APY) across ALL chains and protocols, highest first, source DefiLlama — for an agent hunting the single best yield opportunity right now, with no chain/token filter. Optional parameters: ?limit=<n> (1-100, default 10), ?min_tvl=<usd> (minimum pool TVL, default 0).

## Output

A ranked list of DeFi yield pools ordered by APY descending, each entry including pool name, protocol, chain, current APY percentage, and TVL in USD. Returns up to the requested number of results (default 10, max 100), filtered by minimum TVL if specified.

## 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",
     "required": [],
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Number of pools to return (1-100, default 10)."
      },
      "min_tvl": {
       "type": "number",
       "description": "Minimum pool TVL in USD. Optional, default 0."
      }
     }
    }
   },
   "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-top-yields-all-chains-via-defillama-c1a82d9a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-0ay3.onrender.com](https://www.zero.xyz/host/x402-seller-0ay3.onrender.com/llms.txt)
