/v1/klines
Candlesticks (OHLCV)
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/binance-api/v1/klines" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/binance-api/v1/klines", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/binance-api/v1/klines");
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/binance-api/v1/klines",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 100,
"symbol": "BTCUSDT",
"candles": [
{
"low": 64778.15,
"high": 65841.23,
"open": 65768.89,
"close": 64912.98,
"trades": 383759,
"volume": 974.52056,
"open_time": 1780524000000,
"close_time": 1780527599999,
"quote_volume": 63543702.2703344
},
{
"low": 64092.49,
"high": 64979.99,
"open": 64912.97,
"close": 64142.75,
"trades": 371919,
"volume": 1820.23083,
"open_time": 1780527600000,
"close_time": 1780531199999,
"quote_volume": 117348881.7711745
},
{
"low": 63000,
"high": 64428,
"open": 64142.75,
"close": 63344.97,
"trades": 657007,
"volume": 3512.79677,
"open_time": 1780531200000,
"close_time": 1780534799999,
"quote_volume": 223539486.9079594
},
{
"low": 62100.01,
"high": 63500,
"open": 63344.98,
"close": 62178.1,
"trades": 774415,
"volume": 4759.0413,
"open_time": 1780534800000,
"close_time": 1780538399999,
"quote_volume": 298672788.9991739
},
{
"low": 61383.56,
"high": 63622.7,
"open": 62178.1,
"close": 63231.99,
"trades": 644675,
"volume": 6283.29826,
"open_time": 1780538400000,
"close_time": 1780541999999,
"quote_volume": 393116900.0991397
},
{
"low": 63218.48,
"high": 64540.3,
"open": 63232,
"close": 64363.49,
"trades": 334828,
"volume": 2402.09774,
"open_time": 1780542000000,
"close_time": 1780545599999,
"quote_volume": 153935920.3531126
},
{
"low": 64265.73,
"high": 64764.32,
"open": 64363.49,
"close": 64399.99,
"trades": 245338,
"volume": 1421.62502,
"open_time": 1780545600000,
"close_time": 1780549199999,
"quote_volume": 91700026.1779737
},
{
"low": 63648.01,
"high": 64400,
"open": 64399.99,
"close": 63955.47,
"trades": 308518,
"volume": 1272.84935,
"open_time": 1780549200000,
"close_time": 1780552
…