latestOpenAPI 3.1.02026-07-26399062.0 KB

2955c31c524d

order-gateway

Returns historical orders for the authenticated user, newest first by default, paged via the response cursor. The time range is optional and unbounded; an inverted range (end_timestamp_ns <= start_timestamp_ns) is rejected with a 400. Optionally narrow the result to specific orders via order_id and/or order_ids. Pages may be returned partial.

get/orders

Query parameters

symbolstring nullable
timeseriesF6d12211013f441f968471751c829deb required— unresolved $ref
order_statesOrderState[] nullable

Optional comma-separated order state filter, e.g. FILLED,CANCELED,REPLACED

order_idstring nullable

Optional single order ID filter, e.g. ORD-1234567890. Convenience alias for a one-element order_ids; combined with order_ids if both are set.

order_idsstring[] nullable

Optional comma-separated order ID filter, e.g. ORD-1,ORD-2. Combined with order_id if both are set.

account_idstring nullable

Optional account ID. If omitted, the user's default (primary) account is used.

Response

List of orders

limitinteger nullable
next_cursorstring nullable
total_countinteger nullable