Skip to main content
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, send x-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 in results through the index field.
  • An item with both identifiers, neither identifier, or a blank clientOrderId returns an item-level status: "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.
For 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

lmts-api-key
string
header
required

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

x-on-behalf-of
integer

Managed sub-account profile ID. Requires an HMAC token with delegated_signing and a partner relationship with the target.

Required range: 1 <= x <= 2147483647
Example:

326

Body

application/json
items
object[]
required

List of status lookup queries (1-50 items)

Required array length: 1 - 50 elements

Response

Batch order statuses

results
object[]
required

Array of status results corresponding to request items