Skip to main content

Get 24h statistics ticker

Type: GET Description: /v4/public/ticker/24h

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/24h?symbol=XT_USDT' \
--header 'accept: */*' \
--header 'Content-Type: application/json' \

Response Example

Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": [
{
<<<<<<< Updated upstream
"s": "btc_usdt", // trading pair
"t": 1661856036925, // update time
"cv": "0.0000", // price change
"cr": "0.00", // price change percentage
"o": "9000.0000", // opening price (first trade)
"l": "9000.0000", // lowest price
"h": "9000.0000", // highest price
"c": "9000.0000", // closing price (last trade)
"q": "0.0136", // trading volume
"v": "122.9940" // trading value
=======
"s": "btc_usdt", //symbol
"t": 1661856036925, //time
"cv": "0.0000", //price change value
"cr": "0.00", //price change rate
"o": "9000.0000", //open price
"l": "9000.0000", //lowest price
"h": "9000.0000", //highest price
"c": "9000.0000", //close price
"q": "0.0136", //transaction quantity
"v": "122.9940" //transaction volume
>>>>>>> Stashed changes
}
]
}