Account Trade List (USER_DATA)
Get trades for a specific account and symbol.
Account Trade List (USER_DATA) › Authorization
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
symbolOption trading 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.
fromIdTrade id to fetch from. Default gets most recent trades, e.g 4611875134427365376
startTimeStart Time, e.g 1593511200000
endTimeEnd Time, e.g 1593512200000
limitNumber of result sets returned.
recvWindowRecv Window.
Account Trade List (USER_DATA) › Responses
Account Trade List
idunique id
tradeIdtrade id
orderIdorder id
symboloption symbol
pricetrade price
quantitytrade quantity
feefee(negative is fee deduction)
realizedProfitrealized profit/loss
sideorder side
typeorder type
liquidityTAKER or MAKER
timetrade time
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
quoteAssetquote Asset
Cancel All Option Orders By Underlying (TRADE)
Cancel all active orders on specified underlying.
Cancel All Option Orders By Underlying (TRADE) › Authorization
Cancel All Option Orders By Underlying (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
underlyingUnderlying asset.
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.
recvWindowRecv Window.
Cancel All Option Orders By Underlying (TRADE) › Responses
Cancel All Option Orders By Underlying
codecode
msgmsg
Cancel all Option orders on specific symbol (TRADE)
Cancel all active order on a symbol.
Cancel all Option orders on specific symbol (TRADE) › Authorization
Cancel all Option orders on specific 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
symbolOption trading 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.
recvWindowRecv Window.
Cancel all Option orders on specific symbol (TRADE) › Responses
Cancel all Option orders on specific symbol
codecode
msgmsg
Place Multiple Orders (TRADE)
Send multiple option orders.
Place Multiple Orders (TRADE) › Authorization
Place Multiple 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.
Place Multiple Orders (TRADE) › Request Body
order list. Max 10 orders
symbolsidetypequantityOrder Quantity
priceOrder Price
timeInForcereduceOnlypostOnlynewOrderRespTypeclientOrderIdUser-defined order ID cannot be repeated in pending orders
isMmpis market maker protection order
selfTradePreventionModeEXPIRE_TAKER
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.
recvWindowPlace Multiple Orders (TRADE) › Responses
Place Multiple Orders
orderIdSystem order number
symbolOption trading pair
priceOrder Price
quantityOrder Quantity
executedQtyNumber of executed quantity
feefee
sideBuy/sell direction
typeOrder type
timeInForceTime in force method
reduceOnlyOrder is reduce only Y/N
postOnlypost Only
createTimeOrder Time
updateTimeUpdate time
statusOrder status
avgPriceAverage price of completed trade
clientOrderIdClient order ID
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
quoteAssetquote Asset
mmpmmp
selfTradePreventionModesourceCancel Multiple Option Orders (TRADE)
Cancel multiple orders.
Cancel Multiple Option Orders (TRADE) › Authorization
Cancel Multiple Option 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
symbolOption trading 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.
orderIdsOrder ID list.
clientOrderIdsClient order ID list.
recvWindowRecv Window.
Cancel Multiple Option Orders (TRADE) › Responses
Cancel Multiple Option Orders
orderIdSystem order number
symbolOption trading pair
priceOrder Price
quantityOrder Quantity
executedQtyNumber of completed quantity
feefee
sideBuy/sell direction
typeOrder type
timeInForceTime in force method
reduceOnlyOrder is reduce only Y/N
createTimeOrder Time
updateTimeUpdate time
statusOrder status
avgPriceAverage price of completed trade
clientOrderIdClient order ID
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
quoteAssetquote Asset
mmpmmp
sourceselfTradePreventionModeQuery Single Order (TRADE)
Check an order status.
- These orders will not be found:
- order status is
CANCELEDorREJECTED, AND - order has NO filled trade, AND
- created time + 3 days < current time
- order status is
Query Single Order (TRADE) › Authorization
Query Single 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
symbolOption trading 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.
clientOrderIdUser-defined order ID; cannot be duplicated among open orders.
recvWindowRecv Window.
Query Single Order (TRADE) › Responses
Single Order
orderIdSystem order id
symbolOption trading pair
priceOrder Price
quantityOrder Quantity
executedQtyNumber of executed quantity
sideBuy/sell direction
typeOrder type
timeInForceTime in force method
reduceOnlyOrder is reduce only Y/N
postOnlypost Only
createTimeOrder Time
updateTimeUpdate time
statusOrder status
avgPriceAverage price of completed trade
clientOrderIdClient order ID
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
quoteAssetquote Asset
mmpmmp
selfTradePreventionModeSelf trade prevention mode.
New Order (TRADE)
Send a new order.
New Order (TRADE) › Authorization
New 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 Order (TRADE) › Request Body
symbolsidetypequantityOrder 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.
priceOrder Price
timeInForcereduceOnlypostOnlynewOrderRespTypeclientOrderIdUser-defined order ID cannot be repeated in pending orders
isMmpis market maker protection order
selfTradePreventionModeSelf-trade prevention mode
recvWindowNew Order (TRADE) › Responses
New Order
orderIdSystem order number
symbolOption trading pair
priceOrder Price
quantityOrder Quantity
executedQtyNumber of executed quantity
feefee
sideBuy/sell direction
typeOrder type
timeInForceTime in force method
reduceOnlyOrder is reduce only Y/N
postOnlypost Only
createTimeOrder Time
updateTimeUpdate time
statusOrder status
avgPriceAverage price of completed trade
sourcesource
clientOrderIdClient order ID
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
quoteAssetquote Asset
mmpmmp
selfTradePreventionModeSelf-trade prevention mode
Cancel Option Order (TRADE)
Cancel an active order.
Cancel Option Order (TRADE) › Authorization
Cancel Option 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
symbolOption trading 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.
clientOrderIdclientOrderId
recvWindowRecv Window.
Cancel Option Order (TRADE) › Responses
Cancel Option Order
orderIdSystem order number
symbolOption trading pair
priceOrder Price
quantityOrder Quantity
executedQtyNumber of executed quantity
sideBuy/sell direction
typeOrder type
timeInForceTime in force method
reduceOnlyOrder is reduce only Y/N
createDateOrder Time
updateTimeUpdate time
statusOrder status
avgPriceAverage price of completed trade
sourcesource
clientOrderIdClient order ID
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
quoteAssetquote Asset
mmpmmp
selfTradePreventionModeOption Position Information (USER_DATA)
Get current position information.
Option Position Information (USER_DATA) › Authorization
Option Position Information (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.
symbolOption trading pair.
recvWindowRecv Window.
Option Position Information (USER_DATA) › Responses
Option Position Information
entryPriceAverage entry price
symbolOption trading pair
sidePosition direction
quantityNumber of positions (positive numbers represent long positions, negative number represent short positions)
markValueCurrent market value
unrealizedPNLUnrealized profit/loss
markPriceMark price
strikePriceStrike price
expiryDateExercise time
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption type
quoteAssetquote asset
timelast update time
bidQuantitybuy order qty
askQuantitysell order qty
Query Current Open Option Orders (USER_DATA)
Query current all open orders, status: ACCEPTED PARTIALLY_FILLED
Query Current Open Option Orders (USER_DATA) › Authorization
Query Current Open Option 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 the symbol parameter is 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.
symbolOption trading pair.
orderIdOrder ID.
startTimeStart Time, e.g 1593511200000
endTimeEnd Time, e.g 1593512200000
recvWindowRecv Window.
Query Current Open Option Orders (USER_DATA) › Responses
Current Open Option Orders
orderIdSystem order number
symbolOption trading pair
priceOrder Price
quantityOrder Quantity
executedQtyNumber of completed trades
sideBuy/sell direction
typeOrder type
timeInForceTime in force method
reduceOnlyOrder is reduce only Y/N
createTimeOrder Time
updateTimeUpdate Time
statusOrder status
avgPriceAverage price of completed trade
clientOrderIdClient order ID
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
quoteAssetquote Asset
mmpmmp
selfTradePreventionModeQuery Option Order History (TRADE)
Query all finished orders within 5 days, finished status: CANCELLED FILLED REJECTED.
Query Option Order History (TRADE) › Authorization
Query Option 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
symbolOption trading 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.
startTimeStart Time, e.g 1593511200000
endTimeEnd Time, e.g 1593512200000
limitNumber of result sets returned
recvWindowRecv Window.
Query Option Order History (TRADE) › Responses
Option Order History
orderIdorder Id
symbolsymbol
priceprice
quantityquantity
executedQtyexecuted Qty
sideside
typetype
timeInForcetime In Force
reduceOnlyreduce Only
createTimecreate Time
updateTimeupdate Time
statusstatus
avgPriceavg Price
clientOrderIdclient Order Id
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
quoteAssetquote Asset
mmpmmp
TradFi Options Contract (USER_DATA)
Sign TradFi Options agreement contract
TradFi Options Contract (USER_DATA) › Authorization
TradFi Options 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.
TradFi Options 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.
recvWindowTradFi Options Contract (USER_DATA) › Responses
TradFi Options Contract
codemsgUser Commission (USER_DATA)
Get account commission.
User Commission (USER_DATA) › Authorization
User Commission (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.
recvWindowRecv Window.
User Commission (USER_DATA) › Responses
User Commission
commissions
underlyingunderlying
makerFeemaker Fee
takerFeetaker Fee
User Exercise Record (USER_DATA)
Get account exercise records.
User Exercise Record (USER_DATA) › Authorization
User Exercise Record (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.
symbolOption trading pair.
startTimeStart Time, e.g 1593511200000
endTimeEnd Time, e.g 1593512200000
limitNumber of result sets returned.
recvWindowRecv Window.
User Exercise Record (USER_DATA) › Responses
User Exercise Record
idid
currencycurrency
symbolsymbol
exercisePriceexercise Price
quantityquantity
amountamount
feefee
createDatecreate Date
priceScaleprice Scale
quantityScalequantity Scale
optionSideoption Side
positionSideposition Side
quoteAssetquote Asset