Skip to main content
GET
/
orders
cURL
curl --request GET \
  --url https://gateway.architect.exchange/orders/orders \
  --header 'Authorization: Bearer <token>'
{
  "orders": [
    {
      "tn": 1,
      "ts": 123,
      "d": "B",
      "o": "PENDING",
      "oid": "<string>",
      "p": "<string>",
      "q": 1,
      "rq": 1,
      "s": "<string>",
      "tif": "<string>",
      "u": "<string>",
      "xq": 1,
      "cid": 1,
      "po": true,
      "r": "CLOSE_ONLY",
      "tag": "<string>",
      "txt": "<string>"
    }
  ],
  "limit": 1,
  "next_cursor": "<string>",
  "total_count": 1
}

Authorizations

Authorization
string
header
required

User session token

Query Parameters

symbol
string | null
order_states
enum<string>[] | null

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

Response

200 - application/json

List of orders

Page metadata for cursor-paged responses.

This is intended for response bodies (not query params).

orders
object[]
required
limit
integer<int32> | null
Required range: x >= 0
next_cursor
string | null
total_count
integer<int64> | null
Required range: x >= 0