cURL
Order entry and management
Get historical orders
Returns historical orders for the authenticated user. Requires an explicit time range: both start_timestamp_ns and end_timestamp_ns must be provided and span no more than 7 days. Missing, inverted, or wider ranges are rejected with a 400.
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 account ID. If omitted, default (primary) user account is used.