Naar de inhoud
GET /v1/vault

One vault's full detail incl. strategies

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "name": "USD yVault",
        "chain": "Ethereum",
        "source": "Yearn (yDaemon)",
        "symbol": "yvUSD",
        "address": "0x696d02Db93291651ED510704c9b286841d506987",
        "net_apr": 0.044224,
        "tvl_usd": 11637030.3,
        "version": "3.0.4",
        "category": "Stablecoin",
        "chain_id": 1,
        "endorsed": true,
        "strategies": [
            {
                "name": "USD3 Pendle PT Maxi",
                "address": "0x4C0e4d3cB62B91afBbf1Fe8e830f98A513c7234b",
                "tvl_usd": null
            },
            {
                "name": "Infinifi sIUSD Morpho Looper",
                "address": "0x5f9DBa2805411a8382FDb4E69d4f2Da8EFaF1F89",
                "tvl_usd": null
            },
            {
                "name": "Morpho V2 Sentora PYUSD Convertor",
                "address": "0x3D2467Cbf82332dbFb38997cBc4D2192694D9490",
                "tvl_usd": null
            },
            {
                "name": "Katana yvUSDC Compounder",
                "address": "0xc5b16E7eFe1CA05714477b8edcAb4deE9b93a27C",
                "tvl_usd": null
            },
            {
                "name": "Base Yearn Morpho OG USDC",
                "address": "0x908244B6ef0e52911a380a5454aEC0743598Fb20",
                "tvl_usd": null
            },
            {
                "name": "Arbitrum syrupUSDC/USDC Morpho Looper",
                "address": "0x2F56D106C6Df739bdbb777C2feE79FFaED88D179",
                "tvl_usd": null
            },
            {
                "name": "Morpho V2 Sentora RLUSD Convertor",
                "address": "0xE0be46Cc5aD2F56a7734A99FF403781b9c54C7B2",
                "tvl_usd": null
            },
            {
                "name": "USDC To sUSDS Depositor",
                "address": "0xdA2f1B3CBa732d779cfF56f0cF9d3Bc8AEA6Cd8D",
                "tvl_usd": null
            },
            {
                "name": "Morpho Yearn OG USDC Compounder",
                "address": "0x0e297dE4005883C757c9F09fdF7cF1363C20e626",
                "tvl_usd": null
            }
        ],
        "net_apr_pct": 4.4224,
        "strategy_count": 9,
        "price_per_share": "1014649",
        "underlying_token": {
            "name": "USD Coin",
            "symbol": "USDC",
            "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
        }
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:15.592Z",
        "request_id": "40459a04-1ede-4758-b8da-a95754005564"
    },
    "status": "ok",
    "message": "Vault retrieved successfully",
    "success": true
}