# DeFi Yield Ranker with Risk Flags

> DeFi Yield Ranker with Risk Flags is a paid API for AI agents from defi.genexxis.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

Returns ranked DeFi yield pools filtered by asset, chain, TVL, and pool type, each annotated with risk-adjusted APY and risk flags like APY spikes, reward-heavy exposure, impermanent loss, and low TVL.

## Facts

- Endpoint: GET https://defi.genexxis.com/yields?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-ranker-with-risk-flags-4143cdcd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hC2N0T9ZDsm53qxX_9H3j

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-ranker-with-risk-flags-4143cdcd
```

Example prompt: Find me the top 10 risk-adjusted USDC yield pools on Base with at least $5 million TVL — stablecoin-only and single-sided, ranked by risk-adjusted APY with any risk flags shown.

## When to prefer this

Use this endpoint when you need ranked, risk-annotated DeFi yield data across multiple pools and chains with configurable filters. Prefer this over generic DeFi APIs when risk-adjusted APY and per-pool risk flags (APY spike, impermanent loss, reward-heavy) are needed for decision-making. Use sibling endpoints for single-pool detail/history or per-chain TVL overviews.

## Known failure modes

- No pools match the filter combination — returns empty pools array with matched:0
- Invalid chain name returns no results or error
- minTvl set too high eliminates all results
- limit out of range (must be 1-50) may return default or error
- stableOnly/singleSided values other than 'true' may be ignored or cause unexpected behavior

## How this service works

Ranked DeFi yields filtered by asset, chain, min TVL, stablecoin-only or single-sided, with a risk-adjusted APY and risk flags per pool (APY spike, reward-heavy, impermanent loss, low TVL, multi-asset exposure).

## Output

A JSON object containing a ranked list of DeFi pools matching the filters, each with pool ID, symbol, chain, project, TVL, base APY, reward APY, 30-day mean APY, risk-adjusted APY, exposure type (single-sided or multi-asset), risk level (low/medium/high), and an array of risk flags (e.g. APY spike, reward-heavy, impermanent loss, low TVL). Also includes the active filters applied and the total number of matched pools.

## 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": [],
     "properties": {
      "asset": {
       "type": "string",
       "description": "token symbol contained in the pool, e.g. USDC, ETH"
      },
      "chain": {
       "type": "string",
       "description": "chain name, e.g. Ethereum, Base, Arbitrum"
      },
      "limit": {
       "type": "string",
       "description": "1-50, default 20"
      },
      "minTvl": {
       "type": "string",
       "description": "minimum TVL in USD (default 1000000)"
      },
      "project": {
       "type": "string",
       "description": "DefiLlama project slug, e.g. aave-v3"
      },
      "stableOnly": {
       "type": "string",
       "description": "true = stablecoin pools only"
      },
      "singleSided": {
       "type": "string",
       "description": "true = single-asset pools only"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pools": [
   {
    "id": "70267deb-6203-537d-b013-c861e063419c",
    "apy": 7.48,
    "chain": "Base",
    "flags": [],
    "symbol": "USDC",
    "tvlUsd": 53530787,
    "apyBase": 7.48,
    "project": "midas-rwa",
    "poolMeta": "mGLO",
    "apyReward": null,
    "riskLevel": "low",
    "apyMean30d": 6.26,
    "exposureType": "single-sided",
    "riskAdjustedApy": 7.48
   }
  ],
  "filters": {
   "asset": "USDC",
   "chain": "Base",
   "minTvl": 5000000,
   "stableOnly": true
  },
  "matched": 8
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-ranker-with-risk-flags-4143cdcd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi.genexxis.com](https://www.zero.xyz/host/defi.genexxis.com/llms.txt)
