/v1/klines
OHLC candlesticks for a market
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/backpack-api/v1/klines" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/backpack-api/v1/klines", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/backpack-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/backpack-api/v1/klines",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "OHLC candlesticks for one Backpack market — each candle's open, high, low, close, volume and trade count. Pass symbol (e.g. SOL_USDC), interval (1m,5m,15m,1h,4h,1d,1w… default 1h) and limit (default 100, max 500).",
"count": 100,
"source": "Backpack",
"symbol": "SOL_USDC",
"candles": [
{
"end": "2026-06-10 15:00:00",
"low": 64.58,
"high": 65.23,
"open": 65.04,
"close": 65.02,
"start": "2026-06-10 14:00:00",
"trades": 191,
"volume": 392.59,
"quote_volume": 25484.5673
},
{
"end": "2026-06-10 16:00:00",
"low": 64.53,
"high": 65.7,
"open": 65.03,
"close": 65.38,
"start": "2026-06-10 15:00:00",
"trades": 378,
"volume": 1422.47,
"quote_volume": 92647.4519
},
{
"end": "2026-06-10 17:00:00",
"low": 64.22,
"high": 65.4,
"open": 65.4,
"close": 64.54,
"start": "2026-06-10 16:00:00",
"trades": 157,
"volume": 420.69,
"quote_volume": 27368.0348
},
{
"end": "2026-06-10 18:00:00",
"low": 63.63,
"high": 64.92,
"open": 64.59,
"close": 64.05,
"start": "2026-06-10 17:00:00",
"trades": 384,
"volume": 3166.07,
"quote_volume": 202501.8661
},
{
"end": "2026-06-10 19:00:00",
"low": 63.36,
"high": 64.16,
"open": 64.04,
"close": 63.79,
"start": "2026-06-10 18:00:00",
"trades": 225,
"volume": 682.21,
"quote_volume": 43442.9439
},
{
"end": "2026-06-10 20:00:00",
"low": 63.38,
"high": 63.9,
"open": 63.79,
"close": 63.56,
"start": "2026-06-10 19:00:00",
"trades": 283,
"volume": 1073.7,
"quote_volume": 68328.8127
},
{
"end": "2026-06-10 21:00:00",
"low": 63.15,
"high": 63.62,
"open": 63.51,
"close": 63.3,
"start": "2026-06-10 20:00:00",
"trades": 297,
"volume": 1119.88,
"quote_volume": 71020.8592
},
{
"end": "2026-06-10 22:00:00",
"low": 62.33,
"high": 63.27,
"open": 63.25,
…