Skip to main content

Get C2C Trade History (USER_DATA)

API Description

Get C2C Trade History

HTTP Request

GET /sapi/v1/c2c/orderMatch/listUserOrderHistory

Request Weight(IP)

1

Request Parameters

NameTypeMandatoryDescription
startTimeLONGNO
endTimeLONGNO
pageINTNODefault 1
recvWindowLONGNO
timestampLONGYES
  • The max interval between startTime and endTime is 30 days.
  • If startTime and endTime are not sent, the recent 7 days' data will be returned.
  • The earliest startTime is supported on June 10, 2020
  • Return up to 200 records per request.

Response Example

{
"code": "000000",
"message": "success",
"data": [
{
"orderNumber":"20219644646554779648",
"advNo": "11218246497340923904",
"tradeType": "SELL",
"asset": "BUSD",
"fiat": "CNY",
"fiatSymbol": "¥",
"amount": "5000.00000000", // Quantity (in Crypto)
"totalPrice": "33400.00000000",
"unitPrice": "6.68", // Unit Price (in Fiat)
"orderStatus": "COMPLETED", // PENDING, TRADING, BUYER_PAYED, DISTRIBUTING, COMPLETED, IN_APPEAL, CANCELLED, CANCELLED_BY_SYSTEM
"createTime": 1619361369000,
"commission": "0", // Transaction Fee (in Crypto)
"counterPartNickName": "ab***",
"advertisementRole": "TAKER"
}
],
"total": 1,
"success": true
}