API stream endpoints

Methods

closeIsolatedMarginListenKey(symbol, listenKey)

Close an Isolated Margin ListenKey (USER_STREAM)

DELETE /sapi/v1/userDataStream/isolated

https://binance-docs.github.io/apidocs/spot/en/#listen-key-isolated-margin

Parameters:
NameTypeDescription
symbolstring
listenKeystring

closeListenKey(listenKey)

Close a ListenKey (USER_STREAM)

DELETE /api/v3/userDataStream

https://binance-docs.github.io/apidocs/spot/en/#listen-key-spot

Parameters:
NameTypeDescription
listenKeystring

closeMarginListenKey(listenKey)

Close a Margin ListenKey (USER_STREAM)

DELETE /sapi/v1/userDataStream

https://binance-docs.github.io/apidocs/spot/en/#listen-key-margin

Parameters:
NameTypeDescription
listenKeystring

createIsolatedMarginListenKey(symbol)

Create an Isolated Margin ListenKey (USER_STREAM)

POST /sapi/v1/userDataStream/isolated

https://binance-docs.github.io/apidocs/spot/en/#listen-key-isolated-margin

Parameters:
NameTypeDescription
symbolstring

createListenKey()

Create a ListenKey (USER_STREAM)

POST /api/v3/userDataStream

https://binance-docs.github.io/apidocs/spot/en/#listen-key-spot

createMarginListenKey()

Create a Margin ListenKey (USER_STREAM)

POST /sapi/v1/userDataStream

https://binance-docs.github.io/apidocs/spot/en/#listen-key-margin

renewIsolatedMarginListenKey(symbol, listenKey)

Ping/Keep-alive an Isolated Margin ListenKey (USER_STREAM)

PUT /sapi/v1/userDataStream/isolated

https://binance-docs.github.io/apidocs/spot/en/#listen-key-isolated-margin

Parameters:
NameTypeDescription
symbolstring
listenKeystring

renewListenKey(listenKey)

Ping/Keep-alive a ListenKey (USER_STREAM)

PUT /api/v3/userDataStream

https://binance-docs.github.io/apidocs/spot/en/#listen-key-spot

Parameters:
NameTypeDescription
listenKeystring

renewMarginListenKey(listenKey)

Ping/Keep-alive a Margin ListenKey (USER_STREAM)

PUT /sapi/v1/userDataStream

https://binance-docs.github.io/apidocs/spot/en/#listen-key-margin

Parameters:
NameTypeDescription
listenKeystring