curl --request GET \
--url https://api.orderly.org/v1/algo/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": {
"algo_order_id": 168400010,
"algo_status": "NEW",
"algo_type": "STOP",
"fee_asset": "USDC",
"is_triggered": "false",
"order_tag": "test_tag",
"parent_algo_order_id": 0,
"quantity": 5.5,
"root_algo_order_id": 168400010,
"root_algo_order_status": "NEW",
"side": "BUY",
"symbol": "PERP_NEAR_USDC",
"executed_quantity": 0,
"total_executed_quantity": 0,
"total_fee": 0,
"trigger_price": 2.5,
"trigger_price_type": "MARK_PRICE",
"type": "MARKET",
"created_time": 1702871974317,
"updated_time": 1702871974317,
"visible_quantity": 5.5,
"realized_pnl": 0,
"child_orders": [
{}
]
}
}
Limit: 10 requests per 1 second
GET /v1/algo/order/{order_id}
Get details of a single algo order by order_id.
curl --request GET \
--url https://api.orderly.org/v1/algo/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": {
"algo_order_id": 168400010,
"algo_status": "NEW",
"algo_type": "STOP",
"fee_asset": "USDC",
"is_triggered": "false",
"order_tag": "test_tag",
"parent_algo_order_id": 0,
"quantity": 5.5,
"root_algo_order_id": 168400010,
"root_algo_order_status": "NEW",
"side": "BUY",
"symbol": "PERP_NEAR_USDC",
"executed_quantity": 0,
"total_executed_quantity": 0,
"total_fee": 0,
"trigger_price": 2.5,
"trigger_price_type": "MARK_PRICE",
"type": "MARKET",
"created_time": 1702871974317,
"updated_time": 1702871974317,
"visible_quantity": 5.5,
"realized_pnl": 0,
"child_orders": [
{}
]
}
}
id of the order
OK
The response is of type object
.