/v1/tvl
Compound TVL total and per-chain breakdown
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/compound-api/v1/tvl" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/compound-api/v1/tvl", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/compound-api/v1/tvl");
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/tvl",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Total value supplied to Compound (v2 + v3), in USD.",
"chains": [
{
"tvl": 1052630613,
"chain": "Ethereum"
},
{
"tvl": 63284681,
"chain": "Arbitrum"
},
{
"tvl": 20103799,
"chain": "Base"
},
{
"tvl": 10449732,
"chain": "OP Mainnet"
},
{
"tvl": 5732406,
"chain": "Polygon"
},
{
"tvl": 1701718,
"chain": "Mantle"
},
{
"tvl": 1020617,
"chain": "Unichain"
},
{
"tvl": 103655,
"chain": "Ronin"
},
{
"tvl": 97521,
"chain": "Scroll"
}
],
"source": "DeFiLlama",
"protocol": "Compound",
"total_tvl": 1153780222.65,
"chain_count": 9
},
"meta": {
"timestamp": "2026-06-14T08:04:30.560Z",
"request_id": "579f3cd4-1e7a-43fc-8628-f70937e708f7"
},
"status": "ok",
"message": "Compound TVL retrieved successfully",
"success": true
}