Zum Inhalt springen
GET /v1/market

Market price, cap and dominance for a chain

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "name": "Ethereum",
        "chain": "ethereum",
        "price_btc": 0.026387528244946,
        "price_usd": 1740.02,
        "market_cap_usd": 209699523103,
        "market_dominance_percentage": 8.94,
        "price_change_24h_percentage": 3.99061
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:27.803Z",
        "request_id": "785d21b1-cb75-4c2f-823e-58e14e3d25aa"
    },
    "status": "ok",
    "message": "Market data retrieved successfully",
    "success": true
}