Skip to main content

Get Symbol Order Book Ticker

Get the best bid and ask prices from the orderbook for futures symbols.

HTTP Request

GET /api/v1/future/market/book-ticker

Request Parameters

ParameterTypeRequiredDescription
symbolstringNoTrading pair symbol (e.g., BTCUSDT). If omitted, returns all symbols

Request Example

Single Symbol Request

curl -X GET "https://open-api.bydoxe.com/api/v1/future/market/book-ticker?symbol=BTCUSDT"

All Symbols Request

curl -X GET "https://open-api.bydoxe.com/api/v1/future/market/book-ticker"

Response Parameters

ParameterTypeDescription
codestringResponse code
msgstringResponse message
requestTimenumberRequest timestamp in milliseconds
dataobject/arrayResponse data (object for single symbol, array for all)
> symbolstringTrading pair symbol
> bidPricestringBest bid (buy) price
> bidQtystringQuantity available at the best bid price
> askPricestringBest ask (sell) price
> askQtystringQuantity available at the best ask price
> tsnumberData timestamp in milliseconds (Unix timestamp)

Response Example

Success Response (Single Symbol)

{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": {
"symbol": "BTCUSDT",
"bidPrice": "91200.10",
"bidQty": "1.234",
"askPrice": "91210.20",
"askQty": "0.987",
"ts": 1763459280833
}
}

Success Response (All Symbols)

{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": [
{
"symbol": "BTCUSDT",
"bidPrice": "91200.10",
"bidQty": "1.234",
"askPrice": "91210.20",
"askQty": "0.987",
"ts": 1763459280833
},
{
"symbol": "ETHUSDT",
"bidPrice": "3450.50",
"bidQty": "10.5",
"askPrice": "3451.00",
"askQty": "8.3",
"ts": 1763459280833
}
]
}

Error Codes

CodeMessage
40034symbol does not exist
50010Upstream response invalid