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

Authorizations

Authorization
string
header
required

User session token

Response

200 - application/json

List of open orders

tn
integer<int32>
required
Required range: x >= 0
ts
integer<int32>
required
d
enum<string>
required
Available options:
B,
S
o
enum<string>
required
Available options:
PENDING,
ACCEPTED,
PARTIALLY_FILLED,
FILLED,
CANCELED,
REJECTED,
EXPIRED,
REPLACED,
DONE_FOR_DAY,
UNKNOWN
oid
string
required

Strong type for Order IDs to prevent mixing with other string values

Order IDs are ULIDs with a prefix:

  • Regular orders: O-
  • Liquidation orders: L-
p
string
required
q
integer<int32>
required
rq
integer<int32>
required
s
string
required
tif
string
required
u
string
required
xq
integer<int32>
required
cid
integer<int64> | null
Required range: x >= 0
r
null | enum<string>
Available options:
CLOSE_ONLY,
INSUFFICIENT_MARGIN,
MAX_OPEN_ORDERS_EXCEEDED,
UNKNOWN_SYMBOL,
EXCHANGE_CLOSED,
INCORRECT_QUANTITY,
INVALID_PRICE_INCREMENT,
INCORRECT_ORDER_TYPE,
PRICE_OUT_OF_BOUNDS,
NO_LIQUIDITY,
UNKNOWN
tag
string | null
txt
string | null