Skip to main content
Version: Next

Order Detail

Query detailed information of a single order.

Interface Information

  • Method: GET
  • Path: /api/v1/stock/open-api/orderDetail

Request Parameters

ParameterTypeRequiredDescription
symbolstringYesStock symbol
orderIdstringYesOrder ID

Request Example

GET /api/v1/stock/open-api/orderDetail?symbol=AAPL&orderId=123456789

Response Fields

FieldTypeDescription
orderIdstringOrder ID
clientOidstringClient-defined order ID
symbolstringTrading pair
sidestringDirection: buy-buy, sell-sell
typestringType: limit-limit, market-market
pricestringOrder price
quantitystringOrder quantity
filledQtystringFilled quantity
filledAmountstringFilled amount
avgPricestringAverage fill price
statusstringStatus: pending-pending, partial-partial, filled-filled, cancelled-cancelled
feestringTrading fee
feeCurrencystringFee currency
createdAtint64Creation time (millisecond timestamp)
updatedAtint64Update time (millisecond timestamp)

Response Example

{
"code": 0,
"msg": "success",
"data": {
"orderId": "123456789",
"clientOid": "my-order-001",
"symbol": "AAPL",
"side": "buy",
"type": "limit",
"price": "185.50",
"quantity": "1000",
"filledQty": "1000",
"filledAmount": "185500.00",
"avgPrice": "185.50",
"status": "filled",
"fee": "18.55",
"feeCurrency": "USDT",
"createdAt": 1705737600000,
"updatedAt": 1705737700000
}
}