curl --request GET \
--url https://api.orderly.org/v1/order/{order_id} \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>'
{
"success": true,
"timestamp": 1702989203989,
"data": {
"order_id": 78151,
"user_id": 12345,
"price": 0.67772,
"type": "LIMIT",
"quantity": 20,
"amount": 10,
"executed_quantity": 20,
"total_executed_quantity": 20,
"visible_quantity": 1,
"symbol": "PERP_WOO_USDC",
"side": "BUY",
"status": "FILLED",
"total_fee": 0.5,
"fee_asset": "WOO",
"client_order_id": 1,
"average_executed_price": 0.67772,
"created_time": 1653563963000,
"updated_time": 1653564213000,
"realized_pnl": 0
}
}
Limit: 10 requests per 1 second
GET /v1/order/{order_id}
Get details of a single order by order_id
.
curl --request GET \
--url https://api.orderly.org/v1/order/{order_id} \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>'
{
"success": true,
"timestamp": 1702989203989,
"data": {
"order_id": 78151,
"user_id": 12345,
"price": 0.67772,
"type": "LIMIT",
"quantity": 20,
"amount": 10,
"executed_quantity": 20,
"total_executed_quantity": 20,
"visible_quantity": 1,
"symbol": "PERP_WOO_USDC",
"side": "BUY",
"status": "FILLED",
"total_fee": 0.5,
"fee_asset": "WOO",
"client_order_id": 1,
"average_executed_price": 0.67772,
"created_time": 1653563963000,
"updated_time": 1653564213000,
"realized_pnl": 0
}
}
id of the order
OK
The response is of type object
.