Prices

Stream Price bars in an OHLCV chart for pairs or assets in Standard spot exchange

✅ Request

Subscription
{
  "id": 1,
  "method": "spot.bars.subscribe",
  "params": {
    "ids": ["ETH/USDC-PairMin", "ETH-TokenMin"]
  }
}

📤 Response

Success
{
  "result": null,
  "id": 1
}

📡 Streamed Data Format

Bar Stream
[
    "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

Was this helpful?