API Reference

Query History Data Export

Request

NameTypeMandatoryDescription
exportTypeIntegerYExport type: 1- History Order 3-History Position
exchangeStringNExchange type(BINANCE,OKX)
businessTypeStringNBusiness type(SPOT,MARGIN,PERP)
exportStatusIntegerN
pageIntegerN
pageSizeIntegerN

Response

FieldTypeRemark
portfolioIdStringPortfolio ID
exportTypeStringExport type(1-History Order,3-History Position)
exchangeTypeStringExchange type(BINANCE,OKX)
businessTypeStringBusiness type(SPOT,MARGIN,PERP)
orderStateStringPlease see ENUM Definitions for supported values.
startTimeLongExport data start time(millisecond timestamp)
endTimeLongExport data start time(millisecond timestamp)
isFilterCancelInt0-All Data, 1-Filtering orders with no quantity filled, Effective only when exporting order data. Default export all orders.
downloadUrlStringdownload url
statusInt
createAtLongCreate data time(millisecond timestamp)
updateAtLongUpdate data time(millisecond timestamp)
Language
Credentials
OAuth2