OSL Indonesia Open API · v2
Build trading and payment integrations with OSL Indonesia
REST and WebSocket APIs for market data, spot trading, RFQ, account assets, and IDR fiat deposits and withdrawals.
{ "code": "00000", "msg": "success", "data": [ { "symbol": "BTCUSDT", "lastPr": "92279", "high24h": "93606.68", "low24h": "90889.89", "bidPr": "92274", "askPr": "92279", "change24h": "-0.00746" } ]}Quick start
1Create an API keyLog in to the OSL website, open API Key Management and choose Read-Only, Spot Trading or Futures Trading permissions.2Sign each requestHMAC-SHA256 over timestamp + method + path + query + body, Base64-encoded.3Call an endpointSend it to api.koinsayang.com with the four ACCESS-* headers. Try it right in the “Try it” panel.
Base URLs
REST APIhttps://api.koinsayang.com
Public WebSocketwss://stream-api.koinsayang.com/v2/ws/public
Private WebSocketwss://stream-api.koinsayang.com/v2/ws/private
Explore the API
Market data5 endpointsCoins, trading pairs, 24h tickers, order book and recent trades.ExploreSpot trading5 endpointsBatch orders, cancels, open orders, history and fills.ExploreAccount & wallet4 endpointsAccount assets, sub-account transfers, deposit and withdrawal history.ExploreRFQ4 endpointsLocked-price quotes and RFQ order execution.ExploreFiat (IDR)3 endpointsSupported banks, IDR withdrawals and fiat order status.ExploreWebSocket6 channelsReal-time pushes for tickers, depth, trades, orders and balances.Explore
