v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-0815390371.2 KB
Trading

Get Active Orders

Get active (in-flight) orders across all or filtered accounts and connectors.

This endpoint fetches real-time active orders directly from the connectors' in_flight_orders property, providing current order status, fill amounts, and other live order data.

Args: filter_request: JSON payload with filtering criteria

Returns: Paginated response with active order data and pagination metadata

Raises: HTTPException: 500 if there's an error fetching orders

post/trading/orders/active

Request body

limitinteger

Number of items per page

cursorstring nullable

Cursor for next page

account_namesstring[] nullable

List of account names to filter by

connector_namesstring[] nullable

List of connector names to filter by

trading_pairsstring[] nullable

List of trading pairs to filter by

Response

Successful Response

dataobject[] required
paginationobject required

Example response

{
  "data": [],
  "pagination": {
    "has_more": true,
    "limit": 100,
    "next_cursor": "2024-01-10T12:00:00",
    "total_count": 500
  }
}