API Reference

WS v2/ Depth

Get the Depth data

Request Parameters


PARAMETERTYPEReq'dExampleDESCRIPTION
topicSTRINGYdepthTopic for "depth" data push
eventSTRINGYsubSubscribe ("sub") or Unsubscribe("cancel")
paramsDICTIONARYY-Request Parameters
> symbolSTRINGY-Trading Pairs see [Get] Get Exchange Info

Request Demo

{ "topic":"depth", "event":"sub", "params":{ "symbol": "USDTUSDC" } }

WS Push Content


PARAMETERTYPEExampleDESCRIPTION
topicSTRINGdepthTopic for "depth" data push
paramsDICTIONARY-Request Parameters
> symbolSTRING-Trading Pairs see [Get] Get Exchange Info
dataDICTIONARY-WS Push Contenet Data
> sSTRINGETHUSDTTrading Pair
> tLONG1730100300000Data Time (milisecond)
> vSTRING55834575325_3Message Version
> bJSON Array["0.704", "28.477"]Bid price and quantity
> aJSON Array["0.703", "46.671" ]Ask price and quantity

WS Push Demo

{ "topic": "depth", "params": { "symbol": "USDTUSDC" }, "data": { "s": "USDTUSDC", "t": 1730096402315, "v": "55834575325_3", "b": [ [ "0.703", "46.671" ] ], "a": [ [ "0.704", "28.477" ] ] } }