Get open orders
This endpoint allows users to get open orders on their account.
GET /api/v1/orders
Query Parameters
"account"
string
required
Account address to filter orders
42trU9A5...
/api/v1/orders?account=42trU9A5...
Response
Status 200: Successfully retrieved open orders
[
{
"order_id": 51458,
"client_order_id": null,
"symbol": "BTC",
"side": "ask",
"price": "110000.000000",
"initial_amount": "0.00010000",
"filled_amount": "0",
"cancelled_amount": "0",
"stop_price": null,
"order_type": "limit",
"stop_parent_order_id": null,
"reduce_only": false,
"created_at": 1748956324604,
"updated_at": 1748956324604
}
]
"order_id"
integer
Order id assigned to order
"client_order_id"
UUID
CLOID of order if assigned by user
"symbol"
string
Trading pair symbol
"side"
string
Whether the order is a bid or an ask
"price"
decimal string
Price set by the order
"initial_amount"
decimal string
Amount (in token denomination) of the order placed
"filled_amount"
decimal string
Amount (in token denomination) of the order placed that has been filled
"cancelled_amount"
decimal string
Amount (in token denomination) of the order placed that has been cancelled
"stop_price"
decimal string
Stop price assigned upon order creation for subsequent position if order is filled if specified by user.
"order_type"
string
"limit"
"market"
"stop_limit"
"stop_market"
"take_profit_limit"
"stop_loss_limit"
"take_profit_market"
"stop_loss_market"
"stop_parent_order_id"
integer
Order id of stop order attached to original order
"reduce_only"
boolean
If the order is reduce only
"created_at"
integer
Timestamp in milliseconds when the order was created on Pacifica
"updated_at"
integer
Timestamp in milliseconds when the order was last modified (by a fill)
Status 400: Invalid request parameters
Status 401: Unauthorized access
Status 500: Internal server error
Code Example (Python)
import requests
response = requests.get(
"/api/v1/orders?account=42trU9A5...",
headers={"Accept": "*/*"},
)
data = response.json()
Last updated