# agentsvc.io DeFi Yields Lookup

> agentsvc.io DeFi Yields Lookup is a paid API for AI agents from agentsvc.io, paid per call via x402, $0.0055/call, status unknown (last checked 2026-10-10).

Fetches and filters DeFi liquidity pool yield data (APY, TVL) from DefiLlama, sorted and filtered by chain, token, protocol, and risk parameters.

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/defi-yields?utm_source=zero.xyz
- Price: $0.0055/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentsvc-io-defi-yields-lookup-f8c491e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jXVmG0yCnZnsLQ_ookvCa

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 agentsvc-io-defi-yields-lookup-f8c491e0 -d '<json body>'
```

Example prompt: Find me the top 10 stablecoin DeFi pools on Base right now, sorted by APY, with at least $1M TVL — give me the APY, 30-day average, and whether there's IL risk.

## When to prefer this

Use this endpoint when you need real-time DeFi yield data filtered by chain, token, or protocol — especially when comparing APY across protocols or finding the best place to deploy stablecoins. Prefer this over manual DefiLlama browsing when an agent needs structured, filterable yield data programmatically. It pays per-call with no API key required, making it ideal for agent workflows that query DeFi yields on demand.

## Known failure modes

- No pools found matching filters — returns empty pools array with matched: 0
- Invalid chain name not recognized by DefiLlama — may return empty results
- limit exceeds maximum of 50 — rejected with validation error
- Upstream DefiLlama API unavailable — service may return error or stale data
- min_tvl_usd filter too high — all pools filtered out

## How this service works

86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.

## Output

Returns a JSON array of matching DeFi pools, each with pool ID, chain, symbol, project, APY (base, reward, total, 30d mean, 7d change), TVL in USD, IL risk flag, APY outlook, stablecoin flag, pool metadata, and a DefiLlama URL. Also includes applied filters, total matched count, and data fetch timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sort": {
   "enum": [
    "apy",
    "tvl"
   ],
   "type": "string",
   "default": "apy"
  },
  "chain": {
   "type": "string",
   "description": "Chain name as on DefiLlama, e.g. Base, Ethereum, Arbitrum, Solana"
  },
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 50,
   "minimum": 1
  },
  "symbol": {
   "type": "string",
   "description": "Token symbol contained in the pool, e.g. USDC, ETH"
  },
  "project": {
   "type": "string",
   "description": "Protocol slug or part of it, e.g. aave, morpho, aerodrome"
  },
  "min_tvl_usd": {
   "type": "number",
   "default": 1000000
  },
  "stablecoin_only": {
   "type": "boolean",
   "default": false
  },
  "include_outliers": {
   "type": "boolean",
   "default": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "pools": [
    {
     "url": "https://defillama.com/yields/pool/847c874f-d4e7-47ed-8870-97d2f24a8767",
     "chain": "Base",
     "symbol": "EURC-USDC",
     "apy_pct": 40.797,
     "il_risk": "yes",
     "outlook": "Down",
     "pool_id": "847c874f-d4e7-47ed-8870-97d2f24a8767",
     "project": "aerodrome-slipstream",
     "tvl_usd": 1259471,
     "exposure": "multi",
     "pool_meta": "CL50 - 0.007%",
     "stablecoin": true,
     "apy_base_pct": 35.825,
     "apy_reward_pct": 4.972,
     "apy_mean_30d_pct": 27.341,
     "apy_change_7d_pct": 6.399
    }
   ],
   "source": "DefiLlama yields",
   "filters": {
    "sort": "apy",
    "chain": "base",
    "symbol": "USDC",
    "project": null,
    "min_tvl_usd": 1000000,
    "stablecoin_only": true,
    "include_outliers": false
   },
   "matched": 21,
   "fetched_at": "2026-10-06T12:00:00.000Z"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentsvc-io-defi-yields-lookup-f8c491e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentsvc.io](https://www.zero.xyz/host/agentsvc.io/llms.txt)
