# DeFi Yield Pools by APY (DefiLlama via pyfile-agent)

> DeFi Yield Pools by APY (DefiLlama via pyfile-agent) is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns DeFi yield pools sourced from DefiLlama, sorted by APY and filtered by a minimum TVL threshold

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/data/defi/yields
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-pools-by-apy-defillama-via-pyfile-agent-d5302652
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mEz4tgJ14_8Jo24LyrV7O

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-pools-by-apy-defillama-via-pyfile-agent-d5302652
```

Example prompt: What are the top DeFi yield pools right now by APY? Pull the latest DefiLlama data and show me the highest-yielding options with meaningful TVL.

## When to prefer this

Choose this endpoint when you need a quick, ranked view of DeFi yield pools across protocols without building your own DefiLlama integration. It is ideal for agents doing yield comparisons, portfolio optimization suggestions, or daily DeFi market briefings. Prefer this over raw DefiLlama API calls when you want pre-sorted, TVL-filtered results in a single low-cost call.

## Known failure modes

- DefiLlama upstream API unavailable — returns error or empty dataset
- Payment of $0.003 USDC via x402 not completed — request rejected
- Rate limiting if called too frequently
- Stale data if DefiLlama cache has not refreshed recently

## How this service works

DeFi yield pools (DefiLlama), sorted by APY with min TVL

## Output

A list of DeFi yield pools sourced from DefiLlama, each including pool name, protocol, chain, current APY, and TVL. Results are sorted descending by APY and filtered to exclude pools below a minimum TVL threshold, helping identify high-yield opportunities with sufficient liquidity.

## 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": {
      "limit": {
       "type": "number"
      },
      "min_tvl": {
       "type": "number"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-pools-by-apy-defillama-via-pyfile-agent-d5302652/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
