Skip to main content

Get Order Detail

Get detailed information about a specific futures order.

HTTP Request

GET /api/v1/future/order/detail

Request Parameters

ParameterTypeRequiredDescription
symbolstringYesTrading pair symbol (e.g., BTCUSDT)
orderIdstringNoOrder ID (provide orderId or clientOid)
clientOidstringNoClient order ID (provide orderId or clientOid)

Request Example

curl -X GET "https://open-api.bydoxe.com/api/v1/future/order/detail?symbol=BTCUSDT&orderId=fu-123456789" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000"

Response Parameters

ParameterTypeDescription
codestringResponse code
msgstringResponse message
requestTimenumberRequest timestamp in milliseconds
dataobjectOrder detail data
> symbolstringTrading pair symbol
> sizestringOrder size
> orderIdstringOrder ID
> clientOidstringClient order ID
> priceAvgstringAverage filled price
> feestringTrading fee
> pricestringOrder price
> statusstringOrder status
> sidestringOrder side: "BUY" or "SELL"
> forcestringTime in force
> totalProfitsstringTotal profits
> posSidestringPosition side: "LONG" or "SHORT"
> marginCoinstringMargin coin
> presetTakeProfitPricestringTake profit trigger price
> presetTakeProfitExecutePricestringTake profit execution price
> presetTakeProfitTypestringTake profit order type
> presetStopLossPricestringStop loss trigger price
> presetStopLossExecutePricestringStop loss execution price
> presetStopLossTypestringStop loss order type
> orderTypestringOrder type: "LIMIT" or "MARKET"
> leveragestringLeverage
> marginModestringMargin mode: "CROSSED" or "ISOLATED"
> tradeSidestringTrade side: "OPEN" or "CLOSE"
> cTimenumberCreation time in milliseconds
> uTimenumberLast update time in milliseconds

Response Example

Success Response

{
"code": "00000",
"msg": "success",
"requestTime": 1763459280000,
"data": {
"symbol": "BTCUSDT",
"size": "0.5",
"orderId": "fu-123456789",
"clientOid": "my-order-001",
"priceAvg": "40000.00",
"fee": "2.00",
"price": "40000.00",
"status": "FILLED",
"side": "BUY",
"force": "GTC",
"totalProfits": "0",
"posSide": "LONG",
"marginCoin": "USDT",
"presetTakeProfitPrice": "42000.00",
"presetTakeProfitExecutePrice": "42000.00",
"presetTakeProfitType": "LIMIT",
"presetStopLossPrice": "38000.00",
"presetStopLossExecutePrice": "38000.00",
"presetStopLossType": "LIMIT",
"orderType": "LIMIT",
"leverage": "10",
"marginMode": "CROSSED",
"tradeSide": "OPEN",
"cTime": 1763372880000,
"uTime": 1763459280000
}
}

Error Codes

CodeMessage
40001Order ID or client order ID is required
40001Order not found
40034symbol does not exist