/v1/meta
Service metadata & live sample
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/compound-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/compound-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/compound-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/compound-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 optional version (v2, v3), chain (e.g. Ethereum, Base), earning (true/false — v3 collateral earns none), min_tvl, limit (1-100) and sort (tvl, supply_apy or apy). All money values are USD; APYs are percentages. Other endpoints take no parameters.",
"sample": {
"total_tvl": 1153780222.65,
"market_count": 119
},
"source": "DeFiLlama open API (yields.llama.fi + api.llama.fi), live",
"service": "compound-api",
"endpoints": {
"GET /v1/tvl": "Compound TVL total and per-chain breakdown.",
"GET /v1/fees": "Compound protocol fees (24h/7d/30d).",
"GET /v1/meta": "This document.",
"GET /v1/markets": "Per-asset Compound v2/v3 markets with supply APY, TVL and earns_yield (version, chain, earning, sort).",
"GET /v1/overview": "Combined Compound snapshot (TVL + fees + market count + top market)."
},
"description": "Live protocol metrics for Compound Finance, one of the original decentralized lending protocols, keyless. Total value locked across every chain, the per-asset markets across Compound v2 and v3 (Comet) with supply APY and TVL — including the v3 distinction where collateral assets do not earn yield — and protocol fees. One combined overview snapshots it all. Live, nothing stored beyond a short protective cache. The Compound-metrics layer for DeFi dashboards, lending, yield and risk apps. Distinct from other lending protocols — Compound's own markets, v2 + v3, multi-chain.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-14T08:04:30.724Z",
"request_id": "7b3e28ef-4b92-42a1-81fe-6debb214ef5c"
},
"status": "ok",
"message": "Meta",
"success": true
}