Skip to main content

Subscription

WSProductionwss://ws.btse.com/ws/futuresTestnetwss://testws.btse.io/ws/futures

Subscribe or unsubscribe from any topic.

Request Parameters​

NameTypeRequiredDescription
opStringYesOperation β€” subscribe Β· unsubscribe
argsString[]YesArray of topic strings

Response Content​

NameTypeRequiredDescription
eventStringNoEcho of the event type
channelString[]NoSuccessfully subscribed topics
example

Request

{
"op": "subscribe",
"args": [
"tradeHistoryApiV3:BTC-PERP"
]
}

Response

{
"event": "subscribe",
"channel": [
"tradeHistoryApiV3:BTC-PERP"
]
}