Skip to main content

Query builder historical orders

GET

/az/spot/builder-order/list-history

Limit Flow Rules​

10/s/apikey

Parameters​

ParameterTypeMandatoryDefaultDescriptionRanges
addressstringfalseuser wallet address
fromIdnumberfalsestart id
directionstringfalsequery direction:PREV, NEXT
limitnumberfalse20Limit number, max 100
startTimenumberfalseeg:1657682804112
endTimenumberfalse

Response

{
"rc": 0,
"mc": "string",
"ma": [
{}
],
"result": {
"hasPrev": true,
"hasNext": true,
"items": [ //For field information, refer to the Get single interface
{
"address": "0x0804ff769413ffc61e1125af5fbef7bedf26b6eb", //User Wallet Address
"symbol": "mathbb_usdt",
"orderId": "587922216896613953",
"clientOrderId": "o_2017622144220921857",
"baseCurrency": "mathbb",
"quoteCurrency": "usdt",
"side": "BUY",
"type": "LIMIT",
"timeInForce": "GTC",
"price": "2.0500",
"origQty": "0.1482",
"origQuoteQty": "0.30381",
"executedQty": "0.1482",
"tradeBase": "0.1482", //Base Currency Executed Quantity
"tradeQuote": "0.30120168", //Quote Currency Executed Quantity
"avgPrice": "2.0324",
"fee": "0.0001",
"builderFee": "0",
"symbolType": "normal",
"closed": true,
"state": "FILLED",
"time": 1769873579574,
"updatedTime": 1769873579620
}
]
}
}