Trading
Get Order Status (Batch)
Fetches owner-scoped historical order statuses. Self lookup requires authentication but no HMAC scope; delegated lookup uses x-on-behalf-of and requires delegated_signing.
POST
Look up orders by either
orderId (internal) or clientOrderId (your identifier). Provide exactly one per item, not both.Authentication and delegation
Use HMAC authentication. Looking up your own orders does not require a specific token scope. To look up a managed sub-account, sendx-on-behalf-of: <profileId>. The HMAC token must carry delegated_signing, and the target profile must belong to the authenticated partner.
Validation behavior
The request accepts 1–50 items and preserves their input order inresults through the index field.
- An item with both identifiers, neither identifier, or a blank
clientOrderIdreturns an item-levelstatus: "invalid"; the rest of the batch is processed. - An unknown identifier, including an order owned by another profile, returns item-level
status: "not_found". - Malformed UUIDs or field types, client IDs longer than 128 characters, unknown fields, malformed nesting, and batch-size violations reject the whole request with
400 Bad Request.
status: "found", data directly contains order, optional makerMatches, and execution. There is no additional response envelope inside data.order.
Historical status reports UNMATCHED, DELAYED, MATCHED, MINED, CONFIRMED, RETRYING, or FAILED. It returns the latest known execution state; it does not include placement-time STP reasons, STP maker-cancel IDs, or a historical CANCELED state.
Errors
Authorizations
Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.
Headers
Managed sub-account profile ID. Requires an HMAC token with delegated_signing and a partner relationship with the target.
Required range:
1 <= x <= 2147483647Example:
326
Body
application/json
List of status lookup queries (1-50 items)
Required array length:
1 - 50 elementsResponse
Batch order statuses
Array of status results corresponding to request items