Naar de inhoud
GET /v1/protocols

DeFi protocols ranked by TVL

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/defillama-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "chain": "Ethereum",
        "count": 50,
        "total": 1773,
        "category": null,
        "protocols": [
            {
                "url": "https://www.binance.com",
                "logo": "https://icons.llama.fi/binance-cex.jpg",
                "name": "Binance CEX",
                "slug": "binance-cex",
                "chains": [
                    "Ethereum",
                    "Bitcoin",
                    "Binance",
                    "Solana",
                    "Ripple",
                    "Tron",
                    "Doge",
                    "Arbitrum"
                ],
                "symbol": "BNB",
                "tvl_usd": 149933063178,
                "category": "CEX",
                "change_1d_pct": -2.580677465592231,
                "change_7d_pct": -3.071662071468481
            },
            {
                "url": "https://www.okx.com",
                "logo": "https://icons.llama.fi/okx.jpg",
                "name": "OKX",
                "slug": "okx",
                "chains": [
                    "Ethereum",
                    "Bitcoin",
                    "Solana",
                    "Tron",
                    "Doge",
                    "Ripple",
                    "Litecoin",
                    "TON"
                ],
                "symbol": null,
                "tvl_usd": 23435694660,
                "category": "CEX",
                "change_1d_pct": -1.6051017264045981,
                "change_7d_pct": -4.41466316879432
            },
            {
                "url": "https://www.bitfinex.com",
                "logo": "https://icons.llama.fi/bitfinex.png",
                "name": "Bitfinex",
                "slug": "bitfinex",
                "chains": [
                    "Bitcoin",
                    "Ethereum",
                    "Tron",
                    "Solana",
                    "Avalanche",
                    "Polygon",
                    "Litecoin",
                    "Near"
                ],
                "symbol": null,
                "tvl_usd": 18099249858,
                "category": "CEX",
                "change_1d_pct": -1.07104284618309,
                "change_7d_pct": -3.37601151822777
            },
            {
                "url": "https://lido.fi/",
                "logo": "https://icons.llama.fi/lido.png",
                "name": "Lido",
                "slug": "lido",
                "chains": [
                    "Ethereum",
                    "Solana",
                    "Moonbeam",
                    "Moonriver",
                    "Terra"
                ],
                "symbol": "LDO",
                "tvl_usd": 17414353235,
                "category": "Liquid Staking",
                "change_1d_pct": -2.9577707058123224,
                "change_7d_pct": -7.098111463853414
            },
            {
                "url": "https://www.bybit.com",
                "logo": "https://icons.llama.f
…