API Documentation
Build your trading applications with our powerful API
REST API
Access market data, manage trades, and check account information via our REST API endpoints.
https://api.Bitexio.com/v1
WebSocket API
Get real-time market data, order book updates, and trade notifications via WebSocket.
wss://stream.Bitexio.com/ws
Public Endpoints
GET
/api/v1/market/ticker
Get real-time ticker data for all trading pairs
GET
/api/v1/market/depth
Get order book depth for a specific trading pair
GET
/api/v1/market/trades
Get recent trades for a specific trading pair
GET
/api/v1/market/kline
Get K-line/candlestick data for charts
Private Endpoints (Requires API Key)
POST
/api/v1/order
Place a new order
DELETE
/api/v1/order
Cancel an order
GET
/api/v1/balance
Get account balance
GET
/api/v1/orders
Get order history
Code Example
// Get ticker data
fetch('https://api.Bitexio.com/v1/market/ticker?symbol=BTCUSDT')
.then(response => response.json())
.then(data => console.log(data));
// Place order (requires authentication)
fetch('https://api.Bitexio.com/v1/order', {
method: 'POST',
headers: {
'X-API-KEY': 'your-api-key',
'X-API-SECRET': 'your-api-secret',
'Content-Type': 'application/json'
},
body: JSON.stringify({
symbol: 'BTCUSDT',
side: 'BUY',
type: 'LIMIT',
quantity: 0.001,
price: 45000
})
});