Zum Inhalt springen
GET /v1/ticker

Ticker for one market

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "base": "BTC",
        "last": 62714.01,
        "quote": "USDT",
        "market": "BTC_USDT",
        "source": "XT",
        "low_24h": 60783.36,
        "high_24h": 62995.99,
        "open_24h": 61712.88,
        "timestamp": 1781164147214,
        "change_24h": 1001.13,
        "change_24h_pct": 1.62,
        "base_volume_24h": 8445.24928,
        "quote_volume_24h": 523088345.01
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:08.767Z",
        "request_id": "b134e200-e343-4879-b604-002594ccfe38"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}