跳至主要内容

查詢歷史成交列表

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
}
]
}
}