# DeFi Yields by Token Symbol (DefiLlama)

> DeFi Yields by Token Symbol (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 best DeFi yield opportunities (APY) for a specified token symbol, ranked highest first, sourced from DefiLlama across all chains and protocols.

## Facts

- Endpoint: GET https://x402-seller-0ay3.onrender.com/api/defi/yields/by-token
- 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-yields-by-token-symbol-defillama-76518b53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FFZWirUJN38B-CPbzUvB1

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-by-token-symbol-defillama-76518b53
```

Example prompt: Show me the top 10 DeFi pools with the best APY for USDC right now, across all chains and protocols.

## When to prefer this

Use this endpoint when you need yield opportunities filtered specifically to a known token symbol (e.g. USDC, WETH, DAI) rather than browsing all pools globally. Prefer it over the general yields endpoint when the user has a specific token they want to deploy and wants the best protocol/chain combination for that asset. Ideal for agents helping users optimize idle token holdings.

## Known failure modes

- Missing required 'symbol' parameter returns an error
- Unknown or unsupported token symbol returns an empty list or error
- Limit value outside 1-100 range may return a validation error
- DefiLlama data may be slightly delayed or stale for low-liquidity pools
- Network or upstream DefiLlama API outage causes failure

## How this service works

Best DeFi yields (APY) for a given token symbol, across all chains and protocols, highest first, source DefiLlama — for an agent asking 'where's the best yield for my USDC/ETH/...?'. Parameter: ?symbol=<token symbol> (e.g. USDC, required). Optional: ?limit=<n> (1-100, default 10).

## Output

A ranked list of DeFi pools (up to the requested limit) that hold the specified token, each including the pool name, protocol, chain, and current APY — sorted from highest to lowest yield, sourced from DefiLlama.

## 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": [
      "symbol"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Number of pools to return (1-100, default 10)."
      },
      "symbol": {
       "type": "string",
       "description": "Token symbol to match against pool holdings (e.g. USDC, WETH)."
      }
     }
    }
   },
   "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-by-token-symbol-defillama-76518b53/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)
