/v1/meta
Service metadata
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/defifees-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/defifees-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/defifees-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/defifees-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": "metric=fees (gross paid by users, default) or metric=revenue (protocol's retained share). Dollar amounts are USD. protocol/chain are DeFiLlama slugs (aave, uniswap, ethereum, solana).",
"source": "DeFiLlama fees & revenue (api.llama.fi/overview/fees & /summary/fees, live)",
"service": "defifees-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/chain": "Fee or revenue total and top protocols for one chain (chain=ethereum, metric=fees).",
"GET /v1/overview": "Whole-DeFi fee or revenue total plus protocols ranked by earnings (metric=fees|revenue, limit=50).",
"GET /v1/protocol": "One protocol's fees and revenue side by side, 24h/7d/30d/all-time (protocol=aave)."
},
"description": "Live data on the fees users pay to DeFi protocols and the revenue protocols retain, from DeFiLlama. The 'which protocols actually earn money' view — a different layer from TVL (what is deposited). The overview endpoint returns the whole-DeFi fee or revenue total (24h/7d/30d) plus every protocol ranked by earnings; the protocol endpoint returns one protocol's fees and revenue side by side (24h/7d/30d/all-time); the chain endpoint returns the total and top protocols for one blockchain. Live, no key, nothing stored. The fees-and-revenue cut of DeFi — distinct from the TVL, DEX-volume, exchange-ticker and coin-markets APIs.",
"upstream_status": "ok",
"total_fees_24h_usd": 53109426
},
"meta": {
"timestamp": "2026-06-11T16:46:56.939Z",
"request_id": "0c11f1f1-4b4e-4c01-ae07-264e98b8b4b3"
},
"status": "ok",
"message": "Meta",
"success": true
}