cURL
Order entry and management
Get historical orders
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
cURL
Authorizations
User session token
Query Parameters
Optional comma-separated order state filter, e.g. FILLED,CANCELED,REPLACED
Available options:
PENDING, ACCEPTED, PARTIALLY_FILLED, FILLED, CANCELED, REJECTED, EXPIRED, REPLACED, DONE_FOR_DAY, UNKNOWN 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.
Optional comma-separated order ID filter, e.g. ORD-1,ORD-2. Combined
with order_id if both are set.
Optional account ID. If omitted, the user's default (primary) account is used.