跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

查询成交数据

查询当前最新成交数据

请求URL

GET https://cloud-api.wooxpro.com/contract/public/market-trade

请求限制

参见 速率限制详细

请求参数

请求
curl https://cloud-api.wooxpro.com/contract/public/market-trade?symbol=BTCUSDT&limit=100
参数类型是否必填描述
symbolString必填合约交易对(如BTCUSDT)
limitLong选填条数(默认 50;最大 100;)

响应详情

响应
{
  "code": 1000,
  "message": "Ok",
  "data": [
    {
      "symbol": "BTCUSDT",
      "price": "104146.5",
      "qty": "0.037",
      "quote_qty": "3853.4205",
      "time": 1750347973,
      "is_buyer_maker": true
    },
    {
      "symbol": "BTCUSDT",
      "price": "104146.6",
      "qty": "0.023",
      "quote_qty": "2395.3718",
      "time": 1750347972,
      "is_buyer_maker": true
    }
  ],
  "trace": "26f999a04cfa11f09ce9d6002fd59247.4375416.39621015744567440"
}
字段类型描述
symbolString交易对
priceString成交价格
qtyString成交值-coin
quote_qtyString成交值-USDT
timeLong成交时间戳
is_buyer_makerBool买方为做市方时为True