Vai al contenuto
GET /v1/fees

Compound protocol fees (24h/7d/30d)

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/compound-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Interest and protocol fees paid across all Compound deployments, in USD.",
        "chains": [
            "Ethereum",
            "Polygon",
            "Scroll",
            "Mantle",
            "OP Mainnet",
            "Base",
            "Arbitrum",
            "Linea",
            "Unichain"
        ],
        "source": "DeFiLlama",
        "fees_7d": 368232,
        "fees_24h": 54430,
        "fees_30d": 1738515,
        "protocol": "Compound",
        "change_1d_pct": 1.26,
        "change_7d_pct": null,
        "fees_all_time": 568117881
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:30.475Z",
        "request_id": "2629c2fa-1e3f-48e6-8cce-c7c959340b5f"
    },
    "status": "ok",
    "message": "Compound fees retrieved successfully",
    "success": true
}