Skip to main content

UM Account Trade List(USER_DATA)

API Description#

Get trades for a specific account and UM symbol.

HTTP Request#

GET /papi/v1/um/userTrades

Request Weight#

5

Request Parameters#

NameTypeMandatoryDescription
symbolSTRINGYES
startTimeLONGNO
endTimeLONGNO
fromIdLONGNOTrade id to fetch from. Default gets most recent trades.
limitINTNODefault 500; max 1000.
recvWindowLONGNO
timestampLONGYES
  • If startTime and endTime are both not sent, then the last '24 hours' data will be returned.
  • The time between startTime and endTime cannot be longer than 24 hours.
  • The parameter fromId cannot be sent with startTime or endTime.

Response Example#

[    {        "symbol": "BTCUSDT",        "id": 67880589,        "orderId": 270093109,        "side": "SELL",        "price": "28511.00",        "qty": "0.010",        "realizedPnl": "2.58500000",        "marginAsset": "USDT",        "quoteQty": "285.11000",        "commission": "-0.11404400",        "commissionAsset": "USDT",        "time": 1680688557875,        "buyer": false,        "maker": false,        "positionSide": "BOTH"    }]