Zum Inhalt springen
GET /v1/kline

OHLCV candles

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 50,
        "source": "Bybit",
        "symbol": "BTCUSDT",
        "candles": [
            {
                "low": 61920.7,
                "high": 62250.1,
                "open": 62071.5,
                "time": "2026-06-09T20:00:00.000Z",
                "close": 61984.1,
                "volume": 1767.783,
                "turnover": 109744025.2588
            },
            {
                "low": 61690.9,
                "high": 62087.1,
                "open": 61760.6,
                "time": "2026-06-09T19:00:00.000Z",
                "close": 62071.5,
                "volume": 3823.956,
                "turnover": 236641505.3364
            },
            {
                "low": 61565.8,
                "high": 61954.5,
                "open": 61667.7,
                "time": "2026-06-09T18:00:00.000Z",
                "close": 61760.6,
                "volume": 3546.046,
                "turnover": 218882096.3615
            },
            {
                "low": 61362,
                "high": 61877.1,
                "open": 61362,
                "time": "2026-06-09T17:00:00.000Z",
                "close": 61667.7,
                "volume": 6679.208,
                "turnover": 411763084.3545
            },
            {
                "low": 60705,
                "high": 61475,
                "open": 61104.9,
                "time": "2026-06-09T16:00:00.000Z",
                "close": 61362,
                "volume": 11381.499,
                "turnover": 695036957.9708
            },
            {
                "low": 61000.3,
                "high": 61683.3,
                "open": 61514.1,
                "time": "2026-06-09T15:00:00.000Z",
                "close": 61104.9,
                "volume": 7625.835,
                "turnover": 467604326.5896
            },
            {
                "low": 61111,
                "high": 62368.4,
                "open": 62245.4,
                "time": "2026-06-09T14:00:00.000Z",
                "close": 61514.1,
                "volume": 13235.627,
                "turnover": 815616186.8719
            },
            {
                "low": 62130,
                "high": 62706.1,
                "open": 62611.9,
                "time": "2026-06-09T13:00:00.000Z",
                "close": 62245.4,
                "volume": 6882.856,
                "turnover": 429186456.1226
            },
            {
                "low": 62385.4,
                "high": 62878,
                "open": 62676.2,
                "time": "2026-06-09T12:00:00.000Z",
                "close": 62611.9,
                "volume": 3778.586,
                "turnover": 236754929.9916
            },
            {
                "low": 62462.9,
                "high": 62778.3,
                "open": 62749,
                "time": "2026-06-09T11:00:00.000Z",
                "close": 62676.2,
                "volume": 2504.465,
                "turnover": 156745887.95
…