Real-time Crypto OrderBook
General WSS information
- Crypto subscriptions are subscribed in the form of
symbol@market(for example:BTC-USDT@dcex). Multiple crypto subscriptions are separated by/(for example:BTC-USDT@dcex/ETH-USDT@dcex/DOGE-USDT@dcex).
WebSocket Limits
- Each access IP is limited to a maximum of 1024 WebSocket connections.
- Each WebSocket connection has a maximum of 200 subscription combinations. If this limit is exceeded, the subscription will be truncated.
Subscribe to crypto orderbook
Subscribe to real-time crypto orderbook data streams. Crypto orderbook provide live current trading information that updates continuously 24/7.
Key Characteristics:
- Real-time updates: Data is pushed immediately when market conditions change
- Live pricing: Reflects current market prices and trading activity
- 24/7 trading: Continuous trading without market closure
- Continuous data: Updates occur throughout the day as trades happen
bash
wss://{base_url}/ws/market/v1/orderbooks?symbols={streams}Example
bash
wss://{base_url}/ws/market/v1/orderbooks?symbols=BTC-USDT@dcex/ETH-USDT@dcexDescription
| Code | Type | Description |
|---|---|---|
symbol | STRING | Crypto symbol |
market | STRING | Crypto market |
ask | OBJECT ARRAY | Sell orders |
bid | OBJECT ARRAY | Buy orders |
time | STRING | Orderbook time |
Description of the market order field.
| Name | Type | Description |
|---|---|---|
price | DECIMAL | Order price |
volume | DECIMAL | Order volume |
JSON Example
json
{
"type": "orderbook",
"data": {
"market": "dcex",
"symbol": "BTC-USDT",
"time": "2025-09-25 10:10:23.394",
"ask": [
{
"price": 113710,
"volume": 1.77144
},
{
"price": 113710.01,
"volume": 0.00055
},
{
"price": 113710.4,
"volume": 0.00005
},
{
"price": 113710.42,
"volume": 0.0001
},
{
"price": 113710.43,
"volume": 0.02191
},
{
"price": 113711.37,
"volume": 0.00005
},
{
"price": 113712,
"volume": 0.00005
},
{
"price": 113712.25,
"volume": 0.00158
},
{
"price": 113712.5,
"volume": 0.00005
},
{
"price": 113713.58,
"volume": 0.00005
},
{
"price": 113713.93,
"volume": 0.0015
},
{
"price": 113713.99,
"volume": 0.0001
},
{
"price": 113714,
"volume": 0.0847
},
{
"price": 113715.06,
"volume": 0.01704
},
{
"price": 113715.16,
"volume": 0.00005
},
{
"price": 113715.99,
"volume": 0.0001
},
{
"price": 113716,
"volume": 0.08465
},
{
"price": 113716.36,
"volume": 0.00089
},
{
"price": 113716.74,
"volume": 0.00008
},
{
"price": 113716.75,
"volume": 0.00457
}
],
"bid": [
{
"price": 113709.99,
"volume": 11.41471
},
{
"price": 113709.93,
"volume": 0.00008
},
{
"price": 113709.92,
"volume": 0.00008
},
{
"price": 113709.85,
"volume": 0.00204
},
{
"price": 113709.84,
"volume": 0.0081
},
{
"price": 113709.6,
"volume": 0.0023
},
{
"price": 113708.04,
"volume": 0.00025
},
{
"price": 113708.03,
"volume": 0.56385
},
{
"price": 113708.02,
"volume": 0.00593
},
{
"price": 113708.01,
"volume": 0.00015
},
{
"price": 113708,
"volume": 0.085
},
{
"price": 113707.99,
"volume": 0.65843
},
{
"price": 113707.85,
"volume": 0.00168
},
{
"price": 113707.73,
"volume": 0.00042
},
{
"price": 113707.3,
"volume": 0.0001
},
{
"price": 113707.29,
"volume": 0.31676
},
{
"price": 113706.84,
"volume": 0.00005
},
{
"price": 113706.77,
"volume": 0.00043
},
{
"price": 113706,
"volume": 0.0847
},
{
"price": 113705.73,
"volume": 0.00043
}
]
}
}
