Skip to content
GET /v1/chains

TVL per blockchain

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/defillama-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 50,
        "total": 451,
        "chains": [
            {
                "name": "Ethereum",
                "token": "ETH",
                "tvl_usd": 41690089592
            },
            {
                "name": "BSC",
                "token": "BNB",
                "tvl_usd": 5626391828
            },
            {
                "name": "Solana",
                "token": "SOL",
                "tvl_usd": 5251162587
            },
            {
                "name": "Tron",
                "token": "TRON",
                "tvl_usd": 4800375830
            },
            {
                "name": "Bitcoin",
                "token": "BTC",
                "tvl_usd": 4670403572
            },
            {
                "name": "Base",
                "token": null,
                "tvl_usd": 4289568537
            },
            {
                "name": "Hyperliquid L1",
                "token": "HYPE",
                "tvl_usd": 1741121658
            },
            {
                "name": "Provenance",
                "token": "HASH",
                "tvl_usd": 1519380770
            },
            {
                "name": "Arbitrum",
                "token": "ARB",
                "tvl_usd": 1410487481
            },
            {
                "name": "Polygon",
                "token": "POL",
                "tvl_usd": 1096923436
            },
            {
                "name": "Plasma",
                "token": "XPL",
                "tvl_usd": 787153974
            },
            {
                "name": "Avalanche",
                "token": "AVAX",
                "tvl_usd": 588844819
            },
            {
                "name": "Sui",
                "token": "SUI",
                "tvl_usd": 507509028
            },
            {
                "name": "Monad",
                "token": "MON",
                "tvl_usd": 377662558
            },
            {
                "name": "OP Mainnet",
                "token": "OP",
                "tvl_usd": 311067984
            },
            {
                "name": "Cronos",
                "token": "CRO",
                "tvl_usd": 281130515
            },
            {
                "name": "ENI",
                "token": "ENI",
                "tvl_usd": 258909109
            },
            {
                "name": "Ink",
                "token": null,
                "tvl_usd": 251316937
            },
            {
                "name": "Stellar",
                "token": "XLM",
                "tvl_usd": 239597308
            },
            {
                "name": "Mantle",
                "token": "MNT",
                "tvl_usd": 220334645
            },
            {
                "name": "Aptos",
                "token": "APT",
                "tvl_usd": 214419207
            },
            {
                "name": "Starknet",
                "token": "STRK",
                "tvl_usd": 196448633
         
…