Skip to content
API reference /Account & trading

Inspect an order

Inspect the unfilled ETH limit order returned by the placement example.

Endpoint & access

GET
/api/v1/usdt/order_info

Whitelist Required

Request whitelist approval for your API key. This endpoint is available only after approval.

Rate limit

  • 3 requests / 1 second

Query parameters

Field Data type Required Meaning
order_id string YES Order ID

Returned fields

Field Data type Meaning
order_id string Order ID
direction string Direction openLong open long openShort open short closeLong close long closeShort close short
leverage string Leverage
order_type string Order type, price limit, postOnly (maker only), fok (Fill or Kill), ioc (Immediate Or Cancel)
quantity string Quantity (number of sheets)
order_price string order price
order_value string order value
fee string handling fee
filled_quantity string Volume (sheets)
average_price string Average transaction price
order_time string order creation time
status string Order status (new: pending order, filled: completed transaction, canceled: completely canceled order, partiallyCanceled: partially canceled order)
profit string Order profit and loss
take_profit_price string Take profit price
take_profit_order_type string Take profit order type , enum value: planLimit or planMarket
stop_loss_price string Stop-loss price
stop_loss_order_type string Stop lose order type , enum value: planLimit or planMarket
margin_mode string Position mode, fixed (isolated) crossed (full position)

Example request

GET /api/v1/usdt/order_info?order_id=7302100000000042001

Example result

{
  "code": 200,
  "message": null,
  "data": {
    "order_id": "7302100000000042001",
    "direction": "openLong",
    "leverage": "5",
    "contract_code": "ETH-SWAP",
    "order_type": "limit",
    "quantity": "12",
    "order_price": "2420",
    "order_value": "290.4",
    "fee": "0",
    "filled_quantity": "0",
    "average_price": "0",
    "order_time": 1795161480000,
    "status": "new",
    "profit": "0",
    "take_profit_price": "2580.00",
    "take_profit_order_type": "planMarket",
    "stop_loss_price": "2320.00",
    "stop_loss_order_type": "planMarket",
    "margin_mode": "fixed"
  }
}