Retrieves all open orders for a specific user in a given market. Returns an array of all pending and partially filled orders.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jogeshwar01/exchange/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
GET /api/v1/orders
Request
Body parameters
The unique identifier of the user whose orders to retrieve
The trading pair market (e.g., “SOL_USDC”, “BTC_USDT”)
Response
Returns an array of order objects. Each order contains:The limit price of the order
The total quantity of the order
The quantity that has been filled
The unique identifier of the order
The unique identifier of the user who owns the order
The order side (“BUY” or “SELL”)
The type of order (“LIMIT” or “MARKET”)
The current status of the order (“Pending”, “Filled”, “PartiallyFilled”, or “Cancelled”)
The Unix timestamp in milliseconds when the order was created
Example
Error codes
- 200 OK - Orders retrieved successfully (returns empty array if no open orders)
- 500 Internal Server Error - Failed to retrieve orders or Redis connection error