Query Margin Account's All Orders (USER_DATA)
Changed on- If orderId is set, it will get orders >= that orderId. Otherwise most recent orders are returned.
- For some historical orders cummulativeQuoteQty will be < 0, meaning the data is not available at this time.
Weight(IP): 200
Request Limit: 60 times/min per IP
Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/sapi/v1/margin/allOrders
- AuthAPI key in header X-MBX-APIKEY
Query parameters
Trading symbol, e.g. BNBUSDT
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
Order id
UTC timestamp in ms
UTC timestamp in ms
Default 500; max 1000.
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Margin order list
Example response
[
{
"clientOrderId": "ZwfQzuDIGpceVhKW5DvCmO",
"cummulativeQuoteQty": "0.00000000",
"executedQty": "0.00000000",
"icebergQty": "0.00000000",
"orderId": 213205622,
"origQty": "0.30000000",
"price": "0.00493630",
"side": "SELL",
"status": "NEW",
"stopPrice": "0.00000000",
"symbol": "BNBBTC",
"time": 1562133008725,
"timeInForce": "GTC",
"type": "LIMIT",
"updateTime": 1562133008725,
"selfTradePreventionMode": "NONE"
}
]Changes
- info
added the required property
/to the response with the status
- info
- breaking
for the
queryrequest parameterendTime, the format changed from no format toint64 - breaking
for the
queryrequest parameterlimit, the format changed from no format toint32 - breaking
for the
queryrequest parameterorderId, the format changed from no format toint64 - breaking
for the
queryrequest parameterrecvWindow, the format changed from no format toint64 - breaking
for the
queryrequest parameterstartTime, the format changed from no format toint64 - breaking
for the
queryrequest parametertimestamp, the format changed from no format toint64 - 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
- breaking