Skip to main content
GET
Get an account's order history

Authorizations

X-API-Key
string
header
required

Organization API key (hp_live_...), sent in the X-API-Key header. Create, rotate and restrict keys in the dashboard or with the API keys endpoints; an organization can have two active keys, so you can rotate without downtime. A full-access key can call every endpoint in this reference. A read-only key can call GET endpoints (and create a trading stream token); any other request returns 403 READ_ONLY_KEY. A key with an IP allowlist returns 403 IP_NOT_ALLOWED from any other address. Each endpoint lists which keys can call it under Access.

Path Parameters

accountId
string
required

Trading account ID

Query Parameters

status
string

Comma-separated order statuses to include (e.g. filled, pending, cancelled, rejected, expired). Default: all

includeReverted
boolean
default:false

Include orders voided by a Time Machine revert (they carry revertedAt)

limit
integer
default:100

Page size (1-500)

Required range: 1 <= x <= 500
offset
integer
default:0

Number of orders to skip

Required range: x >= 0

Response

Success - Returns the account's orders

success
boolean
Example:

true

data
object