Cancel All CM Open Conditional Orders (TRADE)
Cancel All CM Open Conditional Orders
Cancel All CM Open Conditional Orders (TRADE) › Authorization
Cancel All CM Open Conditional Orders (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowCancel All CM Open Conditional Orders (TRADE) › Responses
Cancel All CM Open Conditional Orders
codeCode.
msgMsg.
Cancel All CM Open Orders (TRADE)
Cancel all active LIMIT orders on specific symbol
Cancel All CM Open Orders (TRADE) › Authorization
Cancel All CM Open Orders (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowCancel All CM Open Orders (TRADE) › Responses
Cancel All CM Open Orders
codeCode.
msgMsg.
Cancel All UM Open Conditional Orders (TRADE)
Cancel All UM Open Conditional Orders
Cancel All UM Open Conditional Orders (TRADE) › Authorization
Cancel All UM Open Conditional Orders (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowCancel All UM Open Conditional Orders (TRADE) › Responses
Cancel All UM Open Conditional Orders
codeCode.
msgMsg.
Cancel All UM Open Orders (TRADE)
Cancel all active LIMIT orders on specific symbol
Cancel All UM Open Orders (TRADE) › Authorization
Cancel All UM Open Orders (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowCancel All UM Open Orders (TRADE) › Responses
Cancel All UM Open Orders
codeCode.
msgMsg.
New CM Conditional Order (TRADE)
New CM Conditional Order
New CM Conditional Order (TRADE) › Authorization
New CM Conditional Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
New CM Conditional Order (TRADE) › Request Body
symbolSymbol
sideSide
strategyTypetimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
positionSideDefault BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode.
timeInForcequantityreduceOnly"true" or "false". default "false". Cannot be sent in Hedge Mode
priceworkingTypestopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE"
priceProtect"true" or "false", default "false". Used with STOP/STOP_MARKET or TAKE_PROFIT/TAKE_PROFIT_MARKET orders
newClientStrategyIdA unique id among open orders. Automatically generated if not sent. Can only be string following the rule: ^[\.A-Z\:/a-z0-9_-]{1,36}$
stopPriceUsed with STOP/STOP_MARKET or TAKE_PROFIT/TAKE_PROFIT_MARKET orders.
activationPriceUsed with TRAILING_STOP_MARKET orders.
callbackRateUsed with TRAILING_STOP_MARKET orders.
recvWindowNew CM Conditional Order (TRADE) › Responses
New CM Conditional Order
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
pairPair.
timeInForceTime In Force.
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
bookTimeorder place time
updateTimelast update time
workingTypeWorking Type.
priceProtectPrice Protect.
Cancel CM Conditional Order (TRADE)
Cancel CM Conditional Order
Cancel CM Conditional Order (TRADE) › Authorization
Cancel CM Conditional Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
strategyIdnewClientStrategyIdrecvWindowCancel CM Conditional Order (TRADE) › Responses
Cancel CM Conditional Order
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
timeInForceTime In Force.
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
bookTimeorder place time
updateTimelast update time
workingTypeWorking Type.
priceProtectPrice Protect.
Query CM Order (USER_DATA)
Check an CM order's status.
Query CM Order (USER_DATA) › Authorization
Query CM Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdorigClientOrderIdrecvWindowQuery CM Order (USER_DATA) › Responses
CM Order
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumBaseCum Base.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
origTypeOrig Type.
pricePrice.
reduceOnlyReduce Only.
sideSide.
statusEnum:completed,processing
symbolTrade symbol, if existing.
pairPair.
positionSideBOTH means that it is the position of One-way Mode
timeorder time
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimeupdate time
Modify CM Order (TRADE)
Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
Modify CM Order (TRADE) › Authorization
Modify CM Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Modify CM Order (TRADE) › Request Body
symbolSymbol
sidequantityOrder quantity
priceOrder price
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdOrder ID
origClientOrderIdClient order ID
priceMatchonly avaliable for LIMIT/STOP/TAKE_PROFIT order; can be set to OPPONENT/ OPPONENT_5/ OPPONENT_10/ OPPONENT_20: /QUEUE/ QUEUE_5/ QUEUE_10/ QUEUE_20; Can't be passed together with price
recvWindowModify CM Order (TRADE) › Responses
Modify CM Order
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
symbolTrade symbol, if existing.
pairPair.
statusEnum:completed,processing
clientOrderIdClient Order ID.
pricePrice.
avgPriceAvg Price.
origQtyOrig Qty.
executedQtyExecuted Qty.
cumQtyCum Qty.
cumBaseCum Base.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
origTypeOrig Type.
updateTimelast update time
New CM Order (TRADE)
Place new CM order
New CM Order (TRADE) › Authorization
New CM Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
New CM Order (TRADE) › Request Body
symbolSymbol
sideSide
typetimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
positionSideDefault BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode.
timeInForcequantityPlace amount
reduceOnly"true" or "false". Cannot be sent in Hedge Mode.
priceOrder price
priceMatchonly avaliable for LIMIT/STOP/TAKE_PROFIT order; can be set to OPPONENT/ OPPONENT_5/ OPPONENT_10/ OPPONENT_20: /QUEUE/ QUEUE_5/ QUEUE_10/ QUEUE_20; Can't be passed together with price
newClientOrderIdA unique id among open orders. Automatically generated if not sent. Can only be string following the rule: ^[\.A-Z\:/a-z0-9_-]{1,32}$
newOrderRespType"ACK", "RESULT", default "ACK"
recvWindowNew CM Order (TRADE) › Responses
New CM Order
clientOrderIdClient Order ID.
cumQtyCum Qty.
cumBaseCum Base.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
avgPriceAvg Price.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
pairPair.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimelast update time
Cancel CM Order (TRADE)
Cancel an active LIMIT order
Cancel CM Order (TRADE) › Authorization
Cancel CM Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdorigClientOrderIdrecvWindowCancel CM Order (TRADE) › Responses
Cancel CM Order
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumQtyCum Qty.
cumBaseCum Base.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
pairPair.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimelast update time
Cancel Margin Account All Open Orders on a Symbol (TRADE)
Cancel Margin Account All Open Orders on a Symbol
Cancel Margin Account All Open Orders on a Symbol (TRADE) › Authorization
Cancel Margin Account All Open Orders on a Symbol (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowCancel Margin Account All Open Orders on a Symbol (TRADE) › Responses
Cancel Margin Account All Open Orders on a Symbol
symbolTrade symbol, if existing.
origClientOrderIdOrig Client Order ID.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
orderListIdOrder List ID.
clientOrderIdClient Order ID.
pricePrice.
origQtyOrig Qty.
executedQtyExecuted Qty.
cummulativeQuoteQtyCummulative Quote Qty.
statusEnum:completed,processing
timeInForceTime In Force.
typeNormal order type after trigger if appliable
sideSide.
contingencyTypeContingency Type.
listStatusTypeList Status Type.
listOrderStatusList Order Status.
listClientOrderIdList Client Order ID.
transactionTimeTransaction Time.
Orders.
Order Reports.
Query Margin Account's OCO (USER_DATA)
Retrieves a specific OCO based on provided optional parameters
Query Margin Account's OCO (USER_DATA) › Authorization
Query Margin Account's OCO (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderListIdEither orderListId or listClientOrderId must be provided
origClientOrderIdorderListId or listClientOrderId must be provided.
recvWindowValue cannot be greater than 60000
Query Margin Account's OCO (USER_DATA) › Responses
Margin Account's OCO
orderListIdOrder List ID.
contingencyTypeContingency Type.
listStatusTypeList Status Type.
listOrderStatusList Order Status.
listClientOrderIdList Client Order ID.
transactionTimeTransaction Time.
symbolTrade symbol, if existing.
Orders.
Cancel Margin Account OCO Orders (TRADE)
Cancel Margin Account OCO Orders
Cancel Margin Account OCO Orders (TRADE) › Authorization
Cancel Margin Account OCO Orders (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderListIdEither orderListId or listClientOrderId must be provided
listClientOrderIdEither orderListId or listClientOrderId must be provided
newClientOrderIdUsed to uniquely identify this cancel request.
recvWindowThe value cannot be greater than 60000
Cancel Margin Account OCO Orders (TRADE) › Responses
Cancel Margin Account OCO Orders
orderListIdOrder List ID.
contingencyTypeContingency Type.
listStatusTypeList Status Type.
listOrderStatusList Order Status.
listClientOrderIdList Client Order ID.
transactionTimeTransaction Time.
symbolTrade symbol, if existing.
Orders.
Order Reports.
Query Margin Account Order (USER_DATA)
Query Margin Account Order
Query Margin Account Order (USER_DATA) › Authorization
Query Margin Account Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdorigClientOrderIdrecvWindowValue cannot be greater than 60000
Query Margin Account Order (USER_DATA) › Responses
Margin Account Order
clientOrderIdClient Order ID.
cummulativeQuoteQtyCummulative Quote Qty.
executedQtyExecuted Qty.
icebergQtyIceberg Qty.
isWorkingIs Working.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
pricePrice.
sideSide.
statusEnum:completed,processing
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
timeEvent time.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimelast update time
accountIdAccount ID.
selfTradePreventionModeself trading preventation mode
preventedMatchIdPrevented Match ID.
preventedQuantityPrevented Quantity.
New Margin Order (TRADE)
New Margin Order
New Margin Order (TRADE) › Authorization
New Margin Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
New Margin Order (TRADE) › Request Body
symbolsidetypetimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
quantityquoteOrderQtypricestopPriceUsed with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
newClientOrderIdA unique id among open orders. Automatically generated if not sent.
newOrderRespTypeSet the response JSON. ACK, RESULT, or FULL.
icebergQtyUsed with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order
sideEffectTypetimeInForceselfTradePreventionModeNONEEXPIRE_TAKEREXPIRE_MAKEREXPIRE_BOTH
autoRepayAtCancelOnly when MARGIN_BUY or AUTO_BORROW_REPAY order takes effect, true means that the debt generated by the order needs to be repaid after the order is cancelled.
recvWindowThe value cannot be greater than 60000
New Margin Order (TRADE) › Responses
New Margin Order
symbolTrade symbol, if existing.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
clientOrderIdClient Order ID.
transactTimeTransact Time.
pricePrice.
origQtyOrig Qty.
executedQtyExecuted Qty.
cummulativeQuoteQtyCummulative Quote Qty.
statusEnum:completed,processing
timeInForceTime In Force.
typeNormal order type after trigger if appliable
sideSide.
marginBuyBorrowAmountwill not return if no margin trade happens
marginBuyBorrowAssetwill not return if no margin trade happens
Fills.
Cancel Margin Account Order (TRADE)
Cancel Margin Account Order
Cancel Margin Account Order (TRADE) › Authorization
Cancel Margin Account Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdorigClientOrderIdnewClientOrderIdUsed to uniquely identify this cancel request.
recvWindowThe value cannot be greater than 60000
Cancel Margin Account Order (TRADE) › Responses
Cancel Margin Account Order
symbolTrade symbol, if existing.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origClientOrderIdOrig Client Order ID.
clientOrderIdClient Order ID.
pricePrice.
origQtyOrig Qty.
executedQtyExecuted Qty.
cummulativeQuoteQtyCummulative Quote Qty.
statusEnum:completed,processing
timeInForceTime In Force.
typeNormal order type after trigger if appliable
sideSide.
New UM Conditional Order (TRADE)
Place new UM conditional order
New UM Conditional Order (TRADE) › Authorization
New UM Conditional Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
New UM Conditional Order (TRADE) › Request Body
symbolSymbol
sidestrategyTypetimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
positionSideDefault BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode.
timeInForcequantityreduceOnly"true" or "false". Cannot be sent in Hedge Mode ; cannot be sent with closePosition=true
priceworkingTypestopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE"
priceProtect"true" or "false". Used with STOP/STOP_MARKET or TAKE_PROFIT/TAKE_PROFIT_MARKET orders
newClientStrategyIdA unique id among open orders. Automatically generated if not sent. Can only be string following the rule: ^[\.A-Z\:/a-z0-9_-]{1,32}$
stopPriceUsed with STOP/STOP_MARKET or TAKE_PROFIT/TAKE_PROFIT_MARKET orders.
activationPriceUsed with TRAILING_STOP_MARKET orders.
callbackRateUsed with TRAILING_STOP_MARKET orders.
priceMatchonly avaliable for LIMIT/STOP/TAKE_PROFIT order; can be set to OPPONENT/ OPPONENT_5/ OPPONENT_10/ OPPONENT_20: /QUEUE/ QUEUE_5/ QUEUE_10/ QUEUE_20; Can't be passed together with price
selfTradePreventionModeNONEEXPIRE_TAKEREXPIRE_MAKEREXPIRE_BOTH
goodTillDateorder cancel time for timeInForce GTD, mandatory when timeInforce set to GTD; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000Mode. It must be sent in Hedge Mode.
recvWindowNew UM Conditional Order (TRADE) › Responses
New UM Conditional Order
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
timeInForceTime In Force.
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
bookTimeorder place time
updateTimelast update time
workingTypeWorking Type.
priceProtectPrice Protect.
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Cancel UM Conditional Order (TRADE)
Cancel UM Conditional Order
Cancel UM Conditional Order (TRADE) › Authorization
Cancel UM Conditional Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
strategyIdnewClientStrategyIdrecvWindowCancel UM Conditional Order (TRADE) › Responses
Cancel UM Conditional Order
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
timeInForceTime In Force.
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
bookTimeorder place time
updateTimelast update time
workingTypeWorking Type.
priceProtectPrice Protect.
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Query UM Order (USER_DATA)
Check an UM order's status.
Query UM Order (USER_DATA) › Authorization
Query UM Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdorigClientOrderIdrecvWindowQuery UM Order (USER_DATA) › Responses
UM Order
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumQuoteCum Quote.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
origTypeOrig Type.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
timeorder time
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimeupdate time
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Modify UM Order (TRADE)
Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue
Modify UM Order (TRADE) › Authorization
Modify UM Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Modify UM Order (TRADE) › Request Body
symbolSymbol
sidequantityOrder quantity
priceOrder price
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdOrder ID
origClientOrderIdClient order ID
priceMatchonly avaliable for LIMIT/STOP/TAKE_PROFIT order; can be set to OPPONENT/ OPPONENT_5/ OPPONENT_10/ OPPONENT_20: /QUEUE/ QUEUE_5/ QUEUE_10/ QUEUE_20; Can't be passed together with price
recvWindowModify UM Order (TRADE) › Responses
Modify UM Order
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
symbolTrade symbol, if existing.
statusEnum:completed,processing
clientOrderIdClient Order ID.
pricePrice.
avgPriceAvg Price.
origQtyOrig Qty.
executedQtyExecuted Qty.
cumQtyCum Qty.
cumQuoteCum Quote.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
origTypeOrig Type.
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
updateTimelast update time
priceMatchPrice Match.
New UM Order (TRADE)
Place new UM order
New UM Order (TRADE) › Authorization
New UM Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
New UM Order (TRADE) › Request Body
symbolSymbol
sidetypetimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
positionSideDefault BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode.
timeInForceValid values
quantityPlace amount
reduceOnly"true" or "false". default "false". Cannot be sent in Hedge Mode .
priceOrder price
newClientOrderIdA unique id among open orders. Automatically generated if not sent. Can only be string following the rule: ^[\.A-Z\:/a-z0-9_-]{1,32}$
newOrderRespTypeACK, RESULT, default ACK
priceMatchonly avaliable for LIMIT/STOP/TAKE_PROFIT order; can be set to OPPONENT/ OPPONENT_5/ OPPONENT_10/ OPPONENT_20: /QUEUE/ QUEUE_5/ QUEUE_10/ QUEUE_20; Can't be passed together with price
selfTradePreventionModeNONEEXPIRE_TAKEREXPIRE_MAKEREXPIRE_BOTH
goodTillDateorder cancel time for timeInForce GTD, mandatory when timeInforce set to GTD; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000Mode. It must be sent in Hedge Mode.
recvWindowNew UM Order (TRADE) › Responses
New UM Order
clientOrderIdClient Order ID.
cumQtyCum Qty.
cumQuoteCum Quote.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
avgPriceAvg Price.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
updateTimelast update time
priceMatchPrice Match.
Cancel UM Order (TRADE)
Cancel an active UM LIMIT order
Cancel UM Order (TRADE) › Authorization
Cancel UM Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdorigClientOrderIdrecvWindowCancel UM Order (TRADE) › Responses
Cancel UM Order
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumQtyCum Qty.
cumQuoteCum Quote.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimelast update time
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
CM Account Trade List (USER_DATA)
Get trades for a specific account and CM symbol.
CM Account Trade List (USER_DATA) › Authorization
CM Account Trade List (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 20 with
symbol - 40 with
pair
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolpairstartTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
fromIdTrade ID to fetch from.
limitNumber of results returned.
recvWindowCM Account Trade List (USER_DATA) › Responses
CM Account Trade List
symbolTrade symbol, if existing.
idID.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
pairPair.
sideSide.
pricePrice.
qtyQty.
realizedPnlRealized Pnl.
marginAssetMargin Asset.
baseQtyBase Qty.
commissionCommission.
commissionAssetCommission Asset.
timeEvent time.
positionSideBOTH means that it is the position of One-way Mode
buyerBuyer.
makerMaker.
CM Position ADL Quantile Estimation (USER_DATA)
Query CM Position ADL Quantile Estimation
- Values update every 30s.
- Values 0, 1, 2, 3, 4 shows the queue position and possibility of ADL from low to high.
- For positions of the symbol are in One-way Mode or isolated margined in Hedge Mode, "LONG", "SHORT", and "BOTH" will be returned to show the positions' adl quantiles of different position sides.
- If the positions of the symbol are crossed margined in Hedge Mode:
- "HEDGE" as a sign will be returned instead of "BOTH";
- A same value caculated on unrealized pnls on long and short sides' positions will be shown for "LONG" and "SHORT" when there are positions in both of long and short sides.
CM Position ADL Quantile Estimation (USER_DATA) › Authorization
CM Position ADL Quantile Estimation (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolrecvWindowCM Position ADL Quantile Estimation (USER_DATA) › Responses
CM Position ADL Quantile Estimation
symbolTrade symbol, if existing.
Adl Quantile.
Get UM Futures BNB Burn Status (USER_DATA)
Get user's BNB Fee Discount for UM Futures (Fee Discount On or Fee Discount Off )
Get UM Futures BNB Burn Status (USER_DATA) › Authorization
Get UM Futures BNB Burn Status (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowGet UM Futures BNB Burn Status (USER_DATA) › Responses
Get UM Futures BNB Burn Status
feeBurn"true": Fee Discount On; "false": Fee Discount Off
Toggle BNB Burn On UM Futures Trade (TRADE)
Change user's BNB Fee Discount for UM Futures (Fee Discount On or Fee Discount Off ) on EVERY symbol
Toggle BNB Burn On UM Futures Trade (TRADE) › Authorization
Toggle BNB Burn On UM Futures Trade (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Toggle BNB Burn On UM Futures Trade (TRADE) › Request Body
feeBurn"true": Fee Discount On; "false": Fee Discount Off
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowToggle BNB Burn On UM Futures Trade (TRADE) › Responses
Toggle BNB Burn On UM Futures Trade
codeCode.
msgMsg.
Margin Account Borrow (MARGIN)
Apply for a margin loan.
Margin Account Borrow (MARGIN) › Authorization
Margin Account Borrow (MARGIN) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Margin Account Borrow (MARGIN) › Request Body
assetamounttimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowMargin Account Borrow (MARGIN) › Responses
Margin Account Borrow
tranIdTransaction ID.
Margin Account New OCO (TRADE)
Send in a new OCO for a margin account
Margin Account New OCO (TRADE) › Authorization
Margin Account New OCO (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Margin Account New OCO (TRADE) › Request Body
symbolsideSee enum definitions: order side
quantitypricestopPricetimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
listClientOrderIdA unique Id for the entire orderList
limitClientOrderIdA unique Id for the limit order
limitIcebergQtystopClientOrderIdA unique Id for the stop loss/stop loss limit leg
stopLimitPriceIf provided, stopLimitTimeInForce is required.
stopIcebergQtystopLimitTimeInForceValid values are GTC/FOK/IOC
newOrderRespTypeSet the response JSON.
sideEffectTypeNO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY; default NO_SIDE_EFFECT.
recvWindowMargin Account New OCO (TRADE) › Responses
Margin Account New OCO
orderListIdOrder List ID.
contingencyTypeContingency Type.
listStatusTypeList Status Type.
listOrderStatusList Order Status.
listClientOrderIdList Client Order ID.
transactionTimeTransaction Time.
symbolTrade symbol, if existing.
marginBuyBorrowAmountwill not return if no margin trade happens
marginBuyBorrowAssetwill not return if no margin trade happens
Orders.
Order Reports.
Margin Account Repay (MARGIN)
Repay for a margin loan.
Margin Account Repay (MARGIN) › Authorization
Margin Account Repay (MARGIN) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Margin Account Repay (MARGIN) › Request Body
assetamounttimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowThe value cannot be greater than 60000
Margin Account Repay (MARGIN) › Responses
Margin Account Repay
tranIdTransaction ID.
Margin Account Repay Debt (TRADE)
Repay debt for a margin loan.
Margin Account Repay Debt (TRADE) › Authorization
Margin Account Repay Debt (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Margin Account Repay Debt (TRADE) › Request Body
assettimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
amountspecifyRepayAssetsSpecific asset list to repay debt; Can be added in batch, separated by commas
recvWindowThe value cannot be greater than 60000
Margin Account Repay Debt (TRADE) › Responses
Margin Account Repay Debt
amountAmount repaid
assetasset name
specifyRepayAssetsSpecify Repay Assets.
updateTimelast update time
successSuccess.
Margin Account Trade List (USER_DATA)
Margin Account Trade List
Margin Account Trade List (USER_DATA) › Authorization
Margin Account Trade List (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdstartTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
fromIdTrade ID to fetch from.
limitNumber of results returned.
recvWindowValue cannot be greater than 60000
Margin Account Trade List (USER_DATA) › Responses
Margin Account Trade List
commissionCommission.
commissionAssetCommission Asset.
idID.
isBestMatchIs Best Match.
isBuyerIs Buyer.
isMakerIs Maker.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
pricePrice.
qtyQty.
symbolTrade symbol, if existing.
timeEvent time.
Query All CM Conditional Orders (USER_DATA)
Query All CM Conditional Orders
Query All CM Conditional Orders (USER_DATA) › Authorization
Query All CM Conditional Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 1 for a single
symbol - 40 when
symbolis omitted
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolstrategyIdstartTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowQuery All CM Conditional Orders (USER_DATA) › Responses
All CM Conditional Orders
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
statusNormal order status after trigger if appliable, only have when the strategy is triggered
bookTimeorder time
updateTimelast update time
triggerTimeTrigger Time.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
Query All CM Orders (USER_DATA)
Get all account CM orders; active, canceled, or filled.
Query All CM Orders (USER_DATA) › Authorization
Query All CM Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 20 with
symbol - 40 with
pair
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolSymbol
pairorderIdstartTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowQuery All CM Orders (USER_DATA) › Responses
All CM Orders
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumBaseCum Base.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
origTypeOrig Type.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
pairPair.
timeorder time
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimeupdate time
Query All Current CM Open Conditional Orders (USER_DATA)
Get all open conditional orders on a symbol. Careful when accessing this with no symbol.
Query All Current CM Open Conditional Orders (USER_DATA) › Authorization
Query All Current CM Open Conditional Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 1 for a single
symbol - 40 when
symbolis omitted
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolrecvWindowQuery All Current CM Open Conditional Orders (USER_DATA) › Responses
All Current CM Open Conditional Orders
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
bookTimeorder time
updateTimelast update time
timeInForceTime In Force.
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
Query All Current CM Open Orders (USER_DATA)
Get all open orders on a symbol.
- If the symbol is not sent, orders for all symbols will be returned in an array.
Query All Current CM Open Orders (USER_DATA) › Authorization
Query All Current CM Open Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 1 for a single
symbol - 40 when
symbolis omitted
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolpairrecvWindowQuery All Current CM Open Orders (USER_DATA) › Responses
All Current CM Open Orders
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumBaseCum Base.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
origTypeOrig Type.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
pairPair.
timeorder time
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimeupdate time
Query All Current UM Open Conditional Orders (USER_DATA)
Get all open conditional orders on a symbol.
Query All Current UM Open Conditional Orders (USER_DATA) › Authorization
Query All Current UM Open Conditional Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 1 for a single
symbol - 40 when
symbolis omitted
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolrecvWindowQuery All Current UM Open Conditional Orders (USER_DATA) › Responses
All Current UM Open Conditional Orders
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
bookTimeorder time
updateTimelast update time
timeInForceTime In Force.
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Query All Current UM Open Orders (USER_DATA)
Get all open orders on a symbol.
Query All Current UM Open Orders (USER_DATA) › Authorization
Query All Current UM Open Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 1 for a single
symbol - 40 when
symbolis omitted
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolrecvWindowQuery All Current UM Open Orders (USER_DATA) › Responses
All Current UM Open Orders
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumQuoteCum Quote.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
origTypeOrig Type.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
timeorder time
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimeupdate time
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Query All Margin Account Orders (USER_DATA)
Query All Margin Account Orders
Query All Margin Account Orders (USER_DATA) › Authorization
Query All Margin Account Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdstartTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowValue cannot be greater than 60000
Query All Margin Account Orders (USER_DATA) › Responses
All Margin Account Orders
clientOrderIdClient Order ID.
cummulativeQuoteQtyCummulative Quote Qty.
executedQtyExecuted Qty.
icebergQtyIceberg Qty.
isWorkingIs Working.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
pricePrice.
sideSide.
statusEnum:completed,processing
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
timeEvent time.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimelast update time
accountIdAccount ID.
selfTradePreventionModeself trading preventation mode
preventedMatchIdPrevented Match ID.
preventedQuantityPrevented Quantity.
Query All UM Conditional Orders (USER_DATA)
Query All UM Conditional Orders
Query All UM Conditional Orders (USER_DATA) › Authorization
Query All UM Conditional Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 1 for a single
symbol - 40 when
symbolis omitted
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolstrategyIdstartTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowQuery All UM Conditional Orders (USER_DATA) › Responses
All UM Conditional Orders
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
statusNormal order status after trigger if appliable, only have when the strategy is triggered
bookTimeorder time
updateTimelast update time
triggerTimeTrigger Time.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Query All UM Orders (USER_DATA)
Get all account UM orders; active, canceled, or filled.
Query All UM Orders (USER_DATA) › Authorization
Query All UM Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdstartTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowQuery All UM Orders (USER_DATA) › Responses
All UM Orders
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumQuoteCum Quote.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
origTypeOrig Type.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
timeorder time
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimeupdate time
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Query CM Conditional Order History (USER_DATA)
Query CM Conditional Order History
Query CM Conditional Order History (USER_DATA) › Authorization
Query CM Conditional Order History (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
strategyIdnewClientStrategyIdrecvWindowQuery CM Conditional Order History (USER_DATA) › Responses
CM Conditional Order History
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
orderIdNormal orderID after trigger if appliable,only have when the strategy is triggered
statusNormal order status after trigger if appliable, only have when the strategy is triggered
bookTimeorder time
updateTimelast update time
triggerTimeTrigger Time.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
workingTypeWorking Type.
priceProtectPrice Protect.
priceMatchPrice Match.
Query CM Modify Order History (TRADE)
Get order modification history
Query CM Modify Order History (TRADE) › Authorization
Query CM Modify Order History (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdOrder ID
origClientOrderIdClient order ID
startTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowQuery CM Modify Order History (TRADE) › Responses
CM Modify Order History
amendmentIdOrder modification ID
symbolTrade symbol, if existing.
pairPair.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
clientOrderIdClient Order ID.
timeOrder modification time
Amendment.
Query Current CM Open Conditional Order (USER_DATA)
Query Current CM Open Conditional Order
Query Current CM Open Conditional Order (USER_DATA) › Authorization
Query Current CM Open Conditional Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
strategyIdnewClientStrategyIdrecvWindowQuery Current CM Open Conditional Order (USER_DATA) › Responses
Current CM Open Conditional Order
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
bookTimeorder time
updateTimelast update time
timeInForceTime In Force.
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
Query Current CM Open Order (USER_DATA)
Query current CM open order
Query Current CM Open Order (USER_DATA) › Authorization
Query Current CM Open Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolTrading pair.
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdOrder ID.
origClientOrderIdUser-defined order ID.
recvWindowQuery Current CM Open Order (USER_DATA) › Responses
Current CM Open Order
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumBaseCum Base.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
origTypeOrig Type.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
pairPair.
timeorder time
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimeupdate time
Query Current Margin Open Order (USER_DATA)
Query Current Margin Open Order
Query Current Margin Open Order (USER_DATA) › Authorization
Query Current Margin Open Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowValue cannot be greater than 60000
Query Current Margin Open Order (USER_DATA) › Responses
Current Margin Open Order
clientOrderIdClient Order ID.
cummulativeQuoteQtyCummulative Quote Qty.
executedQtyExecuted Qty.
icebergQtyIceberg Qty.
isWorkingIs Working.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
pricePrice.
sideSide.
statusEnum:completed,processing
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
timeEvent time.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimelast update time
accountIdAccount ID.
selfTradePreventionModeself trading preventation mode
preventedMatchIdPrevented Match ID.
preventedQuantityPrevented Quantity.
Query Current UM Open Conditional Order (USER_DATA)
Query Current UM Open Conditional Order
Query Current UM Open Conditional Order (USER_DATA) › Authorization
Query Current UM Open Conditional Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
strategyIdnewClientStrategyIdrecvWindowQuery Current UM Open Conditional Order (USER_DATA) › Responses
Current UM Open Conditional Order
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
bookTimeorder time
updateTimelast update time
timeInForceTime In Force.
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Query Current UM Open Order (USER_DATA)
Query current UM open order
Query Current UM Open Order (USER_DATA) › Authorization
Query Current UM Open Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdorigClientOrderIdrecvWindowQuery Current UM Open Order (USER_DATA) › Responses
Current UM Open Order
avgPriceAvg Price.
clientOrderIdClient Order ID.
cumQuoteCum Quote.
executedQtyExecuted Qty.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
origQtyOrig Qty.
origTypeOrig Type.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
statusEnum:completed,processing
symbolTrade symbol, if existing.
timeorder time
timeInForceTime In Force.
typeNormal order type after trigger if appliable
updateTimelast update time
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
priceMatchPrice Match.
Query Margin Account's all OCO (USER_DATA)
Query all OCO for a specific margin account based on provided optional parameters
Query Margin Account's all OCO (USER_DATA) › Authorization
Query Margin Account's all OCO (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
fromIdTrade ID to fetch from.
startTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowValue cannot be greater than 60000
Query Margin Account's all OCO (USER_DATA) › Responses
Margin Account's all OCO
orderListIdOrder List ID.
contingencyTypeContingency Type.
listStatusTypeList Status Type.
listOrderStatusList Order Status.
listClientOrderIdList Client Order ID.
transactionTimeTransaction Time.
symbolTrade symbol, if existing.
Orders.
Query Margin Account's Open OCO (USER_DATA)
Query Margin Account's Open OCO
Query Margin Account's Open OCO (USER_DATA) › Authorization
Query Margin Account's Open OCO (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowValue cannot be greater than 60000
Query Margin Account's Open OCO (USER_DATA) › Responses
Margin Account's Open OCO
orderListIdOrder List ID.
contingencyTypeContingency Type.
listStatusTypeList Status Type.
listOrderStatusList Order Status.
listClientOrderIdList Client Order ID.
transactionTimeTransaction Time.
symbolTrade symbol, if existing.
Orders.
Query UM Conditional Order History (USER_DATA)
Query UM Conditional Order History
Query UM Conditional Order History (USER_DATA) › Authorization
Query UM Conditional Order History (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
strategyIdnewClientStrategyIdrecvWindowQuery UM Conditional Order History (USER_DATA) › Responses
UM Conditional Order History
newClientStrategyIdNew Client Strategy ID.
strategyIdStrategy ID.
strategyStatusStrategy Status.
strategyTypeStrategy Type.
origQtyOrig Qty.
pricePrice.
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
stopPriceplease ignore when order type is TRAILING_STOP_MARKET
symbolTrade symbol, if existing.
orderIdNormal orderID after trigger if appliable,only have when the strategy is triggered
statusNormal order status after trigger if appliable, only have when the strategy is triggered
bookTimeorder time
updateTimelast update time
triggerTimeTrigger Time.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
activatePriceactivation price, only return with TRAILING_STOP_MARKET order
priceRatecallback rate, only return with TRAILING_STOP_MARKET order
workingTypeWorking Type.
priceProtectPrice Protect.
selfTradePreventionModeself trading preventation mode
goodTillDateorder pre-set auot cancel time for TIF GTD order
Query UM Modify Order History (TRADE)
Get order modification history
Query UM Modify Order History (TRADE) › Authorization
Query UM Modify Order History (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
orderIdOrder ID
origClientOrderIdClient order ID
startTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowQuery UM Modify Order History (TRADE) › Responses
UM Modify Order History
amendmentIdOrder modification ID
symbolTrade symbol, if existing.
pairPair.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
clientOrderIdClient Order ID.
timeOrder modification time
Amendment.
priceMatchPrice Match.
Query User's CM Force Orders (USER_DATA)
Query User's CM Force Orders
Query User's CM Force Orders (USER_DATA) › Authorization
Query User's CM Force Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 20 with
symbol - 50 without
symbol
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolautoCloseTypeLIQUIDATION for liquidation orders, ADL for ADL orders.
startTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowThe value cannot be greater than 60000
Query User's CM Force Orders (USER_DATA) › Responses
User's CM Force Orders
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
symbolTrade symbol, if existing.
pairPair.
statusEnum:completed,processing
clientOrderIdClient Order ID.
pricePrice.
avgPriceAvg Price.
origQtyOrig Qty.
executedQtyExecuted Qty.
cumBaseCum Base.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
origTypeOrig Type.
timeEvent time.
updateTimelast update time
Query User's Margin Force Orders (USER_DATA)
Query user's margin force orders
Query User's Margin Force Orders (USER_DATA) › Authorization
Query User's Margin Force Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
startTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
currentCurrent page number.
sizeNumber of results returned.
recvWindowThe value cannot be greater than 60000
Query User's Margin Force Orders (USER_DATA) › Responses
User's Margin Force Orders
Rows.
totalTotal.
Query User's UM Force Orders (USER_DATA)
Query User's UM Force Orders
Query User's UM Force Orders (USER_DATA) › Authorization
Query User's UM Force Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
- 20 with
symbol - 50 without
symbol
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolautoCloseTypeLIQUIDATION for liquidation orders, ADL for ADL orders.
startTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
limitNumber of results returned.
recvWindowThe value cannot be greater than 60000
Query User's UM Force Orders (USER_DATA) › Responses
User's UM Force Orders
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
symbolTrade symbol, if existing.
statusEnum:completed,processing
clientOrderIdClient Order ID.
pricePrice.
avgPriceAvg Price.
origQtyOrig Qty.
executedQtyExecuted Qty.
cumQuoteCum Quote.
timeInForceTime In Force.
typeNormal order type after trigger if appliable
reduceOnlyReduce Only.
sideSide.
positionSideBOTH means that it is the position of One-way Mode
origTypeOrig Type.
timeEvent time.
updateTimelast update time
UM Account Trade List (USER_DATA)
Get trades for a specific account and UM symbol.
UM Account Trade List (USER_DATA) › Authorization
UM Account Trade List (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
startTimeTimestamp in ms to get funding from INCLUSIVE.
endTimeTimestamp in ms to get funding until INCLUSIVE.
fromIdTrade ID to fetch from.
limitNumber of results returned.
recvWindowUM Account Trade List (USER_DATA) › Responses
UM Account Trade List
symbolTrade symbol, if existing.
idID.
orderIdNormal orderID after trigger if appliable, only have when the strategy is triggered
sideSide.
pricePrice.
qtyQty.
realizedPnlRealized Pnl.
quoteQtyQuote Qty.
commissionCommission.
commissionAssetCommission Asset.
timeEvent time.
buyerBuyer.
makerMaker.
positionSideBOTH means that it is the position of One-way Mode
UM Position ADL Quantile Estimation (USER_DATA)
Query UM Position ADL Quantile Estimation
- Values update every 30s.
- Values 0, 1, 2, 3, 4 shows the queue position and possibility of ADL from low to high.
- For positions of the symbol are in One-way Mode or isolated margined in Hedge Mode, "LONG", "SHORT", and "BOTH" will be returned to show the positions' adl quantiles of different position sides.
- If the positions of the symbol are crossed margined in Hedge Mode:
- "HEDGE" as a sign will be returned instead of "BOTH";
- A same value caculated on unrealized pnls on long and short sides' positions will be shown for "LONG" and "SHORT" when there are positions in both of long and short sides.
UM Position ADL Quantile Estimation (USER_DATA) › Authorization
UM Position ADL Quantile Estimation (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
symbolrecvWindowUM Position ADL Quantile Estimation (USER_DATA) › Responses
UM Position ADL Quantile Estimation
symbolTrade symbol, if existing.
Adl Quantile.
New UM Algo Order (TRADE)
Place new UM conditional order
New UM Algo Order (TRADE) › Authorization
New UM Algo Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
New UM Algo Order (TRADE) › Request Body
algoTypeOnly support CONDITIONAL
symbolsidetypeConditional order type
quantityOrder quantity
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
positionSideDefault BOTH for One-way Mode; LONG or SHORT for Hedge Mode
timeInForcepriceOrder price
triggerPriceTrigger price
workingTypeTrigger price type. Default CONTRACT_PRICE
priceMatchCan't be passed together with price
priceProtectPrice protection. Default false
reduceOnlyCannot be sent in Hedge Mode
activatePriceUsed with TRAILING_STOP_MARKET, default as latest price
callbackRateUsed with TRAILING_STOP_MARKET, min 0.1, max 10 (1 = 1%)
clientAlgoIdUnique id among open orders. Auto-generated if not sent
newOrderRespTypeselfTradePreventionModegoodTillDateOrder cancel time for GTD timeInForce, mandatory when timeInForce is GTD
recvWindowNew UM Algo Order (TRADE) › Responses
New UM Algo Order
algoIdclientAlgoIdalgoTypeorderTypesymbolsidepositionSidetimeInForcequantityalgoStatustriggerPricepriceselfTradePreventionModeworkingTypepriceMatchpriceProtectreduceOnlyactivatePricecallbackRatecreateTimeupdateTimetriggerTimegoodTillDateCancel UM Algo Order (TRADE)
Cancel an active UM algo order
Cancel UM Algo Order (TRADE) › Authorization
Cancel UM Algo Order (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
algoIdAlgo order ID
clientAlgoIdClient algo order ID
recvWindowCancel UM Algo Order (TRADE) › Responses
Cancel UM Algo Order
completeCancel All UM Algo Open Orders (TRADE)
Cancel All UM Algo Open Orders
Cancel All UM Algo Open Orders (TRADE) › Authorization
Cancel All UM Algo Open Orders (TRADE) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symbolSymbol
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowCancel All UM Algo Open Orders (TRADE) › Responses
Cancel All UM Algo Open Orders
codemsgQuery Current UM Open Algo Order (USER_DATA)
Check an UM algo order's status. Orders will not be found if: status is CANCELED/EXPIRED with no fills and created 3+ days ago; or created 90+ days ago.
Query Current UM Open Algo Order (USER_DATA) › Authorization
Query Current UM Open Algo Order (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
algoIdAlgo order ID
clientAlgoIdClient algo order ID
recvWindowQuery Current UM Open Algo Order (USER_DATA) › Responses
Query UM Algo Order
algoIdclientAlgoIdalgoTypeorderTypesymbolsidepositionSidetimeInForcequantityalgoStatusactualOrderIdactualPricetriggerPricepriceselfTradePreventionModeworkingTypepriceMatchclosePositionpriceProtectreduceOnlycreateTimeupdateTimetriggerTimegoodTillDateQuery All Current UM Open Algo Orders (USER_DATA)
Get all UM open algo orders on a symbol. If the symbol is not sent, orders for all symbols will be returned.
Query All Current UM Open Algo Orders (USER_DATA) › Authorization
Query All Current UM Open Algo Orders (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
algoTypesymbolalgoIdrecvWindowQuery All Current UM Open Algo Orders (USER_DATA) › Responses
Query All Current UM Open Algo Orders
algoIdclientAlgoIdalgoTypeorderTypesymbolsidepositionSidetimeInForcequantityalgoStatustriggerPricepriceselfTradePreventionModeworkingTypepriceMatchclosePositionpriceProtectreduceOnlycreateTimeupdateTimetriggerTimegoodTillDateQuery UM Algo Order History (USER_DATA)
Get all algo orders: ACTIVE, CANCELED, TRIGGERED or FINISHED.
Query UM Algo Order History (USER_DATA) › Authorization
Query UM Algo Order History (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
symboltimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
algoIdOnly return orders >= this algoId
startTimeendTimelimitDefault 500; max 1000
recvWindowQuery UM Algo Order History (USER_DATA) › Responses
Query UM Algo Order History
algoIdclientAlgoIdalgoTypeorderTypesymbolsidepositionSidetimeInForcequantityalgoStatusactualOrderIdactualPricetriggerPricepriceselfTradePreventionModeworkingTypepriceMatchclosePositionpriceProtectreduceOnlycreateTimeupdateTimetriggerTimegoodTillDateFutures TradFi Perps Contract (USER_DATA)
Sign TradFi-Perps agreement contract
Futures TradFi Perps Contract (USER_DATA) › Authorization
Futures TradFi Perps Contract (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Futures TradFi Perps Contract (USER_DATA) › Request Body
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
recvWindowFutures TradFi Perps Contract (USER_DATA) › Responses
Futures TradFi Perps Contract
codemsg