Prices
Stream Price bars in an OHLCV chart for pairs or assets in Standard spot exchange
✅ Request
{
"id": 1,
"method": "spot.bars.subscribe",
"params": {
"ids": ["ETH/USDC-PairMin", "ETH-TokenMin"]
}
}{
"id": 1,
"method": "spot.bars.unsubscribe",
"params": {
"ids": ["ETH/USDC-PairMin", "ETH-TokenMin"]
}
}📤 Response
{
"result": null,
"id": 1
}{
"code": 1,
"msg": "Internal Error: {error}"
}📡 Streamed Data Format
[
"spotBar",
"ETH/USDC-PairMin",
"1600.18",
1713659300,
1200.12
]📄 Field Descriptions
Index
Field
Type
Description
0
eventId
string
Unique event identifier
1
id
string
Unique identifier (e.g. ETH/USDC-PairMin)
2
price
float
Price
3
timestamp
integer
UNIX timestamp of the event
4
volume
float
Volume (default or placeholder value is 0)
Last updated