getOpenOrders
Retrieve real-time unfilled or partially filled orders across spot, perpetual, inverse, and option markets. Filter by symbol, order ID, or base coin to track active positions.
Instructions
Query unfilled or partially filled orders in real-time. To query older order records, please use the order history endpoint.
Unified account covers: Spot / USDT perpetual / USDC contract / Inverse contract / Options
Classic account covers: Spot / USDT perpetual / Inverse contract
Behaviour:
Returns open (unfilled / partially filled) orders by default (
openOnly=0)Set
openOnly=1to also return last 500 closed ordersWhen querying by
orderIdororderLinkId,openOnlyis ignoredResults are sorted by
createdTimefrom newest to oldestAfter server restarts, Unified-account closed orders should be queried via the order history endpoint
Priority of filter parameters: orderId > orderLinkId > symbol > baseCoin
Agent hint: TradFi: use category=spot to query open xStock orders, category=linear for equity/commodity perpetual orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| symbol | No | ||
| orderId | No | ||
| baseCoin | No | ||
| category | Yes | ||
| openOnly | No | 0 | |
| settleCoin | No | ||
| orderFilter | No | ||
| orderLinkId | No |