Account Trade List (USER_DATA)
Get trades for a specific account and symbol.
If fromId is set, it will get id >= that fromId. Otherwise most recent orders are returned.
The time between startTime and endTime can't be longer than 24 hours. These are the supported combinations of all parameters:
symbol
symbol + orderId
symbol + startTime
symbol + endTime
symbol + fromId
symbol + startTime + endTime
symbol+ orderId + fromId
Weight(IP): 20
Query parameters
Trading symbol, e.g. BNBUSDT
This can only be used in combination with symbol.
UTC timestamp in ms
UTC timestamp in ms
Trade id to fetch from. Default gets most recent trades.
Default 500; max 1000.
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
List of trades
Example response
[
{
"symbol": "BNBBTC",
"id": 28457,
"orderId": 100234,
"orderListId": -1,
"price": "4.00000100",
"qty": "12.00000000",
"quoteQty": "48.000012",
"commission": "10.10000000",
"commissionAsset": "BNB",
"time": 1499865549590
}
]Changes
Changed in 1 of the 26 revisions of this API.717
- ▲
for the
queryrequest parameterendTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterfromId, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterlimit, the type/format was changed frominteger/tointeger/int32request-parameter-type-changed
- ▲
for the
queryrequest parameterorderId, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterstartTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
items/commissionbecame required for the status200response-property-became-required
- ○
the response property
items/commissionAssetbecame required for the status200response-property-became-required
- ○
the response property
items/idbecame required for the status200response-property-became-required
- ○
the response property
items/isBestMatchbecame required for the status200response-property-became-required
- ○
the response property
items/isBuyerbecame required for the status200response-property-became-required
- ○
the response property
items/isMakerbecame required for the status200response-property-became-required
- ○
the response property
items/orderIdbecame required for the status200response-property-became-required
- ○
the response property
items/orderListIdbecame required for the status200response-property-became-required
- ○
the response property
items/pricebecame required for the status200response-property-became-required
- ○
the response property
items/qtybecame required for the status200response-property-became-required
- ○
the response property
items/quoteQtybecame required for the status200response-property-became-required
- ○
the response property
items/symbolbecame required for the status200response-property-became-required
- ○
the response property
items/timebecame required for the status200response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ▲