Skip to content

Ticker

获取交易对 Ticker 信息

获取指定交易对的 Ticker 信息,包括最新价、标记价、24小时统计数据等。

HTTP 请求

GET
/api/perp-market-api/ticker

请求频率限制:

  • 建议不超过 3 次/秒

请求参数

名称 类型 必填 描述
symbol string 交易对符号,如 ETH-PERP

响应字段说明

名称 类型 描述
symbol string 交易对符号
lastPrice string 最新价
markPrice string 标记价
bestAskPrice string 卖一价
bestBidPrice string 买一价
high24h string 24小时最高价
low24h string 24小时最低价
open24h string 24小时开盘价
amount24h string 24小时成交量
volume24h string 24小时成交额
bestAskAmount string 卖一量
bestBidAmount string 买一量
timestamp long 时间戳(毫秒)
change24h string 24小时涨跌幅
rate24h string 24小时涨跌率
openPrice string 开盘价
oraclePrice string 预言机价格
fundingRate string 资金费率
openInterest string 持仓量

响应示例

{
  "code": 200,
  "message": "success",
  "data": {
    "symbol": "ETH-PERP",
    "lastPrice": "2500.5",
    "markPrice": "2500.3",
    "bestAskPrice": "2500.6",
    "bestBidPrice": "2500.4",
    "high24h": "2550.0",
    "low24h": "2450.0",
    "open24h": "2480.0",
    "amount24h": "1000000",
    "volume24h": "2500000000",
    "bestAskAmount": "10.5",
    "bestBidAmount": "12.3",
    "timestamp": 1700000000000,
    "change24h": "20.5",
    "rate24h": "0.0083",
    "openPrice": "2480.0",
    "oraclePrice": "2500.2",
    "fundingRate": "0.0001",
    "openInterest": "5000000"
  }
}