/v1/fees
Compound protocol fees (24h/7d/30d)
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}