Aller au contenu
GET /v1/overview

Combined Compound snapshot (TVL + fees + markets + top market)

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/compound-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/compound-api/v1/overview" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/compound-api/v1/overview", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/compound-api/v1/overview");
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/overview",
    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": "Snapshot of Compound across all chains: TVL, number of markets, fees and the single largest market.",
        "source": "DeFiLlama",
        "fees_24h": 54430,
        "fees_30d": 1738515,
        "protocol": "Compound",
        "total_tvl": 1153780222.65,
        "top_market": {
            "tvl": 306503650,
            "asset": "WBTC",
            "chain": "Ethereum",
            "pool_id": "c1ca08e4-d618-415e-ad63-fcec58705469",
            "version": "v3",
            "reward_apy": null,
            "stablecoin": false,
            "supply_apy": null,
            "apy_30d_avg": 0,
            "earns_yield": false
        },
        "chain_count": 9,
        "market_count": 119
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:30.400Z",
        "request_id": "05ecd865-98f1-4c8b-b401-bd01723cf981"
    },
    "status": "ok",
    "message": "Compound overview retrieved successfully",
    "success": true
}