Ir al contenido
GET /v1/pools

Yield-farming screener across non-lending pools

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/yieldfarming-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/yieldfarming-api/v1/pools" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/yieldfarming-api/v1/pools", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/yieldfarming-api/v1/pools");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/yieldfarming-api/v1/pools",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Non-lending DeFi pools (DEX liquidity, staking, vaults, farms) with current APY (base+reward), the 30-day average APY (smoothed), impermanent-loss risk, exposure (single/multi), TVL, daily volume and DeFiLlama's APY outlook. Filter by project, chain, asset, stablecoin, exposure, il_risk, min_tvl; sort by apy (default), apy_mean_30d, tvl or volume. Outlier pools excluded by default (include_outliers=true). Money-market lending reserves are excluded — see the lending-rates API. Live, lightly cached.",
        "sort": "sustained",
        "count": 30,
        "limit": 50,
        "pools": [
            {
                "apy": 17.296,
                "chain": "Ethereum",
                "symbol": "MSUSD-USDC",
                "il_risk": "no",
                "outlier": false,
                "pool_id": "72218360-822f-4c39-9dff-30fcadf325a8",
                "project": "uniswap-v3",
                "tvl_usd": 820448,
                "apy_base": 1.4128,
                "exposure": "multi",
                "pool_meta": "0.01%",
                "apy_reward": 15.8832,
                "prediction": {
                    "outlook": "Stable/Up",
                    "confidence": 3,
                    "probability_pct": 81
                },
                "stablecoin": true,
                "apy_mean_30d": 13.6083,
                "apy_change_7d": 6.0084,
                "reward_tokens": 1,
                "sustained_apy": 13.6083,
                "volume_usd_1d": 317567,
                "apy_change_30d": -1.9044
            },
            {
                "apy": 12.2489,
                "chain": "Ethereum",
                "symbol": "USD1-USDC",
                "il_risk": "no",
                "outlier": false,
                "pool_id": "ceb88eef-12f9-49b7-ac3f-34fb6d718136",
                "project": "uniswap-v3",
                "tvl_usd": 87531,
                "apy_base": 12.2489,
                "exposure": "multi",
                "pool_meta": "0.01%",
                "apy_reward": null,
                "prediction": {
                    "outlook": "Down",
                    "confidence": 3,
                    "probability_pct": 91
                },
                "stablecoin": true,
                "apy_mean_30d": 6.7757,
                "apy_change_7d": 1.7093,
                "reward_tokens": 0,
                "sustained_apy": 6.7757,
                "volume_usd_1d": 293742,
                "apy_change_30d": null
            },
            {
                "apy": 13.1154,
                "chain": "Ethereum",
                "symbol": "USDE-USDC",
                "il_risk": "no",
                "outlier": false,
                "pool_id": "422cbad0-7a9a-45c2-abd0-27b395d4c461",
                "project": "uniswap-v3",
                "tvl_usd": 2438858,
                "apy_base": 13.1154,
                "exposure": "multi",
                "pool_meta": "0.01%",
                "apy_reward": null,
    
…