Aller au contenu
GET /v1/meta

Service metadata

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/lendingrates-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/lendingrates-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lendingrates-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lendingrates-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/lendingrates-api/v1/meta",
    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": {
        "note": "markets takes asset, chain, project, stablecoin, min_tvl, sort (supply|borrow|utilization|tvl), include_outliers, limit (1-300), offset. best takes asset (required), side (supply|borrow), chain, min_tvl (default 1,000,000), limit. asset takes asset (required), min_tvl (default 1,000,000). meta takes no parameters. APYs are in percent. Ranking surfaces exclude DeFiLlama-flagged outliers and >100% utilisation so the best rate is real and harvestable. A 10-minute protective cache fronts the shared DeFiLlama upstream.",
        "source": "DeFiLlama yields API (yields.llama.fi/pools + /lendBorrow), live, keyless",
        "service": "lendingrates-api",
        "endpoints": {
            "GET /v1/best": "Top venues to supply (highest APY) or borrow (lowest APY) an asset (asset=USDC, side=supply).",
            "GET /v1/meta": "This document.",
            "GET /v1/asset": "One asset summarised across all its markets (asset=USDC).",
            "GET /v1/markets": "Cross-protocol money-market lending table (filter: asset, chain, project, stablecoin, min_tvl; sort)."
        },
        "description": "DeFi lending rates — the supply and borrow APYs of on-chain money markets compared across every major protocol and chain, live from DeFiLlama (no key). markets returns the full money-market table (supply APY, borrow APY, utilisation, LTV, pool size) filterable by asset/chain/project/stablecoin/min_tvl; best returns the top venues to supply (highest APY) or borrow (lowest APY) a given asset; asset summarises one asset across all its markets (min/max/avg/median supply & borrow APY, best lend & borrow venue). The cross-protocol money-market-rates cut — distinct from TVL analytics (size, not rates), single-protocol lending APIs (one venue), and perpetual funding-rate APIs (a different rate).",
        "market_count": 2060,
        "top_usdc_supply": {
            "chain": "Ethereum",
            "project": "euler-v2",
            "supply_apy": 73.9907
        },
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:31.203Z",
        "request_id": "efaa5d61-f8bd-4560-8db8-1316b6226f99"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}