跳到主要内容

获取C2C交易历史记录(USER_DATA)

接口描述

获取C2C交易历史记录

HTTP请求

GET /sapi/v1/c2c/orderMatch/listUserOrderHistory

请求权重(IP)

1

请求参数

名称类型是否必需描述
tradeTypeSTRINGYESBUY, SEll
startTimestampLONGNO
endTimestampLONGNO
pageINTNOdefault 1
rowsINTNOdefault 100, max 100
recvWindowLONGNO
timestampLONGYES
  • 若startTimestamp和endTimestamp均未发送,只返回最近30天数据。
  • startTimestamp和endTimestamp的最大时间间隔为30天。
  • 只能查询最近 6 个月的数据。如果需要产看全部C2C订单,你可以前往 https://c2c.binance.com/zh-CN/fiatOrder

响应示例

{
"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": "阿涛❤***",
"advertisementRole": "TAKER"
}
],
"total": 1,
"success": true
}