Skip to main content
POST
Subscribe: Perps Kline / Candlesticks

Body

application/json
op
enum<string>
required

Operation type.

Available options:
subscribe,
unsubscribe
Example:

"subscribe"

channel
enum<string>
required

Channel for this subscription.

Available options:
kLinePerps
Example:

"kLinePerps"

markets
string[]
required

Market to subscribe to. Exactly one market is required.

Example:
resolution
enum<string>
required

Kline resolution.

Available options:
1,
5,
15,
1H,
4H,
1D,
1W
Example:

"1H"

Response

200 - application/json

Channel update for kLinePerps

type
enum<string>
Available options:
update
channel
enum<string>
Available options:
kLinePerps
data
object

Candlestick/kline data point