Vai al contenuto
GET /v1/defi

The DeFi sub-market overview

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/globalmarket-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "The decentralized-finance sub-market. defi_dominance is DeFi's share of total crypto market cap.",
        "source": "CoinGecko",
        "top_coin_name": "Lido Staked Ether",
        "defi_to_eth_ratio": 42.2,
        "defi_dominance_pct": 3.75,
        "eth_market_cap_usd": 198135604965,
        "defi_market_cap_usd": 83613259686,
        "trading_volume_24h_usd": 3798159287,
        "top_coin_defi_dominance_pct": 17.509
    },
    "meta": {
        "timestamp": "2026-06-11T16:46:50.885Z",
        "request_id": "4a1b02d6-dfaf-4a25-b4f7-263a715603b9"
    },
    "status": "ok",
    "message": "DeFi market retrieved successfully",
    "success": true
}