Order by id
Retrieve detailed information about a particular order.
The order is identified by its UUID, which already implies its currency; the response carries a trade_currency tag, and for INR orders the hedge_rate.
Request
curl -X GET "https://trade.mudrex.com/fapi/v1/futures/orders/{order_id}" \
-H "X-Authentication: your-secret-key"Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | Yes | The unique identifier of the order (path parameter). |
Response
Status: 200 OK (INR order)
{
"success": true,
"data": {
"actual_amount": 481.11,
"quantity": 43.8,
"filled_quantity": 43.8,
"price": 0.11442,
"filled_price": 0.11442,
"leverage": 5,
"hedge_rate": 96,
"order_type": "LONG",
"trigger_type": "MARKET",
"trade_currency": "INR",
"status": "FILLED",
"id": "019ecc52-2f97-7e34-b3cc-22364e107975"
}
}Response fields
| Field | Description |
|---|---|
id | Order ID (UUID). |
actual_amount | Actual amount used for the order, in the order's currency. |
quantity | Order quantity (base asset). |
filled_quantity | Quantity that has been filled. |
price | Order price (USDT). |
filled_price | Average price at which the order has been filled (USDT). |
leverage | Leverage used for the order. |
hedge_rate | INR/USDT conversion rate captured for this order (INR orders). |
order_type | Type of order: LONG, SHORT, or TAKEPROFIT. |
trigger_type | Trigger type: MARKET or LIMIT. |
trade_currency | Currency of the order: USDT or INR. |
status | Order status (e.g. CREATED, FILLED). |
Errors
Common errors
Order not found
{
"success": false,
"errors": [
{
"code": 404,
"text": "order not found"
}
]
}Status: 404 Not Found
