C2C
Get C2C Trade History (USER_DATA)
- If startTimestamp and endTimestamp are not sent, the recent 30-day data will be returned.
- The max interval between startTimestamp and endTimestamp is 30 days.
Weight(IP): 1
get/sapi/v1/c2c/orderMatch/listUserOrderHistory
Query parameters
tradeType'BUY' | 'SELL' required
startTimestampinteger
UTC timestamp in ms
endTimestampinteger
UTC timestamp in ms
pageinteger
Example:1
Default 1
rowsinteger
default 100, max 100
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
Trades history
Example response
{
"code": "000000",
"message": "success",
"data": [
{
"orderNumber": "20219644646554779648",
"advNo": "11218246497340923904",
"tradeType": "SELL",
"asset": "BUSD",
"fiat": "CNY",
"fiatSymbol": "¥",
"amount": "5000.00000000",
"totalPrice": "33400.00000000",
"unitPrice": "6.68",
"orderStatus": "COMPLETED",
"createTime": 1619361369000,
"commission": "0",
"counterPartNickName": "ab***",
"advertisementRole": "TAKER"
}
],
"total": 1
}