API reference
Spot klines
GET/data/spot/klines
Historical spot OHLCV candles for major cryptoassets (BTC, ETH, SOL). Sourced from ClickHouse hot storage.
120 requests / minute per key (read tier). Returns the {success, message, data} + meta envelope.
Authorizations
Authorizationstringheaderrequired
Bearer token - an ito_* key (from Settings) holding the markets:read scope.
Query parameters
symbolstringrequired
Asset symbol: BTC, ETH, or SOL
intervalint
Candle interval in seconds, 60–86400 (default 300 = 5m)
startstringrequired
ISO 8601 start time
endstringrequired
ISO 8601 end time
limitint
Max rows (default 5000, max 50000)
Request
curl "https://itomarkets.com/api/v1/data/spot/klines?symbol=VALUE&start=VALUE&end=VALUE" \ -H "Authorization: Bearer $ITO_API_KEY"ResponseJSON
{ "success": true, "message": "Success", "data": { "symbol": "BTC", "interval": 300, "klines": [ { "ts": "2026-06-09T14:00:00Z", "open": 97245.3, "high": 97301.1, "low": 97198.7, "close": 97267.4 } ] }, "meta": { "rows": 1, "interval": 300 }}