跳到主要内容

获取某个ticker信息

  • GET /capi/v2/market/ticker

权重(IP): 1

请求参数

参数名类型是否必填说明
symbolString交易对

请求示例

curl "https://api-contract.weex.com/capi/v2/market/ticker?symbol=cmt_btcusdt"

返回参数

参数名类型说明
symbolString交易对
lastString最新成交价
best_askString卖一价
best_bidString买一价
high_24hString24小时最高价
low_24hString24小时最低价
volume_24hString计价币交易量
timestampString系统时间戳
Unix毫秒时间戳
priceChangePercentString24小时价格涨跌幅
base_volumeString交易币交易量
markPriceString标记价格
indexPriceString指数价格

返回示例

{
"symbol": "cmt_btcusdt",
"last": "90755.3",
"best_ask": "90755.4",
"best_bid": "90755.3",
"high_24h": "91130.0",
"low_24h": "90097.3",
"volume_24h": "2321170547.37995",
"timestamp": "1764482511864",
"priceChangePercent": "0.000474",
"base_volume": "25615.0755",
"markPrice": "90755.2",
"indexPrice": "90797.161"
}