/v1/protocol
One protocol detail
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/defi-api/v1/protocol" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/defi-api/v1/protocol", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/defi-api/v1/protocol");
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/defi-api/v1/protocol",
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": {
"protocol": {
"tvl": 13327114309,
"url": "https://aave.com",
"logo": "https://icons.llama.fi/aave-v3.png",
"mcap": null,
"name": "Aave V3",
"slug": "aave-v3",
"chain": "Multi-Chain",
"audits": "audited",
"chains": [
"Ethereum",
"Plasma",
"Arbitrum",
"Base",
"Avalanche",
"Binance",
"Mantle",
"Polygon",
"MegaETH",
"X Layer",
"xDai",
"Optimism",
"Linea",
"Sonic",
"Celo",
"Scroll",
"zkSync Era",
"Metis",
"Soneium",
"Fantom",
"Harmony"
],
"symbol": "AAVE",
"twitter": "aave",
"category": "Lending",
"change_1d": -0.15,
"change_7d": -2.68,
"chain_tvls": {
"Base": 409455916,
"Celo": 5180522,
"xDai": 52465684,
"Linea": 13838252,
"Metis": 323817,
"Sonic": 10787759,
"Fantom": 3662,
"Mantle": 153649887,
"Plasma": 636582712,
"Scroll": 2156880,
"Binance": 174174108,
"Harmony": 0,
"MegaETH": 113626048,
"Polygon": 122977312,
"Soneium": 203766,
"X Layer": 67910018,
"Arbitrum": 445753489,
"Ethereum": 10749696074,
"Optimism": 47678355,
"borrowed": 10467176430,
"Avalanche": 319465180,
"zkSync Era": 1184867
},
"description": "Earn interest, borrow assets, and build applications"
}
},
"meta": {
"timestamp": "2026-06-01T00:04:00.910Z",
"request_id": "f8a6fe49-1648-4029-bf99-f3969889bbdc"
},
"status": "ok",
"message": "Protocol retrieved",
"success": true
}