API Reference

Get Account Trade List by clientOrderId (weight=1)

Query account history and transaction records by clientOrderId. Support 30-day data.

  • This Endpoint is of lower weight comparing with Get Account Trade List
  • If there is only fromId, It will return trades with IDs bigger than fromId, sorted in descending order.
  • If there is only toId. It will return trades with IDs less than toId, sorted in descending order
  • If both fromId and toId are provided. It will return trades between fromId and toId, sorted in descending order
  • If neither fromId or toId is provided, it will return the latest trade records, sorted in descending order of the Id

Weight: 1

Request Parameters


PARAMETERTYPEReq'dDESCRIPTION
clientOrderIdSTRINGYClient Order ID, do not support bulk query.
fromIdLONGStarting ID
toIdLONGEnd ID
limitINTLimit of record
timestampLONGYTimestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
-Object ArrayCheck transaction results
idINTEGER1470930841345474561Unique transaction ID (This value is the trade_id in v0 API)
clientOrderIdINTEGER999999999800021An ID defined by the client for the order, it will be automatically generated if it is not sent in the request
ticketIdINTEGER1478144171272585249Execution ID, the execution ID is the same for the direction of a single trade.
symbolSTRINGBTCUSDTrading pair
symbolNameSTRINGBTCUSDTrading pair name
orderIdINTEGER1470930841211329280Order ID
matchOrderIdINTEGER1470930605684362240//Ignore
priceSTRING (decimal)29851.03Price
qtySTRING (decimal)0.0005Quantity
timeSTRING (decimal)1690084620567Millisecond Timestamp
isBuyerBOOLEANfalseWhether the trade is a buyer
isMakerBOOLEANfalseWhether the trade is a maker
feeObjectFee information
fee.feeCoinSTRINGUSDCurrency for fees
fee.feeCoinIdSTRINGUSDCurrency ID for fees
fee.feeCoinNameSTRINGUSDFee currency name
fee.feeSTRING (decimal)0.02985103Transaction fee amount
makerRebateINTEGER0Return
accountIdLONG1545583349011201280Account ID
Language
Credentials
Header
Click Try It! to start a request and see the response here!