# DeFiRisk Top Yields Screener

> DeFiRisk Top Yields Screener is a paid API for AI agents from defi.lonestaroracle.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Returns ranked DeFi yield pools with honest base-vs-reward APY split, yield trap flags, and 0-10 risk scores across protocols

## Facts

- Endpoint: GET https://defi.lonestaroracle.xyz/top-yields
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defirisk-top-yields-screener-e952ef4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2v_NWbcI1YV9B9oIK2cCn

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 defirisk-top-yields-screener-e952ef4f
```

Example prompt: Show me the top 15 stablecoin lending pools on Ethereum or Arbitrum sorted by base APY, with a minimum TVL of $10 million and a max risk score of 4 — I want to see the real base yield separated from any emission rewards and any yield trap flags.

## When to prefer this

Use this endpoint when an agent needs to allocate capital across DeFi protocols and must distinguish genuine base yield from unsustainable emission rewards, or when risk-adjusted ranking matters more than raw APY. Prefer it over raw DeFiLlama queries when you need the yield trap flagging, risk overlay scoring, and clean base/reward APY split pre-computed. Best for allocation agents, portfolio optimizers, or yield monitoring bots that need actionable, risk-qualified pool rankings rather than raw protocol data.

## Known failure modes

- No pools match filters — returns empty list when constraints like risk_max or min_tvl are too restrictive
- Invalid chain or asset filter yields no results silently
- Upstream DeFiLlama data lag may cause stale APY figures
- Payment required error (402) if x402 micropayment header not included
- limit exceeds 50 cap — clamped or rejected depending on implementation
- sort parameter typo falls back to default or returns error

## How this service works

Cross-protocol risk-adjusted DeFi yield screener: ranked pools with honest base-vs-reward APY split, trap flags, and 0-10 risk overlay

## Output

A ranked list of DeFi pools (up to 50) each containing: pool identifier and protocol, chain, asset, base APY (real yield), reward/emission APY (separated out), total APY, TVL in USD, yield trap flag, 0-10 risk score (factoring in emissions dependence, TVL depth, IL exposure, volatility), and category (lending or LP).

## Request schema (JSON Schema)

```json
{
 "name": "DeFiRisk — Top Yields Screener",
 "tags": [
  "defi",
  "yield",
  "apy",
  "farming",
  "stablecoin",
  "risk",
  "defillama"
 ],
 "type": "object",
 "version": "1.0.0",
 "category": "blockchain",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "sort": {
       "type": "string",
       "title": "Sort",
       "default": "base",
       "description": "base | total | tvl"
      },
      "asset": {
       "type": "string",
       "title": "Asset",
       "description": "Filter by token symbol substring, e.g. USDC"
      },
      "chain": {
       "type": "string",
       "title": "Chain",
       "description": "Filter by chain, e.g. Base, Ethereum, Arbitrum"
      },
      "limit": {
       "type": "integer",
       "title": "Limit",
       "default": 10,
       "description": "Result count (max 50)"
      },
      "min_tvl": {
       "type": "number",
       "title": "Min Tvl",
       "default": 10000000,
       "description": "Minimum pool TVL in USD"
      },
      "category": {
       "type": "string",
       "title": "Category",
       "description": "lending or lp"
      },
      "risk_max": {
       "type": "integer",
       "title": "Risk Max",
       "description": "Max risk score 0-10"
      },
      "stablecoin": {
       "type": "string",
       "title": "Stablecoin",
       "description": "true = stablecoin pools only, false = exclude"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 },
 "description": "Cross-protocol DeFi yield screener over the DeFiLlama pool universe: ranks pools by REAL base APY (separated from unsustainable reward/emission APY), flags yield traps, and adds a 0-10 risk overlay (emissions dependence, TVL depth, IL exposure, volatility). Filterable by asset, chain, stablecoin, min TVL, category, max risk. For allocation agents choosing where to deposit capital."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defirisk-top-yields-screener-e952ef4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi.lonestaroracle.xyz](https://www.zero.xyz/host/defi.lonestaroracle.xyz/llms.txt)
