Naar de inhoud
GET /v1/meta

Service metadata & live sample

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/yieldpool-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "search takes q (e.g. steth, usdc) plus optional chain, project and limit; it returns pool ids. pool and history take a required pool id (uuid). history takes optional limit (1-730 days). APYs are percentages; TVL is USD.",
        "sample": {
            "apy": 2.35,
            "pool": "747c1d2a-c668-4682-b9f9-296708a3dd90",
            "chain": "Ethereum",
            "symbol": "STETH",
            "project": "lido",
            "tvl_usd": 14973235926
        },
        "source": "DeFiLlama open yields API (yields.llama.fi), live",
        "service": "yieldpool-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/pool": "Current detail for one pool by id (apy, tvl, risk, outlook).",
            "GET /v1/search": "Find pools by token / project / chain (q=steth).",
            "GET /v1/history": "A pool's APY and TVL over time (id, limit)."
        },
        "description": "Live detail and full APY/TVL history for any DeFi yield pool, keyless. Unlike current-yield screeners, this is the per-pool time dimension: look up a pool by id for its current APY (base + reward), TVL, risk flags and forecast, then pull its APY and TVL over time to judge whether a yield is sustainable or a fading incentive. Search 15,000+ pools by token, project or chain to find a pool id. Live, nothing stored beyond a short cache. The yield-history layer for farming, allocation, backtesting and risk apps. Distinct from current-yield lists — this tracks a single pool's yield through time.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:17.305Z",
        "request_id": "b2721ad5-a5b7-4a32-98fd-41ed7882b450"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}