/v1/chains
TVL by blockchain
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/defi-api/v1/chains" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/defi-api/v1/chains", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/defi-api/v1/chains");
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/chains",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 50,
"total": 451,
"chains": [
{
"tvl": 42055875376,
"name": "Ethereum",
"token": "ETH",
"chain_id": 1
},
{
"tvl": 5751163498,
"name": "BSC",
"token": "BNB",
"chain_id": 56
},
{
"tvl": 5364786820,
"name": "Solana",
"token": "SOL",
"chain_id": null
},
{
"tvl": 4852378311,
"name": "Tron",
"token": "TRON",
"chain_id": null
},
{
"tvl": 4826919648,
"name": "Bitcoin",
"token": "BTC",
"chain_id": null
},
{
"tvl": 4401773310,
"name": "Base",
"token": null,
"chain_id": 8453
},
{
"tvl": 1740237929,
"name": "Hyperliquid L1",
"token": "HYPE",
"chain_id": null
},
{
"tvl": 1500467630,
"name": "Provenance",
"token": "HASH",
"chain_id": null
},
{
"tvl": 1491085765,
"name": "Arbitrum",
"token": "ARB",
"chain_id": 42161
},
{
"tvl": 1159599427,
"name": "Polygon",
"token": "POL",
"chain_id": 137
},
{
"tvl": 795025488,
"name": "Plasma",
"token": "XPL",
"chain_id": 9745
},
{
"tvl": 604145507,
"name": "Avalanche",
"token": "AVAX",
"chain_id": 43114
},
{
"tvl": 520228007,
"name": "Sui",
"token": "SUI",
"chain_id": null
},
{
"tvl": 393316396,
"name": "Monad",
"token": "MON",
"chain_id": 143
},
{
"tvl": 322471216,
"name": "OP Mainnet",
"token": "OP",
"chain_id": 10
},
{
"tvl": 284561824,
"name": "Cronos",
"token": "CRO",
"chain_id": 25
},
{
"tvl": 259034791,
"name": "ENI",
"token": "ENI",
"chain_id": 173
},
{
"tvl": 258374010,
"name": "Ink",
"token": null,
"chain_id": 57073
…