Skip to main content

Query Order

Type: USER-DATA

External endpoint: GET /fapi/v1/order
Rocky impl: GET /fapi/v1/order

Fetch a single order by id.

Request

GET /fapi/v1/order?symbol=BTCUSDT&orderId=<uuid>

Query params

NameTypeRequiredNotes
symbolstringyesstandard pair (validated).
orderIdUUID stringyesOrder id.

Response — 200

{
"orderId": "8a3f5b2c-4d1e-6f7a-8b9c-0d1e2f3a4b5c",
"clientOrderId": "8a3f5b2c-4d1e-6f7a-8b9c-0d1e2f3a4b5c",
"symbol": "BTCUSDT",
"status": "PARTIALLY_FILLED",
"side": "BUY",
"type": "LIMIT",
"price": "76500.00",
"origQty": "0.001",
"updateTime": 1748275200500
}

status is one of NEW or PARTIALLY_FILLED. Filled or cancelled orders return -2011 (they have been removed from ledger.orders_open).

Other standard fields such as executedQty, cumQuote, avgPrice, stopPrice, reduceOnly, closePosition, time are not yet returned.