Zum Inhalt springen
GET /v1/defi

The DeFi sub-market overview

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/globalmarket-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}