跳到主要内容

查询历史成交列表

GET

/az/spot/public/trade/history

限流规则​

10/s/ip

请求参数​

参数类型是否必须默认值描述取值范围
symbolstringtrue交易对
limitnumberfalse200数量1,1000
directionstringtrue查询方向PREV-上一页,NEXT-下一页
fromIdnumberfalse起始ID,eg: 6216559590087220004

Response

{
"rc": 0,
"mc": "string",
"ma": [
{}
],
"result": {
"hasPrev": false, //是否有上一页
"hasNext": true, //是否有下一页
"items": [
{
"i": 0, //ID
"t": 0, //成交时间(time)
"s": "btc_usdt", //交易对(symbol)
"p": "string", //成交价(price)
"a": "string", //成交量(quantity, base)
"v": "string", //成交额(volume, quote)
"m": "BID" //taker方向: BID或ASK
}
]
}
}