API Documentation
REST API and WebSocket documentation for programmatic trading access.
Base URL
https://api-dev.bumba.global/api/v1Authentication
All authenticated endpoints require an API key and signature. Generate your API credentials from the Settings page.
Required Headers
X-API-KEY: your_api_key
X-API-SIGNATURE: hmac_sha256_signature
X-API-TIMESTAMP: unix_timestamp_ms
Signature Generation
The signature is computed as HMAC-SHA256 of the request body concatenated with the timestamp, using your API secret as the key.
Orders
/ordersPlace a new order.
{
"symbol": "BTC-USD",
"side": "BUY",
"type": "LIMIT",
"quantity": "0.1",
"price": "50000.00"
}/orders/:orderIdCancel an existing order.
/ordersGet all open orders for your account.
Markets
/marketsList all available trading pairs.
/markets/:symbol/orderbookGet the current order book for a symbol.
/markets/:symbol/candlesGet OHLCV candle data for charting.
Query params: interval (1m, 5m, 15m, 1h, 4h, 1d), limit, start, end
Account
/account/balancesGet all asset balances for your account.
/account/tradesGet trade history for your account.
WebSocket
Real-time market data and order updates via WebSocket.
Connection URL
wss://ws-dev.bumba.globalAvailable Channels
orderbook.{symbol}- Real-time order book updatestrades.{symbol}- Real-time trade streamticker.{symbol}- Price ticker updatesuser.orders- Your order updates (authenticated)