Read Own Order History
Request and response reference for GET /v1/exchange/markets/{market}/orders.
/v1/exchange/markets/{market}/ordersRequest
This interface uses an approved institutional session, not a financial API key. Session writes also need Origin and CSRF protection. Use the JavaScript sample within an authorized browser integration.
curl -X GET "$OSAI_CONSOLE_BASE_URL/v1/exchange/markets/$MARKET_ID/orders?account_id=$ACCOUNT_ID" \
-H "Origin: $OSAI_APP_ORIGIN" \
--cookie "$OSAI_SESSION_COOKIE_FILE"Parameters
| Name | Location | Requirement | Description |
|---|---|---|---|
market | path · string | Required | Use the value defined for this resource. |
account_id | query · string | Required | Use the value defined for this resource. |
after | query · string | Optional | Use the value defined for this resource. |
as_of | query · string | Optional | Use the value defined for this resource. |
status | query · string | Optional | Use the value defined for this resource. |
limit | query · integer | Optional | Use the value defined for this resource. |
Request body
This operation does not define a JSON request body.
Responses
Inspect HTTP status before parsing a body. These tables describe client response fields rather than invented successful transaction payloads.
200 · HTTP 200 response
| Field | Type | Description & constraints |
|---|---|---|
ordersRequired in parent object | array | Defined by the resource contract. |
orders[].order_idRequired in parent object | string | Defined by the resource contract. |
orders[].instructionRequired in parent object | object | Defined by the resource contract. |
orders[].instruction.institution_idRequired in parent object | string | Defined by the resource contract. |
orders[].instruction.account_idRequired in parent object | string | Defined by the resource contract. |
orders[].instruction.actor_idRequired in parent object | string | Defined by the resource contract. |
orders[].instruction.client_order_idRequired in parent object | string | Defined by the resource contract. |
orders[].instruction.sideRequired in parent object | string | Defined by the resource contract. |
orders[].instruction.typeRequired in parent object | string | Defined by the resource contract. |
orders[].instruction.time_in_forceRequired in parent object | string | Defined by the resource contract. |
orders[].instruction.quantityRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].instruction.limit_priceRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].instruction.protection_priceRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].terms_hashRequired in parent object | string | Defined by the resource contract. |
orders[].acceptance_sequenceRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].versionRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].accepted_atRequired in parent object | stringdate-time | Defined by the resource contract. |
orders[].remaining_quantityRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].filled_quantityRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].statusRequired in parent object | string | Defined by the resource contract. |
orders[].fee_snapshotRequired in parent object | object | Defined by the resource contract. |
orders[].fee_snapshot.schedule_idRequired in parent object | string | Defined by the resource contract. |
orders[].fee_snapshot.versionRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].fee_snapshot.effective_fromRequired in parent object | stringdate-time | Defined by the resource contract. |
orders[].fee_snapshot.effective_untilRequired in parent object | stringdate-time | Defined by the resource contract. |
orders[].fee_snapshot.makerRequired in parent object | object | Defined by the resource contract. |
orders[].fee_snapshot.maker.currencyRequired in parent object | string | Defined by the resource contract. |
orders[].fee_snapshot.maker.minor_scaleRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].fee_snapshot.maker.numeratorRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].fee_snapshot.maker.denominatorRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].fee_snapshot.maker.roundingRequired in parent object | string | Defined by the resource contract.Values: FLOOR, CEILING |
orders[].fee_snapshot.takerRequired in parent object | object | Defined by the resource contract. |
orders[].fee_snapshot.taker.currencyRequired in parent object | string | Defined by the resource contract. |
orders[].fee_snapshot.taker.minor_scaleRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].fee_snapshot.taker.numeratorRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].fee_snapshot.taker.denominatorRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
orders[].fee_snapshot.taker.roundingRequired in parent object | string | Defined by the resource contract.Values: FLOOR, CEILING |
as_of_sequenceRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
next_afterRequired in parent object | string | Exact nonnegative base-10 integer; never a JSON number.Pattern: ^(0|[1-9][0-9]*)$ |
has_moreRequired in parent object | boolean | Defined by the resource contract. |
400 · Invalid bounded instruction
No client body fields are defined for this response.
401 · Authentication required
No client body fields are defined for this response.
403 · Permission, recent verified MFA or CSRF denied
No client body fields are defined for this response.
409 · Version, preview, instruction or capacity conflict
No client body fields are defined for this response.
503 · Unavailable or unknown commit outcome; query the original command before retrying
No client body fields are defined for this response.
Retries & recovery
Keep the original request identifiers and any required idempotency key. A timeout does not establish failure. Read the original resource or command before another financial write; use expected versions for concurrent changes.