Skip to main content
Version: Next

24-Hour Market Statistics

Get 24-hour price change statistics for a specified trading pair.

Interface Information

  • Method: GET
  • Path: /api/v1/stock/open-api/ticker

Request Parameters

ParameterTypeRequiredDescription
symbolstringYesTrading pair

Request Example

GET /api/v1/stock/open-api/ticker?symbol=AAPL

Response Fields

FieldTypeDescription
symbolstringTrading pair
openstring24h opening price
highstring24h highest price
lowstring24h lowest price
closestringLast traded price
volumestring24h trading volume (base asset)
quoteVolumestring24h trading amount (quote asset)
tradeCountint64Number of trades in 24h
priceChangestring24h price change
priceChangePctstring24h price change percentage (%)
weightedAvgPricestring24h weighted average price
updateTimeint64Update time (millisecond timestamp)

Response Example

{
"code": 0,
"msg": "success",
"data": {
"symbol": "AAPL",
"open": "180.00",
"high": "186.50",
"low": "179.50",
"close": "185.50",
"volume": "1000000",
"quoteVolume": "182500000",
"tradeCount": 5678,
"priceChange": "5.50",
"priceChangePct": "3.06",
"weightedAvgPrice": "182.50",
"updateTime": 1705737600000
}
}