Zum Inhalt springen
GET /v1/ticker

A symbol 24h ticker

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "ask": 61443.02,
        "bid": 61442.45,
        "low": 60744.39,
        "high": 62834,
        "last": 61441.83,
        "open": 61700.01,
        "source": "HTX",
        "symbol": "btcusdt",
        "trades_24h": 27450,
        "change_24h_pct": -0.4184,
        "base_volume_24h": 1016.8727,
        "quote_volume_24h": 62764034.33
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:37.230Z",
        "request_id": "2c601425-1312-4937-9807-19697ccdfd55"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}