查询当前最新成交数据
请求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
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| symbol | String | 必填 | 合约交易对(如BTCUSDT) |
| limit | Long | 选填 | 条数(默认 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"
}
| 字段 | 类型 | 描述 |
|---|---|---|
| symbol | String | 交易对 |
| price | String | 成交价格 |
| qty | String | 成交值-coin |
| quote_qty | String | 成交值-USDT |
| time | Long | 成交时间戳 |
| is_buyer_maker | Bool | 买方为做市方时为True |