跳到主要内容

查询最近成交列表

类型: GET
描述: /v4/public/trade/recent

参数

名称类型是否必需默认值描述取值范围
symbolstringtrue交易对
limitnumberfalse2001~1000

限流规则

10次/秒/IP

请求示例

Request
  curl --location --request GET 'https://sapi.xt.com/v4/public/trade/recent?symbol=XT_USDT&limit=200' \
--header 'accept: */*' \
--header 'Content-Type: application/json' \

响应示例

Response
{
"rc": 0,
"mc": "string",
"ma": [{}],
"result": [
{
"i": 0, // ID
"t": 0, // 成交时间
"p": "string", // 成交价
"q": "string", // 成交量
"v": "string", // 成交额
"b": true // 是否是buyerMaker
}
]
}