API Reference

WS v2/ BBO

Get the BBO (Best Bid and Offer Data) data.

Request Parameters


PARAMETERTYPEReq'dExampleDESCRIPTION
topicSTRINGYbboTopic for "bbo" data push
eventSTRINGYsubSubscribe ("sub") or Unsubscribe ("cancel")
paramsDICTIONARYY-Request Parameters
> symbolSTRINGYETHUSDTTrading Pairs see [Get] Get Exchange Info

Request Demo

{
    "topic":"bbo",
    "event":"sub",
    "params":{
        "symbol": "ETHUSDT"
    }
}

WS Push Content


PARAMETERTYPEExampleDESCRIPTION
topicSTRINGbboTopic for "bbo" data push
paramsDICTIONARY-Request Parameters
> symbolSTRINGETHUSDTTrading Pairs see [Get] Get Exchange Info
dataDICTIONARY-WS Push Contenet Data
> tLONG1730100239050Data Time (milisecond)
> bSTRING (decimal)1802.04Bid Price
> bzSTRING (decimal)0.008Bid Quantity
> aSTRING (decimal)1803.5Ask Price
> azSTRING (decimal)0.001Ask Quantity

WS Push Demo

{
    "topic": "bbo",
    "params": {
        "symbol": "ETHUSDT"
    },
    "data": {
        "s": "ETHUSDT",
        "b": "1802.04",
        "bz": "0.008",
        "a": "1803.5",
        "az": "0.001",
        "t": 1730813735714
    }
}