Skip to main content

Get the best pending order ticker

Type: GET Description: /v4/public/ticker/book

Parameters

nametypemandatorydefaultdescriptionranges
symbolstringfalsetrading pair eg:btc_usdt
symbolsarrayfalseCollection of trading pairs. Priority is higher than symbol. eg: btc_usdt,eth_usdt
tagsstringfalseSet of tags, separated by commas, currently only supports spot

Limit Flow Rules

  1. single symbol: 10/s/ip
  2. multiple symbols: 10/s/ip

Request Example

Request
  curl --location --request GET 'https://sapi.xt.com/v4/public/ticker/book?symbol=XT_USDT' \
--header 'accept: */*' \
--header 'Content-Type: application/json' \

Response Example

Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": [
{
"s": "btc_usdt", // trading pair
"t": 1661856036925, // update time
"ap": null, // best ask price
"aq": null, // best ask quantity
"bp": null, // best bid price
"bq": null // best bid quantity
}
]
}