KASE
Coming SoonKazakhstan Brokers
connectorType: "kase"Kazakhstan Stock Exchange
Connection Architecture
KASE
WebSocket / REST→
Connector
libs/exchange-kase→
Provider
:8081/api→
Detector
Advisor
Studio
The connector receives data from the exchange and feeds it to Provider (port 8081). From there — to Detector, Advisor, and Studio.
Technologies
Transport
WebSocketREST
Authentication
API Key + SecretData Format
JSONBest for
- Institutional investors requiring direct programmatic access to KZT-denominated KASE instruments.
- Central Asian asset managers monitoring equities, government bonds, and FX in a single feed.
- Retail investors in Kazakhstan looking to automate strategies on locally listed securities.
Connect via code
1Environment variables (.env)
KASE_API_KEY=your_key_here KASE_API_SECRET=your_secret_here
2Connector configuration
// config/config.provider.json
{
"provider": {
"connectors": [
{
"connectorType": "kase",
"enabled": true,
"key": "${KASE_API_KEY}",
"secret": "${KASE_API_SECRET}",
"markets": [
{ "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
],
"subscriptions": [
{ "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
{ "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
{ "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
]
}
]
}
}3Verify and query data
# Verify connection curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \ https://localhost:8081/api/exchanges/runtime-proof # Candles (last 7 days) curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \ "https://localhost:8081/api/candles/kase/spot/BTCUSDT/h1?days=7"
Available via Barfinex API
/api/candles/kase/...
/api/trades/kase/...
/api/orderbook/kase/...
/api/account/kase/...
/api/symbols/kase/...
/api/assets/kase/...
Studio graphical setup — in development, coming in the next release.
Important
KASE trading sessions follow ALMT (Almaty Time, UTC+5).
Access to the order routing API requires a valid brokerage licence or a client account with an accredited KASE member.
Connect in Studio(soon)
Exchange Website