Aller au contenu
GET /v1/pool

Current detail for one pool by id

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/yieldpool-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/yieldpool-api/v1/pool" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/yieldpool-api/v1/pool", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/yieldpool-api/v1/pool");
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/yieldpool-api/v1/pool",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "apy": 2.35,
        "pool": "747c1d2a-c668-4682-b9f9-296708a3dd90",
        "chain": "Ethereum",
        "source": "DeFiLlama",
        "symbol": "STETH",
        "il_risk": "no",
        "outlook": "Stable/Up",
        "project": "lido",
        "tvl_usd": 14973235926,
        "apy_base": 2.35,
        "exposure": "single",
        "apy_7d_avg": 2.45,
        "apy_reward": null,
        "stablecoin": false,
        "reward_tokens": [],
        "outlook_confidence": 2
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:17.110Z",
        "request_id": "f2a02cdd-71ac-43f9-be65-d848aa099a9e"
    },
    "status": "ok",
    "message": "Pool retrieved successfully",
    "success": true
}