Subscription
WSProduction
wss://ws.btse.com/ws/futuresTestnetwss://testws.btse.io/ws/futuresSubscribe or unsubscribe from any topic.
Request Parametersβ
| Name | Type | Required | Description |
|---|---|---|---|
| op | String | Yes | Operation β subscribe Β· unsubscribe |
| args | String[] | Yes | Array of topic strings |
Response Contentβ
| Name | Type | Required | Description |
|---|---|---|---|
| event | String | No | Echo of the event type |
| channel | String[] | No | Successfully subscribed topics |
example
Request
{
"op": "subscribe",
"args": [
"tradeHistoryApiV3:BTC-PERP"
]
}
Response
{
"event": "subscribe",
"channel": [
"tradeHistoryApiV3:BTC-PERP"
]
}