/v1/ticker
A symbol 24h ticker
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}