# DeFi Yields Finder

> DeFi Yields Finder is a paid API for AI agents from defi-yields.api.klymax402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns the best DeFi yield opportunities for a given token, optionally filtered by chain and minimum TVL

## Facts

- Endpoint: GET https://defi-yields.api.klymax402.com/api/yields
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yields-finder-21035c18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qc0vdLGAK_BQwrME5N0Vq

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-finder-21035c18
```

Example prompt: Find me the top 10 DeFi yield opportunities for USDC on Base with at least $500,000 TVL — I want to know which protocols offer the best APY right now.

## When to prefer this

Use this endpoint when an agent needs to discover and compare live DeFi yield opportunities for a specific token across one or multiple chains. Ideal for portfolio optimization tasks, yield farming strategy, or informing users about where to deploy capital. Choose this over generic DeFi aggregator APIs when you need chain-filtered, TVL-gated results for a single token symbol with minimal latency.

## Known failure modes

- Token not found or unsupported — returns empty results or error
- Chain name misspelled or unsupported — returns no results for that chain filter
- minTvl too high — filters out all available pools, returning empty list
- limit exceeds maximum of 50 — may be capped or return error
- Service unavailable or stale data — may return 5xx error or outdated yields
- Payment not processed — returns 402 Payment Required

## How this service works

Find best DeFi yield opportunities for a token

## Output

A ranked list of DeFi yield pools for the specified token, including protocol names, APY rates, TVL figures, chain information, and pool identifiers — up to 50 results depending on the limit parameter.

## 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": [
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Filter by chain (e.g. base, ethereum, arbitrum, polygon). Optional — returns all chains if omitted."
      },
      "limit": {
       "type": "number",
       "description": "Number of results to return (default: 10, max: 50)"
      },
      "token": {
       "type": "string",
       "description": "Token symbol to find yields for (e.g. USDC, ETH, WBTC)"
      },
      "minTvl": {
       "type": "number",
       "description": "Minimum TVL in USD to filter pools (default: 100000)"
      }
     }
    }
   },
   "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-finder-21035c18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-yields.api.klymax402.com](https://www.zero.xyz/host/defi-yields.api.klymax402.com/llms.txt)
