Skip to content
GET /v1/protocol

A protocol TVL by chain

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

Example response

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

{
    "data": {
        "protocol": {
            "url": "https://aave.com",
            "logo": "https://icons.llama.fi/aave.png",
            "name": "Aave",
            "chains": [],
            "symbol": "AAVE",
            "tvl_usd": 13609500318,
            "twitter": "aave",
            "description": "Aave is an Open Source and Non-Custodial protocol to earn interest on deposits and borrow assets",
            "tvl_by_chain": {
                "BSC": 167803610,
                "Base": 401944050,
                "Celo": 5988780,
                "Aptos": 1727728,
                "Linea": 13173595,
                "Metis": 319466,
                "Sonic": 10786653,
                "Fantom": 4546,
                "Gnosis": 51018685,
                "Mantle": 145000910,
                "Plasma": 637868195,
                "Scroll": 2124090,
                "Harmony": 0,
                "MegaETH": 109412657,
                "Polygon": 136248237,
                "Soneium": 197324,
                "X Layer": 68088064,
                "Arbitrum": 433988342,
                "Ethereum": 11056484266,
                "Avalanche": 319633928,
                "OP Mainnet": 46525553,
                "ZKsync Era": 1161639
            }
        }
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:42.008Z",
        "request_id": "c3ae980d-67cb-488a-ba34-5e4d14edf5d9"
    },
    "status": "ok",
    "message": "Protocol retrieved",
    "success": true
}