C2C

Get C2C Trade History (USER_DATA)

Changed on
  • 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

Request

  • Base URL
    https://api.binance.com
  • URL
    https://api.binance.com/sapi/v1/c2c/orderMatch/listUserOrderHistory
  • Auth
    API key in header X-MBX-APIKEY

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

codestring required
messagestring required
totalinteger required
successboolean required

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
}

Changes

    • breaking

      the query request parameter tradeType became required

    • breaking

      for the query request parameter endTimestamp, the format changed from no format to int64

    • breaking

      for the query request parameter page, the format changed from no format to int32

    • breaking

      for the query request parameter recvWindow, the format changed from no format to int64

    • breaking

      for the query request parameter rows, the format changed from no format to int32

    • breaking

      for the query request parameter startTimestamp, the format changed from no format to int64

    • breaking

      for the query request parameter timestamp, the format changed from no format to int64

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status