Current Open Orders

Rate Limit: 1200 requests per 60 seconds

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Rate Limit: 1200 requests per 60 seconds

Retrieve order details for all NEW/OPEN/PARTIALLY_FILLED status.

Tip: query order state in NEW/OPEN status and in current portfolioId.

Request

NameTypeMandatoryDescription
symStringNTrading pair unique identifier, for example BINANCE_SPOT_BTC_USDT.
exchangeStringNExchange type (BINANCE, OKX, EDX).
businessTypeStringNBusiness type (for example SPOT).
beginStringNStart of the query window, in milliseconds since Unix epoch.
endStringNEnd of the query window, in milliseconds since Unix epoch.
pageStringNCurrent page (Default 1).
pageSizeStringNPage size (Default 1000, max 1000).

Response

FieldTypeRemark
portfolioIdStringPortfolio ID
portfolioNameStringPortfolio Name
orderIdStringOrder ID
clientOrderIdStringCustomer-defined order ID
orderStateStringSee ENUM Definitions for supported values.
symStringTrading pair unique identifier, for example BINANCE_SPOT_BTC_USDT.
sideStringSide (BUY, SELL)
exchangeOrderTypeStringExchange order type (LIMIT, MARKET)
orderTypeStringInternal order type assigned by the system. DMA for standard direct-market-access orders. Also see ENUM Definitions for supported values.
exchangeTypeStringExchange type (BINANCE, OKX, EDX)
businessTypeStringBusiness type (for example SPOT)
orderQtyStringOrder quantity. Note: trading unit of OKX is the number of contracts / trading unit of Binance is the number of coin.
quoteOrderQtyStringOrder quote quantity, only use for Spot Market Buy order.
limitPriceStringOrder price
timeInForceStringTime in force. Default GTC. Supported values: GTC, IOC, FOK, GTX.
reasonStringFailure reason message, if the order is rejected or cancelled by the system.
executedQtyStringTotal executed quantity. For spot orders, this is the filled amount of the base asset. For derivatives, on OKX this is the number of contracts, and on Binance USDT-margined contracts it is effectively the base asset quantity (1 contract = 1 unit of the base asset).
executedAvgPriceStringAverage execution price of the filled quantity.
executedAmountStringTotal executed quote amount.
reduceOnlyBooleanReduce position orders only. true or false.
lastExecutedQtyStringQuantity of the most recent fill, in the same unit as executedQty.
lastExecutedPriceStringPrice of the most recent fill.
lastExecutedAmountStringQuote amount of the most recent fill.
feeStringCumulative trading fee for this order. Positive = fee charged (taker). "0" when the order earned a maker rebate instead (see rebate field).
feeCoinStringCurrency of the trading fee. Empty string if no fee was charged.
rebateStringCumulative maker rebate received. "0" for taker orders. For OKX spot: BUY orders return quote currency, SELL orders return base currency. For Binance spot: returns quote currency. For perpetuals: returns USDT.
rebateCoinStringCurrency of the rebate. Empty string if no rebate was received.
leverageIntegerLeverage applied to the order.
borrowAmountStringBorrowed amount for margin trading (if applicable).
borrowAssetStringAsset symbol of the borrowed currency.
positionSideStringPosition side. In One-Way Mode, this is always NONE. In Hedge Mode, LONG and SHORT indicate the order belongs to the long or short leg of the position.
tpTriggerPriceStringTake-profit trigger price.
tpTriggerTypeStringTake-profit trigger price type: LAST_PRICE, MARK_PRICE. The default is LAST_PRICE.
tpPriceStringTake-profit order price. If the price is 0, take-profit will be executed at the market price.
slTriggerPriceStringStop-loss trigger price.
slTriggerTypeStringStop-loss trigger price type: LAST_PRICE, MARK_PRICE. The default is LAST_PRICE.
slPriceStringStop-loss order price. If the price is 0, stop-loss will be executed at the market price.
cancelTypeStringReason the order was cancelled. Possible values: USER, EXPIRE, REDUCE_ONLY, LIQUIDATING, SYSTEM, SYM_DELIST. Empty string if the order has not been cancelled.
amendTypeStringReason the order was amended. Possible values: USER, REDUCE_ONLY. Empty string if the order has not been amended.
createAtStringOrder creation time, in milliseconds since Unix epoch.
updateAtStringLast update time of the order, in milliseconds since Unix epoch.

Example Request

GET /api/v1/trading/orders?sym=BINANCE_SPOT_ETH_USDT&page=1&pageSize=10

Example Response

{
  "code": 200000,
  "message": "Success",
  "data": {
    "page": 1,
    "pageSize": 10,
    "pageNum": 1,
    "totalSize": 1,
    "list": [
      {
        "portfolioId": "1732260294043000",
        "portfolioName": "Main Portfolio",
        "orderId": "2106591138643265",
        "clientOrderId": "myorder001",
        "orderState": "OPEN",
        "sym": "BINANCE_SPOT_ETH_USDT",
        "side": "BUY",
        "exchangeOrderType": "LIMIT",
        "exchangeType": "BINANCE",
        "orderType": "DMA",
        "businessType": "SPOT",
        "orderQty": "0.5",
        "quoteOrderQty": "",
        "limitPrice": "3100",
        "timeInForce": "GTC",
        "reason": "",
        "executedQty": "0",
        "executedAvgPrice": "0",
        "executedAmount": "0",
        "reduceOnly": false,
        "lastExecutedQty": "0",
        "lastExecutedPrice": "0",
        "lastExecutedAmount": "0",
        "fee": "0",
        "feeCoin": "",
        "rebate": "0",
        "rebateCoin": "",
        "leverage": 1,
        "borrowAmount": "0",
        "borrowAsset": "",
        "positionSide": "NONE",
        "tpTriggerPrice": "",
        "tpTriggerType": "LAST_PRICE",
        "tpPrice": "0",
        "slTriggerPrice": "",
        "slTriggerType": "LAST_PRICE",
        "slPrice": "0",
        "cancelType": "",
        "amendType": "",
        "createAt": "1744466400000",
        "updateAt": "1744466400000"
      }
    ]
  }
}
Query Params
string
string
string
string
string
string
Defaults to 1
string
Defaults to 1000
Response

Language
LoadingLoading…
Response
Choose an example:
application/json