# List liquidity programs Source: https://docs.architect.exchange/api-reference/liquidity-program/get-programs openapi/api-gateway.json GET /mmlp/v2/programs # Get reward accruals Source: https://docs.architect.exchange/api-reference/liquidity-program/get-reward-accruals openapi/api-gateway.json GET /mmlp/v2/reward-accruals # Get score snapshots Source: https://docs.architect.exchange/api-reference/liquidity-program/get-score-snapshots openapi/api-gateway.json GET /mmlp/v2/{symbol}/score-snapshots # Get BBO candles Source: https://docs.architect.exchange/api-reference/marketdata/get-bbo-candles openapi/api-gateway.json GET /bbo-candles # Get orderbook Source: https://docs.architect.exchange/api-reference/marketdata/get-book openapi/api-gateway.json GET /book # Get candles Source: https://docs.architect.exchange/api-reference/marketdata/get-candles openapi/api-gateway.json GET /candles # Get current BBO candle Source: https://docs.architect.exchange/api-reference/marketdata/get-current-bbo-candle openapi/api-gateway.json GET /bbo-candles/current # Get current candle Source: https://docs.architect.exchange/api-reference/marketdata/get-current-candle openapi/api-gateway.json GET /candles/current # Get funding rates Source: https://docs.architect.exchange/api-reference/marketdata/get-funding-rates openapi/api-gateway.json GET /funding-rates # Get last BBO candle Source: https://docs.architect.exchange/api-reference/marketdata/get-last-bbo-candle openapi/api-gateway.json GET /bbo-candles/last # Get last candle Source: https://docs.architect.exchange/api-reference/marketdata/get-last-candle openapi/api-gateway.json GET /candles/last # Get ticker Source: https://docs.architect.exchange/api-reference/marketdata/get-ticker openapi/api-gateway.json GET /ticker # Get tickers Source: https://docs.architect.exchange/api-reference/marketdata/get-tickers openapi/api-gateway.json GET /tickers # Get trades Source: https://docs.architect.exchange/api-reference/marketdata/get-trades openapi/api-gateway.json GET /trades # Get upcoming special settlements Source: https://docs.architect.exchange/api-reference/marketdata/get-upcoming-special-settlements openapi/api-gateway.json GET /special-settlements-pending # Websocket marketdata Source: https://docs.architect.exchange/api-reference/marketdata/md-ws ## Quickstart ### 1. Get a token ```bash theme={null} curl -s -X POST https://gateway.sandbox.architect.exchange/api/authenticate \ -H "Content-Type: application/json" \ -d '{"api_key":"YOUR_KEY","api_secret":"YOUR_SECRET","expiration_seconds":3600}' # Response: {"token":""} ``` ### 2. Connect to the WebSocket Pass the token as an `Authorization` header on the WebSocket upgrade request. Invalid or missing tokens are rejected with HTTP 401 before the connection is established. ```bash wscat theme={null} # Store the token TOKEN=$(curl -s -X POST https://gateway.sandbox.architect.exchange/api/authenticate \ -H "Content-Type: application/json" \ -d '{"api_key":"YOUR_KEY","api_secret":"YOUR_SECRET","expiration_seconds":3600}' \ | python3 -c "import sys,json; print(json.load(sys.stdin)['token'])") # Connect wscat -c wss://gateway.sandbox.architect.exchange/md/ws \ -H "Authorization: Bearer $TOKEN" ``` ```bash websocat theme={null} # Store the token TOKEN=$(curl -s -X POST https://gateway.sandbox.architect.exchange/api/authenticate \ -H "Content-Type: application/json" \ -d '{"api_key":"YOUR_KEY","api_secret":"YOUR_SECRET","expiration_seconds":3600}' \ | python3 -c "import sys,json; print(json.load(sys.stdin)['token'])") # Connect websocat -H="Authorization: Bearer $TOKEN" \ wss://gateway.sandbox.architect.exchange/md/ws ``` Replace `gateway.sandbox.architect.exchange` with `gateway.architect.exchange` for production. ### 3. Subscribe Once connected, send a subscribe message to start receiving market data: ```json theme={null} {"rid":1,"type":"subscribe","symbol":"XAU-PERP","level":"LEVEL_2"} ``` Subscribe to trades only — no order book or ticker — with `level: "TRADES"`: ```json theme={null} {"rid":2,"type":"subscribe","symbol":"XAU-PERP","level":"TRADES"} ``` For a book-level subscription, the optional `trades` and `ticker` fields (both default `true`) independently suppress trade or ticker delivery. For example, a book-only feed (no trades, no ticker): ```json theme={null} {"rid":3,"type":"subscribe","symbol":"XAU-PERP","level":"LEVEL_2","trades":false,"ticker":false} ``` Subscribe to candles for a symbol and interval: ```json theme={null} {"rid":4,"type":"subscribe_candles","symbol":"XAU-PERP","width":"1m"} ``` After a successful `subscribe` at a book level (`LEVEL_1`/`LEVEL_2`/`LEVEL_3`), you receive: * Ticker updates (`t = "s"`) — unless `ticker: false` * Trade updates (`t = "t"`) — unless `trades: false` * Order book updates matching your selected `level`: * `LEVEL_1` -> `t = "1"` * `LEVEL_2` -> `t = "2"` * `LEVEL_3` -> `t = "3"` After a successful `subscribe` at `level: "TRADES"`, you receive only trade updates (`t = "t"`) — no ticker or order book events. The `trades` and `ticker` fields have no effect on a `TRADES` subscription. After a successful `subscribe_candles`, you receive candle updates (`t = "c"`). ## Details ### Request ID (`rid`) * `rid` is used to correlate request/response pairs. * Server acknowledgements and request errors include the same `rid` as your request. * Market data events do not include `rid`. ### Symbol fields in events * Ticker, trade, and order book events use `s` for symbol. * Candle events use `symbol`. ### Estimated funding rate * Ticker events (`t = "s"`) carry an optional `ef` object with the live estimated funding rate, present only for symbols that have a live index feed configured (e.g. WTI-PERP). * `ef.status` is one of `ready`, `settlement_pending`, or `unavailable`: * `ready` — a current estimate is available. All numeric fields (`funding_rate`, `funding_amount`, `benchmark_price`, `settlement_price`) are populated and `ef.reason` is absent. * `settlement_pending` — funding settlement is in progress for the symbol, so the live estimate is temporarily suppressed. The numeric fields are null and `ef.reason` indicates a settlement is pending. * `unavailable` — no current estimate can be produced. The numeric fields are null and `ef.reason` explains why — for example the index or mark price data needed for the estimate is not yet available, is insufficient, or is too stale, or no estimate has been published for the symbol yet. * When no estimate applies to a symbol, the `ef` field is omitted entirely. ```json theme={null} { "t": "s", "ts": 1609459200, "tn": 123456789, "s": "WTI-PERP", "ef": { "symbol": "WTI-PERP", "status": "ready", "funding_rate": "0.00012", "funding_amount": "6.00", "benchmark_price": "50005.00", "settlement_price": "50010.00", "timestamp": "2021-01-01T00:00:00Z" } } ``` ### Heartbeat events * The server emits heartbeat events (`t = "h"`): ```json theme={null} { "t": "h", "ts": 1609459200, "tn": 123456789 } ``` Use heartbeat and market data flow to monitor connection health. # Preview aggressive limit order Source: https://docs.architect.exchange/api-reference/marketdata/preview-aggressive-limit-order openapi/api-gateway.json POST /preview-aggressive-limit-order # Calculate initial margin requirement Source: https://docs.architect.exchange/api-reference/order-management/calculate-initial-margin-requirement openapi/order-gateway.json POST /initial-margin-requirement # Cancel all orders Source: https://docs.architect.exchange/api-reference/order-management/cancel-all-orders openapi/order-gateway.json POST /cancel-all-orders # Cancel order Source: https://docs.architect.exchange/api-reference/order-management/cancel-order openapi/order-gateway.json POST /cancel-order # Get open orders Source: https://docs.architect.exchange/api-reference/order-management/get-open-orders openapi/order-gateway.json GET /open-orders # See order fills Source: https://docs.architect.exchange/api-reference/order-management/get-order-fills openapi/order-gateway.json GET /order-fills # Search order status Source: https://docs.architect.exchange/api-reference/order-management/get-order-status openapi/order-gateway.json GET /order-status # Get historical orders Source: https://docs.architect.exchange/api-reference/order-management/get-orders openapi/order-gateway.json GET /orders Returns historical orders for the authenticated user, newest first by default, paged via the response cursor. The time range is optional and unbounded; an inverted range (`end_timestamp_ns` <= `start_timestamp_ns`) is rejected with a 400. Optionally narrow the result to specific orders via `order_id` and/or `order_ids`. A page can be partial or empty and still carry a cursor. Iterate until the response has no cursor. # Websocket orders Source: https://docs.architect.exchange/api-reference/order-management/orders-ws ## Quickstart ### 1. Get a token ```bash theme={null} curl -s -X POST https://gateway.sandbox.architect.exchange/api/authenticate \ -H "Content-Type: application/json" \ -d '{"api_key":"YOUR_KEY","api_secret":"YOUR_SECRET","expiration_seconds":3600}' # Response: {"token":""} ``` ### 2. Connect to the WebSocket Pass the token as an `Authorization` header on the WebSocket upgrade request. Invalid or missing tokens are rejected with HTTP 401 before the connection is established. ```bash wscat theme={null} # Store the token TOKEN=$(curl -s -X POST https://gateway.sandbox.architect.exchange/api/authenticate \ -H "Content-Type: application/json" \ -d '{"api_key":"YOUR_KEY","api_secret":"YOUR_SECRET","expiration_seconds":3600}' \ | python3 -c "import sys,json; print(json.load(sys.stdin)['token'])") # Connect wscat -c wss://gateway.sandbox.architect.exchange/orders/ws \ -H "Authorization: Bearer $TOKEN" ``` ```bash websocat theme={null} # Store the token TOKEN=$(curl -s -X POST https://gateway.sandbox.architect.exchange/api/authenticate \ -H "Content-Type: application/json" \ -d '{"api_key":"YOUR_KEY","api_secret":"YOUR_SECRET","expiration_seconds":3600}' \ | python3 -c "import sys,json; print(json.load(sys.stdin)['token'])") # Connect websocat -H="Authorization: Bearer $TOKEN" \ wss://gateway.sandbox.architect.exchange/orders/ws ``` Replace `gateway.sandbox.architect.exchange` with `gateway.architect.exchange` for production. ### 3. Login response On successful connection, the server sends a login response with `rid: 0` containing your user ID and your open orders. `o` is `null` when you have no open orders: ```json theme={null} {"rid":0,"res":{"li":"01KB4E-MGKR-HXEG","o":null,"cod":false}} ``` ### 4. Place an order ```json theme={null} {"rid":1,"t":"p","s":"XAU-PERP","d":"B","q":100,"p":"50000.50","tif":"GTC","po":false} ``` The server responds with the order ID: ```json theme={null} {"rid":1,"res":{"oid":"O-01ARZ3NDEKTSV4RRFFQ69G5FAV"}} ``` You then receive order lifecycle events as they happen (acknowledged `t="n"`, filled `t="f"`, canceled `t="c"`, rejected `t="j"`). ## Cancel on Disconnect To automatically cancel all orders placed during a WebSocket session when the connection drops, pass the `cancel_on_disconnect` query parameter when opening the connection: ```js theme={null} var ws = new WebSocket( 'wss://gateway.sandbox.architect.exchange/orders/ws?cancel_on_disconnect=true' ); ``` ```bash wscat theme={null} wscat -c "wss://gateway.sandbox.architect.exchange/orders/ws?cancel_on_disconnect=true" \ -H "Authorization: Bearer $TOKEN" ``` ```bash websocat theme={null} websocat -H="Authorization: Bearer $TOKEN" \ "wss://gateway.sandbox.architect.exchange/orders/ws?cancel_on_disconnect=true" ``` Only orders sent on that specific connection are canceled; orders placed via other connections or the REST API are unaffected. ## Estimated funding rate Request the live estimated funding rate for a symbol with a `t="ef"` message: ```json theme={null} {"rid":6,"t":"ef","symbol":"WTI-PERP"} ``` The server replies with the estimate, correlated by `rid`: ```json theme={null} {"rid":6,"res":{"symbol":"WTI-PERP","status":"ready","funding_rate":"0.00012","funding_amount":"6.00","benchmark_price":"50005.00","settlement_price":"50010.00","timestamp":"2021-01-01T00:00:00Z"}} ``` `status` is one of `ready`, `settlement_pending`, or `unavailable`. The numeric fields are populated only when `status` is `ready`; otherwise `res.reason` explains why no estimate is available. The same estimate is also published on the market data ticker stream — see [Websocket marketdata](/api-reference/marketdata/md-ws). # Place order Source: https://docs.architect.exchange/api-reference/order-management/place-order openapi/order-gateway.json POST /place-order # Replace order Source: https://docs.architect.exchange/api-reference/order-management/replace-order openapi/order-gateway.json POST /replace-order # Get balances Source: https://docs.architect.exchange/api-reference/portfolio-management/get-balances openapi/api-gateway.json GET /balances # Get fills Source: https://docs.architect.exchange/api-reference/portfolio-management/get-fills openapi/api-gateway.json GET /fills Returns historical fills for the authenticated user. Requires an explicit time range: both `start_timestamp_ns` and `end_timestamp_ns` must be provided and span no more than 7 days. Missing, inverted, or wider ranges are rejected with a 400. # Get funding transactions Source: https://docs.architect.exchange/api-reference/portfolio-management/get-funding-transactions openapi/api-gateway.json GET /funding-transactions Returns historical funding transactions for the authenticated user, newest first by default, paged via the response cursor. The time range is optional and unbounded; an inverted range (`end_timestamp_ns` <= `start_timestamp_ns`) is rejected with a 400. A query too expensive to serve is also rejected with a 400 asking the caller to narrow the range. Pages may be returned partial. # Get liquidations Source: https://docs.architect.exchange/api-reference/portfolio-management/get-liquidations openapi/api-gateway.json GET /liquidations Returns historical liquidations for the authenticated user. Requires an explicit time range: both `start_timestamp_ns` and `end_timestamp_ns` must be provided and span no more than 7 days. Missing, inverted, or wider ranges are rejected with a 400. # Get positions Source: https://docs.architect.exchange/api-reference/portfolio-management/get-positions openapi/api-gateway.json GET /positions # Get risk snapshot Source: https://docs.architect.exchange/api-reference/portfolio-management/get-risk-snapshot openapi/api-gateway.json GET /risk-snapshot # Get transactions Source: https://docs.architect.exchange/api-reference/portfolio-management/get-transactions openapi/api-gateway.json GET /transactions Returns historical transactions for the authenticated user. An optional time range may be supplied via `start_timestamp_ns` / `end_timestamp_ns`; when both bounds are given, `end_timestamp_ns` must be greater than `start_timestamp_ns`. Inverted ranges are rejected with a 400. # Sandbox deposit Source: https://docs.architect.exchange/api-reference/portfolio-management/sandbox-deposit openapi/api-gateway.json POST /sandbox/deposit # Sandbox withdrawal Source: https://docs.architect.exchange/api-reference/portfolio-management/sandbox-withdrawal openapi/api-gateway.json POST /sandbox/withdraw # Get instrument Source: https://docs.architect.exchange/api-reference/symbols-instruments/get-instrument openapi/api-gateway.json GET /instrument # Get instruments Source: https://docs.architect.exchange/api-reference/symbols-instruments/get-instruments openapi/api-gateway.json GET /instruments # Get auth token Source: https://docs.architect.exchange/api-reference/user-management/authenticate openapi/api-gateway.json POST /authenticate # Create API key Source: https://docs.architect.exchange/api-reference/user-management/create-api-key openapi/api-gateway.json POST /api-keys # Get API keys Source: https://docs.architect.exchange/api-reference/user-management/get-api-keys openapi/api-gateway.json GET /api-keys # Get current user details Source: https://docs.architect.exchange/api-reference/user-management/get-whoami openapi/api-gateway.json GET /whoami # Get current user's customer Source: https://docs.architect.exchange/api-reference/user-management/get-whoami-customer openapi/api-gateway.json GET /whoami/customer # Logout Source: https://docs.architect.exchange/api-reference/user-management/logout openapi/api-gateway.json POST /logout # Revoke API key Source: https://docs.architect.exchange/api-reference/user-management/revoke-api-key openapi/api-gateway.json DELETE /api-keys # Changelog Source: https://docs.architect.exchange/changelog Release notes for AX **November 12, 2026** v17.10.0 The referrals API now lists your referrals with their signup date, deposit status and monthly volume band. **November 10, 2026** v17.9.0 Orders accept an optional `bid` broker ID for partner integrations, and order details return it. **November 6, 2026** v17.6.0 The optional `utoipa` feature of the Rust SDK now uses utoipa 6. **October 28, 2026** v17.0.0 `GET /whoami/customer` now returns your customer's id, display name, type, business identity, `is_onboarded`, `is_frozen`, and `fiat_deposit_code`, and returns 404 when you do not belong to a customer yet. **October 28, 2026** v17.0.0 `GET /whoami` no longer returns `is_onboarded`, `is_frozen`, or `fiat_deposit_code`. Read them from `GET /whoami/customer`. **October 12, 2026** v16.9.0 A rejected cancel or replace (`e` event) now gives a plain-English reason instead of exchange-internal text. **October 12, 2026** v16.9.0 The docs now describe how self-trade prevention applies when you amend an order. **September 14, 2026** v16.0.0 Order history and open order responses now report `po` and `rb`. `rb` is the reprice behavior submitted on the latest place or replace, and only takes effect when `po` was true on that request. **September 10, 2026** v15.45.0 The transactions endpoint now documents the reward transaction type. **August 28, 2026** v15.41.0 A market data client that falls behind is now disconnected rather than buffering without bound or silently missing trade prints. **August 18, 2026** v15.36.0 `DELETE /api-keys` now also revokes every session token that was created from the revoked key. Before, those tokens stayed valid until they expired. Session tokens from other API keys or from interactive login are not affected. **August 18, 2026** v15.36.0 On the market data WebSocket (`/md/ws`), a `subscribe_candles` or `subscribe_bbo_candles` request for an unknown or delisted symbol now returns an error response with code 404 on the same connection. Before, an unknown symbol in `subscribe_candles` closed the connection and dropped all other subscriptions. **August 18, 2026** v15.36.0 Order gateway requests that omit `account_id` (`aid`) now return `400 account_id is required` when the user has no default trading account, instead of `404 trading account not found`. This applies to all order gateway REST endpoints (for example `GET /open-orders`, `GET /orders`, `POST /place-order`), the `/orders/ws` connection handshake, and the WebSocket order messages. **August 18, 2026** v15.36.0 `POST /logout` now revokes the session token sent in the `Authorization: Bearer` header, as it already did for the token in the browser session cookie. **August 5, 2026** v15.32.0 `GET /risk-snapshot` now returns `mark_price` and `signed_usd_notional` for each symbol; `signed_usd_notional` is the signed USD value of the position at the mark price. **August 5, 2026** v15.32.0 `GET /positions` and `GET /risk-snapshot` now return `signed_cost_basis`. It replaces `signed_notional`, which is deprecated but still returned with the same value. **July 28, 2026** v15.25.0 Fixed the fill events (`t="f"` and `t="p"`) on the order gateway WebSocket (`/orders/ws`): the fill's side field `xs.d` now always reports `B` or `S`. Some fills previously reported `Buy` or `Sell`. **July 25, 2026** v15.24.0 `POST /place-order`, `POST /replace-order`, and the WebSocket place-order message now accept an optional `rb` (reprice behavior) field for post-only (`po: true`) orders that would cross the book on entry: `rej` (the default) rejects the order, `bo` reprices it one tick less aggressive than the opposite-side order it would have matched, and `tbl` reprices it to the best price on the same side of the book. **July 8, 2026** v15.14.0 Removed the legacy interactive-authentication endpoints: `POST /signup`, `POST /login`, `POST /change-password`, `POST /reset-password`, `POST /mfa/setup`, `POST /mfa/confirm`, and `POST /mfa/disable` (and their SDK request/response types); Clerk now handles interactive login. `POST /authenticate` now accepts only `api_key` and `api_secret`. Creating an API key (`POST /api-keys`) and updating its IP allowlist (`PATCH /api-keys/allowed-ips`) no longer take `username`, `password`, or `totp`. API-key authentication is otherwise unchanged. **July 6, 2026** v15.11.0 New `GET /funding-slots` endpoint returns a full trading day's funding settlements for a perpetual symbol. It takes a required `symbol` and an optional `date` (defaults to the current date in the symbol's funding-schedule timezone). The response reports the funding `variant` (`daily_close`, a single settlement at the close, or `intraday_twap`, a fixed number of intraday slots each charging its share of the day's TWAP premium), the schedule `timezone`, the scheduled `interval_count`, and an optional per-slot `cap_bps`. Each slot carries its `index`, `funding_time`, a `status` of `realized` / `projected` / `skipped` / `pending`, the mark and underlying TWAPs, `premium_bps` and `funding_rate_bps` (positive means longs pay shorts), a `capped` flag, and a `reason` on skipped slots. Two running totals — `realized_sum_bps` (realized so far) and `projected_eod_bps` (realized plus the projection for remaining slots) — give the projected end-of-day funding. **July 6, 2026** v15.10.0 `GET /open-orders` now supports `limit`/`offset` pagination and a `sort_ts` timestamp sort direction (`asc` or `desc`, default `desc`). `limit` defaults to 100 and `offset` to 0; responses include `total_count` alongside the resolved `limit` and `offset`. **July 6, 2026** v15.10.0 `GET /funding-rates` now supports cursor-based pagination via `limit`, `cursor`, and `sort_ts` (`asc`/`desc`, default `desc`) query parameters, returning `next_cursor` and `total_count` for paging through large result sets. **July 4, 2026** v15.8.0 Added `GET /underlying-prices` and deprecated `GET /index-prices`. The new endpoint takes a required `symbol` plus an optional time range (`start_timestamp_ns` / `end_timestamp_ns`), cursor pagination (`cursor`, `limit` — default 1000), and `sort_ts` (`asc`/`desc`, default `desc`); it returns an `underlying_prices` array of `{ symbol, timestamp, price }` entries with `next_cursor`, `limit`, and `total_count` page metadata. `GET /index-prices` remains served as a deprecated alias that returns identical data under the legacy `index_prices` key — migrate by switching the path and reading `underlying_prices`. **June 28, 2026** v15.4.0 API keys can now be scoped to specific accounts with granular per-key permissions (list / read / set-limits / reduce-or-close / trade), enforced as the intersection of the key's permissions and your permissions on the requested account. **June 24, 2026** v15.2.0 `GET /orders` now supports `order_id` and `order_ids` filters. `order_id` takes a single ID; `order_ids` takes a comma-separated list (e.g. `order_ids=ORD-1,ORD-2`). The two are combined into one deduplicated set of up to 100 IDs (more returns 400) and are ANDed with the time range. Supplying an ID filter also relaxes the otherwise-mandatory bounded time range, so you can fetch specific orders without one. **June 24, 2026** v15.2.0 Order reject and cancel-reject responses now surface a human-readable reason in `reject_message` (e.g. "order price is above the exchange's maximum price limit", "post-only order would cross the book", "too late to cancel") instead of an opaque generic message. **June 19, 2026** v15.0.0 Removed the redundant `user_id` field from fills, positions, transactions, funding transactions, and admin trades; use `account_id` instead. Renamed the risk-snapshot response type to `AccountRiskSnapshot`. **June 16, 2026** v14.24.0 The GET /tickers endpoint now supports `limit`, `offset`, and `symbol` sort query parameters and returns `total_count` plus the resolved limit and offset. **June 10, 2026** v14.22.0 Estimated funding rates are now available on marketdata ticker updates. **June 9, 2026** v14.21.0 The market data WebSocket (`/md/ws`) `subscribe` message now supports streaming only what you need. A new `level: "TRADES"` subscribes to trade prints only (`t = "t"`), with no ticker or order book events. For book-level subscriptions (`LEVEL_1`/`LEVEL_2`/`LEVEL_3`), the optional `trades` and `ticker` fields (both default `true`) independently suppress trade (`t = "t"`) or ticker (`t = "s"`) delivery — set both to `false` for a book-only feed. **June 6, 2026** v14.18.0 Cancel-order and replace-order requests now accept an optional `account_id` (`aid`) selecting which account's client-order-id namespace the order reference resolves against; omit it to use your default account. **June 5, 2026** v14.17.0 The order-entry websocket (`/orders/ws`) now accepts an optional `account_id` query parameter to scope the stream to a single account; omitting it defaults to your own account. An `account_id` you are not authorized to read returns `403`, and a malformed value returns `400`. **June 3, 2026** v14.13.0 `GET /fills`, `GET /liquidations`, `GET /transactions`, and `GET /funding-transactions` now require an explicit time range no wider than 7 days (both `start_timestamp_ns` and `end_timestamp_ns`); requests that omit the range or exceed 7 days return 400. **June 3, 2026** v14.12.0 `GET /orders` (order history) now requires an explicit time range no wider than 7 days (both `start_timestamp_ns` and `end_timestamp_ns`); requests that omit the range or exceed 7 days return 400. **June 2, 2026** v14.11.0 New `GET /estimated-funding-rate` endpoint returns the live intraday estimated funding rate for a perpetual symbol. **June 2, 2026** v14.11.0 The live estimated funding rate is also available over the WebSocket API via a `GetEstimatedFundingRate` request (`t="ef"`) on `/orders/ws`. **June 2, 2026** v14.11.0 Order gateway WebSocket sessions accept an optional `client_heartbeat_timeout` (seconds, up to 300). Send a heartbeat (`{"t":"h"}`) more often than this; if none arrives in the window, the exchange closes the session and cancels your orders (when cancel-on-disconnect is on), so you recover from a network drop in seconds rather than waiting on the TCP timeout. Only heartbeats reset the deadline. **June 1, 2026** v14.10.0 Orders rejected for breaching the exchange price-limit bands now return a clear "order price is above/below the exchange's maximum/minimum price limit" message. **May 27, 2026** v14.8.0 The `account_id` field is now included on every `FillDetails` event and every `Balance` entry returned by the balances endpoints. **May 27, 2026** v14.8.0 Cancel-reject events on the order gateway websocket now include the full order details (symbol, side, quantity, etc.) under the `o` field, matching the shape of other order events. **May 25, 2026** v14.5.0 The order-gateway WebSocket login response now includes a `cod` field indicating whether cancel-on-disconnect is active for the session. **May 20, 2026** v14.4.0 Available balances are now returned as an aggregate USD value. **May 20, 2026** v14.4.0 Latencies between matching engine timestamps and time of sending to the client are significantly improved. **May 20, 2026** v14.4.0 Fixed an order-gateway race that could send an `OrderReplacedOrAmended` WebSocket event whose `replacement_order` reported `FILLED` with `filled_quantity = 0` when the new order matched immediately on cancel-replace. The replacement's filled/remaining quantities now match its order state. **May 20, 2026** v14.4.0 `GET /funding-transactions` now supports cursor-based pagination via `start_timestamp_ns`, `end_timestamp_ns`, `sort_ts`, `limit`, and `cursor` query parameters; responses include `next_cursor`, `limit`, and `total_count`. The endpoint also accepts an optional `symbol` filter. **May 12, 2026** v14.1.0 Added request type `t="s"` to `/orders/ws` to get order status by `oid` or `cid`; matches `GET /order-status` REST equivalent. **May 12, 2026** v14.1.0 Cancel requests sent before the exchange has acknowledged the original order now return error code `409 order not yet acknowledged by exchange; retry shortly` instead of `500 internal server error`. **May 7, 2026** v14.0.1 `GET /order-status` now accepts only query parameters `oid` and `cid`, matching `POST /cancel-order` and `POST /replace-order`. The previous parameter names `order_id` / `client_order_id` are no longer accepted and will result in HTTP `400` response code. **May 5, 2026** v13.53.0 You can now cancel, replace, and query order status using your client order ID. **May 5, 2026** v13.53.0 Order placement and replacement now return actionable HTTP status codes (400/404/429/503/504) with human-readable error messages when the exchange rejects an order, instead of an opaque 500. **May 5, 2026** v13.53.0 Order rejections from the exchange now surface the actual reject reason instead of a generic 500 error. **May 5, 2026** v13.53.0 Cancel/replace requests with an invalid order id now return 400 with a clear message instead of 500. **May 5, 2026** v13.53.0 Fixed rare case where rejected orders could remain in Pending state until the next gateway restart. **April 23, 2026** v13.48.0 Order requests now accept a self-trade prevention behavior flag: cancel-resting, cancel-incoming, or cancel-both; defaults to cancel-incoming, which matches the previous behavior. **April 23, 2026** v13.48.0 Order status responses now include reject\_reason and reject\_message if applicable. **April 21, 2026** v13.47.0 Throttled marketdata WebSocket ticker events `{ "t": "s", ... }` to at most 1/s. # Contact Us Source: https://docs.architect.exchange/guides/about-us/contact Email us at **[support@architect.exchange](mailto:support@architect.exchange)** We're also actively engaged in our slack community, come join us! [https://join.slack.com/t/architect-communityhq/shared\_invite/zt-3bwqde23k-\~rbaPl1xvtZGq2dHFKxDVA](https://join.slack.com/t/architect-communityhq/shared_invite/zt-3bwqde23k-~rbaPl1xvtZGq2dHFKxDVA) # What licences does AX have? Source: https://docs.architect.exchange/guides/about-us/licences Architect Bermuda Ltd has been **issued** the following **licences** in connection to the operation of AX: 1. **Class F Digital Asset Business Licence ("Class F Licence")**\ Under the *Digital Assets Business Act, 1981 (as amended)* ("DABA") from the **Bermuda Monetary Authority (BMA)**. 2. **Investment Business Act Licence ("IBA Licence")**\ Under the *Investment Business Act, 2003 (as amended)* to engage in investment activities from a Bermuda-based business location. # What is AX? Source: https://docs.architect.exchange/guides/about-us/what-is-architect **AX** is a global derivatives exchange specializing in the trading and clearing of perpetual futures on traditional financial assets. ## Order matching Orders trade on an order book using **price-time priority**: better prices match first, and for the same price, earlier orders match before later orders. To learn the basics of how trading works on AX, start with [Perpetual Futures Basics](/guides/perpetual-futures/basics). ## Perpetual futures A **perpetual future** is a futures-style contract that **does not expire**. Funding payments help keep the contract price aligned with the underlying benchmark, and contracts can trade **24/7**. For product-specific details like tick size, margin rates, trading hours, and price bands, see [Contract Specs](/guides/perpetual-futures/contract-specs). ## Margin and leverage To trade, you post **initial margin** to open positions and must stay above **maintenance margin** to keep them open. If equity falls too far, positions can be liquidated. Read [Margin & Leverage](/guides/margin-risk/margin-leverage) and [Risks](/guides/margin-risk/risks). ## Clearing and settlement AX marks positions to market in real time (so collateral updates as prices move), and applies [Funding Rate Payments](/guides/funding-settlement/funding-rate-payments) on the published schedule. See [Settlement](/guides/funding-settlement/settlement) for the core idea, and [Profit & Loss (P\&L)](/guides/perpetual-futures/profit-loss) for how trading P\&L and funding combine. ## Deposits, withdrawals, fees and custody Deposits can be USD wire or stablecoins like USDC, but contracts and balances are USD-denominated. AX charges maker and taker fees, and funds are held with custodians. See [Deposits & Collateral](/guides/accounts-fees/collateral), [Fee Structure](/guides/accounts-fees/fee-structure), and [Fund Custody](/guides/accounts-fees/fund-custody). ## Getting started Institutional onboarding is open today; see [Institutional Accounts](/guides/getting-started/institutional-accounts). Individual accounts are not yet supported; see [Individual Accounts](/guides/getting-started/individual-accounts). For KYC/AML expectations, see [Account Requirements](/guides/getting-started/account-requirements). ## Regulatory oversight AX is operated by Architect Bermuda Ltd, and operates under the oversight of the Bermuda Monetary Authority. See [Who operates AX?](/guides/about-us/who-operates) and [What licences does AX have?](/guides/about-us/licences). For more help, see [Contact Us](/guides/about-us/contact). # Who operates AX? Source: https://docs.architect.exchange/guides/about-us/who-operates AX is operated by **Architect Bermuda Ltd**, a Bermuda exempted company. Architect Bermuda Ltd is a **wholly-owned subsidiary** of **Architect Financial Technologies Inc.**, a Delaware corporation. # Account Details & Margin Source: https://docs.architect.exchange/guides/accounts-fees/account-details-margin The account details are available via API and are on the Trade and Portfolio pages. ## Total Account Equity The total value of the account, including settled Cash Balance and Unrealized PnL. ## Cash Balance The amount of settled cash in the account, reflecting all activity such as deposits and withdrawals, funding payments debited or credited, fees, and realized PnL. ## Unrealized PnL The current unrealized profit or loss on open positions. This is computed using the Mark Price and the Open Quantity & Open Notional on all current positions. ## Withdrawable Cash The amount of cash that can be withdrawn from the account. This is computed as the Total Account Equity minus the Total Initial Margin Requirement, which is being reserved for open orders and open positions. ## Total Initial Margin Requirement The total amount of equity currently being reserved for open orders and open positions. This is computed using each product's Initial Margin Percentage, and assessed on both current positions and open orders (with netting as appropriate). ## Available Initial Margin The amount of equity that is available to be used for new orders. This is computed as the Total Account Equity minus the Total Initial Margin Requirement. If this is less than 0, then the account will only be able to place orders that would close current positions. ## Maintenance Margin Requirement The minimum amount of equity that must be maintained in the account to keep current positions open. This is computed using each product's Maintenance Margin Percentage, and assessed on all current positions. ## Available Maintenance Margin The amount of equity buffer that remains in the account. This is computed as the Total Account Equity minus the Maintenance Margin Requirement. If this is less than 0, then the account's positions will be subject to liquidation. ## Liquidation Price The price at which the account's positions will be subject to liquidation. This is computed by estimating the PnL loss that would cause the Total Account Equity to fall below the Maintenance Margin Requirement. This estimation assumes all other prices remain constant. # Deposits & Collateral Source: https://docs.architect.exchange/guides/accounts-fees/collateral All contracts are **USD-denominated** and all balances will be credited as USD, regardless of deposit form. Deposits are accepted via **USD** (wire transfer) or via most major **stablecoins** (e.g. **USDC** on Ethereum). Automated deposit instructions and a full list of supported deposit methods are coming soon, for now please Contact Us. # Fee Structure Source: https://docs.architect.exchange/guides/accounts-fees/fee-structure ## Fee Structure A **Maker-Taker model** applies: * **Taker Fee** – for removing liquidity * **Maker Fee** – for providing liquidity ## Volume-Based Incentives A **tiered fee system** rewards **high-volume traders**. For specific details, see Section 5. TRANSACTION FEE STRUCTURE in the published Pricing Policy ([https://architect.co/legal/ax/ax-pricing-policy](https://architect.co/legal/ax/ax-pricing-policy)). # Fund Custody Source: https://docs.architect.exchange/guides/accounts-fees/fund-custody USD funds are held with **partner banks** to ensure secure collateral management. Stablecoin custody and USD/stablecoin conversions are supported via our partners at Anchorage. # Commodity Benchmarks Source: https://docs.architect.exchange/guides/funding-settlement/commodity-benchmarks The **WTIOIL** contract on AX tracks the Pyth 24/7 oil index (PYTHOIL), a continuously updating composite crude oil price. Its daily benchmark is the average index price from 2:25 PM to 2:30 PM New York time on U.S. business days. The **XCU** contract on AX tracks the Pyth 24/7 copper index (CU), quoted in U.S. dollars per pound. Its daily benchmark is the average index price from 12:55 PM to 1:00 PM New York time on U.S. business days. The **XAL** contract on AX tracks the Pyth aluminium 3-month feed (AL3M), converted from U.S. dollars per tonne to per kilogram. Its daily benchmark is the average feed price from 12:57 PM to 1:03 PM London time on U.K. business days. # Dated Futures Source: https://docs.architect.exchange/guides/funding-settlement/dated-futures Dated futures are futures contracts with a fixed expiration date. Unlike perpetual futures, they do **not** have funding payments or a daily settlement process. ## Symbology As an example, the symbol XAU-2026-SEP is the dated future for gold (XAU) expiring in 2026 in September (SEP). The specific expiration date/time is in the product specification, in this example it is 2026-09-30T15:00:00Z. Note that there is no "-PERP" suffix, distinguishing this dated future from XAU-PERP, which is the gold perpetual future. ## Key Characteristics * **Fixed expiration date** — Every contract has a predefined settlement date. * **No funding payments** — Traders never pay or receive periodic funding. * **Cash settled** — Contracts settle to the underlying index price at expiration. ## Final Settlement On the expiration date, the contract settles automatically using the official index price on the expiration date. At settlement: 1. Your final profit or loss (PnL) is calculated using the settlement price. 2. The realized PnL is credited or debited from your account. 3. All open positions in the expiring contract are closed automatically. 4. The contract expires and can no longer be traded. There is no manual action required from traders. # Funding Rate Payments Source: https://docs.architect.exchange/guides/funding-settlement/funding-rate-payments ## What is the Funding Rate Payment? A mechanism to keep the **Perpetual Futures price** in line with the **spot market** through periodic credits/debits between long and short positions. ## Mark Price Derived from **publicly available orderbook data**, such as a **VWAP** over a specific period (e.g., 3:45–4:00 PM London Time). The AX calculation methodology is available in **Section 3.2. Mark Price Calculation** in the Pricing Policy ([https://architect.co/legal/ax/ax-pricing-policy](https://architect.co/legal/ax/ax-pricing-policy)). ## Underlying Price Sourced from **independent public data sources** (e.g., LSEG, S\&P, ICE, NASDAQ) using a transparent calculation method. For the indices and benchmark windows used by the commodity contracts, see [Commodity Benchmarks](/guides/funding-settlement/commodity-benchmarks). ## Frequency Funding occurs **daily** (or as scheduled), excluding holidays and exchange closures. Funding for US equities based perpetual futures occur every 30 minutes during the US trading day (10AM-4PM NY time, inclusive), for a total of 13 funding payments. ## Skips A funding payment needs both a valid **Mark Price** and a valid **Underlying Price**. If either is unavailable for a funding time, **no funding payment occurs** for that funding time: * **No valid Mark Price:** a snapshot is valid only if it has both a bid and an offer, or a trade. Snapshots without either are left out of the Mark Price. If no snapshot in the window is valid (for example, the book is empty or one-sided and nothing trades), there is no Mark Price. * **No valid Underlying Price:** the benchmark price is not published, or does not have enough data for the window. If the exchange cannot record market data for a funding window because of a system issue, the funding payment is not settled at the Underlying Price. It is held until the exchange reviews it. ## Processing Time At each product's **published settlement time**, funding payments are applied to all open positions. Each product's settlement time is published on the Trade page's Product Specs tab, as well as on the published Product Specifications List ([https://architect.co/products](https://architect.co/products)) Note that AX processes the funding payments on a few minute delay from the published actual funding time. For example for the FX perpetual funding at 4pm London time, the settlement price is struck at 4pm and the position size is taken at 4pm, AX receives the benchmark price from the external index provider up to 5 minutes later and at that time processes the funding payments. ## Settlement Schedule (effective July 6 2026) | Product Type | New AX Settlement VWAP Time | VWAP Length | Positions Snapshot Time | Typical Processing Time | | - | - | - | - | - | | FX | 3:57PM–4:03PM London Time | Six 1-minute snapshots | 4:00PM London Time | 4:04PM London Time | | Precious Metals | 3:57PM–4:03PM London Time | Six 1-minute snapshots | 4:00PM London Time | 4:04PM London Time | | Copper | 12:55PM–1:00PM New York Time | Five 1-minute snapshots | 1:00PM New York Time | 1:01PM New York Time | | Aluminum | 12:57PM–1:03PM London Time | Six 1-minute snapshots | 1:00PM London Time | 1:05PM London Time | | Compute | 3:55PM–4:00PM New York Time | Five 1-minute snapshots | 4:00PM New York Time | 4:05PM New York Time | | Treasuries | 3:55PM–4:00PM New York Time | Five 1-minute snapshots | 4:00PM New York Time | 5:30PM New York Time | | WTI OIL | 2:25PM–2:30PM New York Time | Five 1-minute snapshots | 2:30PM New York Time | 2:31PM New York Time | For US Equities, every 30 minutes from 10am to 4pm NY time (inclusive), we will compare the AX 30 minute trailing TWAP mark against the underlying 30 minute trailing TWAP as oracle. This means NVDA would have 13 fundings per day instead of just one. Fundings will be scaled accordingly (1/13 scaling factor) and capped at +/- 2bps per interval. ## Tracking Mechanism * If **Mark > Underlying**, longs pay shorts. * If **Mark \< Underlying**, shorts pay longs. * The amount is proportional to the price difference, incentivizing price convergence. ## Example **EUR/USD Perpetual Future:** * Benchmark: 1.2000 USD/EUR (WMR rate) * Mark Price: 1.2015 USD/EUR * Difference: 0.0015 USD A trader long **100,000 contracts** owes **150 USD** (100,000 × 0.0015) to shorts.\ This daily mechanism aligns the contract price with the underlying. # Settlement Source: https://docs.architect.exchange/guides/funding-settlement/settlement ## Mark-to-Market Settlement Profits and losses are **marked to market in real time**, automatically updating account collateral to minimize settlement risk. # Special Settlements Source: https://docs.architect.exchange/guides/funding-settlement/special-settlements How Architect passes dividends and other corporate actions on the underlying through to perpetual future holders. ## What is a Special Settlement? A **special settlement** is a one-time, scheduled cash adjustment applied to holders of a contract — separate from the regular [funding rate payment](/guides/funding-settlement/funding-rate-payments). It is used to pass through **corporate actions** on the underlying, such as **dividends or distributions**, to the traders holding the perpetual future. Unlike funding rate payments, which are derived from the difference between the mark price and the underlying, a special settlement is a **fixed, pre-announced amount** per contract. ## Who is credited and who is debited Each special settlement carries a single non-negative amount, the **long-holder extra funding amount**, quoted per contract: * **Long holders are credited** this amount per contract held. * **Short holders are debited** the same amount per contract held. The transfer is **zero-sum**: the total credited to longs equals the total debited from shorts. ## When it applies Every special settlement has a **settlement time**. For US equity and ETF dividends, that time is **4:00 PM ET on the last business day the underlying trades with the dividend rights attached** — that is, one business day before the underlying's ex-dividend date. Positions are measured by a **single snapshot taken at exactly that instant**. There is **no rolling window, no time-weighting, and no averaging** over the day: * If you hold the position at 4:00 PM ET on the snapshot date, you are part of that settlement, regardless of when you opened it — including if you opened it minutes earlier. * If you close before the snapshot, you are not part of it, even if you held the position for weeks beforehand. Special settlements do **not** change your position size. Only your cash (USD) balance is adjusted. > [!NOTE] > > **Worked timing example — META** > > META common stock goes ex-dividend on **Monday, 9/21**. It therefore trades **with** the > dividend rights through **Friday, 9/18**, and **without** them from 9/21 onward. > > Architect snapshots positions in `META-PERP` at **4:00 PM ET on Friday, 9/18** and applies the > dividend funding at that time: long holders credited, short holders debited. ## How this lines up with the underlying The perpetual future references the **underlying instrument's own price**, so no separate adjustment to an index is required — the underlying reprices itself. On the ex-dividend date the underlying opens without the dividend rights and, all else equal, trades lower by approximately the dividend amount. The special settlement is timed to the final close **before** that repricing, so a long holder receives the cash credit at the last moment the underlying still carries the dividend, and then absorbs the ex-dividend price move. The two offset one another; a short holder sees the mirror image. Holding a perp through a dividend is therefore economically similar to holding the underlying through it, rather than a windfall or a penalty for either side. ## Which corporate actions are covered The mechanism is general-purpose and is intended for corporate actions on the underlying. Other non-dividend corporate actions would follow a similar process — a pre-announced per-contract amount, applied at a scheduled snapshot time — and would be published in advance through the same channels described below. ## ETF and index-linked contracts Contracts on ETFs are handled **exactly the same way as single-name equities**, because the reference instrument is the ETF itself. `SPY-PERP` is based on **SPY, the ETF** — the SPX index is not involved in the contract at any point. SPY's own distributions are therefore passed through as special settlements on the same schedule: a snapshot at 4:00 PM ET on the business day before SPY's ex-dividend date. ### Estimated amounts and true-ups Some ETF distributions, SPY included, are not finalized until after 4:00 PM ET on the business day preceding the ex-dividend date. When the final amount is not yet known at snapshot time: **1. Estimate applied at the normal settlement time** At 4:00 PM ET on the scheduled date, Architect applies an **estimated** per-contract amount — crediting longs and debiting shorts as usual. The snapshot time is not delayed. **2. True-up applied once the final amount is published** When the issuer publishes the final distribution, Architect applies a second, separate **true-up** adjustment for the **difference** between the final and estimated amounts. If the final amount is larger, longs are credited and shorts debited the difference; if it is smaller, the direction reverses. The true-up is applied to the positions captured in the **original snapshot**, so trading after the snapshot does not change who receives or pays it. Both the estimate and the true-up appear as separate entries in your funding transaction history. ## How it is delivered A special settlement is applied through the **same funding ledger** as regular funding payments. Once executed, it appears in your [funding transactions](/api-reference/portfolio-management/get-funding-transactions) history alongside ordinary funding payments. ## Viewing upcoming special settlements Scheduled special settlements are published ahead of time. When any are scheduled within the next **7 days**, a dismissible **banner** appears at the top of the trading app listing each one — its symbol, the per-contract amount, and the date. The banner refreshes periodically; if the scheduled settlements change, it reappears so you do not miss an update. You can also query them directly. Use the [Get upcoming special settlements](/api-reference/marketdata/get-upcoming-special-settlements) endpoint to see what is coming and when. The endpoint accepts an optional `days` parameter to control how far ahead to look (defaults to 7 days, up to a maximum of 365). For each upcoming settlement it returns the symbol, the settlement time, and the per-contract long-holder amount. ## Example A perpetual future on an equity pays a **2.00 USD** per-contract dividend, scheduled as a special settlement. * Alice is **long 100 contracts** at the settlement time → credited **200 USD** (100 × 2.00). * Bob is **short 100 contracts** at the settlement time → debited **200 USD** (100 × 2.00). Neither position changes size; only their USD balances are adjusted, and the two amounts net to zero. If the 2.00 USD was an estimate and the final dividend is announced at 2.10 USD, a true-up of 0.10 USD per contract follows: Alice is credited a further 10 USD and Bob debited a further 10 USD, against the same snapshot positions. # Account Requirements Source: https://docs.architect.exchange/guides/getting-started/account-requirements Please refer to the onboarding process for details. The **KYC process** complies with applicable **AML/ATF regulations**. # Environments & Endpoints Source: https://docs.architect.exchange/guides/getting-started/environments Base URLs, health check, authentication, and server location for the AX API. ## Environments AX provides two environments. Use **sandbox** for development and testing. Use **production** when you are ready to trade with real funds. | | Production | Sandbox | | - | - | - | | Web app | `https://app.architect.exchange` | `https://sandbox.architect.exchange` | | REST: accounts, market data, portfolio | `https://gateway.architect.exchange/api` | `https://gateway.sandbox.architect.exchange/api` | | REST: orders | `https://gateway.architect.exchange/orders` | `https://gateway.sandbox.architect.exchange/orders` | | WebSocket: market data | `wss://gateway.architect.exchange/md/ws` | `wss://gateway.sandbox.architect.exchange/md/ws` | | WebSocket: orders | `wss://gateway.architect.exchange/orders/ws` | `wss://gateway.sandbox.architect.exchange/orders/ws` | Each environment has its own accounts and API keys. A key created in one environment does not work in the other. ## Health Check Both environments expose a public health endpoint that requires no authentication: ``` GET /health ``` Example: `https://gateway.architect.exchange/api/health` Use this to verify connectivity or check whether the service is up. ## Authentication Every endpoint except `/health` requires a session token. You get a token by exchanging an API key and its secret. 1. Create an API key in the web app of the environment you want to use: [sandbox](https://sandbox.architect.exchange) or [production](https://app.architect.exchange/account/api). The app shows the key and its secret. 2. Exchange the key and secret for a token with [`POST /authenticate`](/api-reference/user-management/authenticate). `expiration_seconds` sets how long the token is valid. ```bash theme={null} curl -s -X POST https://gateway.sandbox.architect.exchange/api/authenticate \ -H "Content-Type: application/json" \ -d '{"api_key":"YOUR_KEY","api_secret":"YOUR_SECRET","expiration_seconds":3600}' # Response: {"token":""} ``` 3. Send the token in the `Authorization` header of every REST request and of every WebSocket upgrade request: ``` Authorization: Bearer ``` Do not send the API key itself as the Bearer value. Request a new token before the current one expires. ## Server Location The production environment runs on AWS **`eu-west-2`** (London). # Individual Accounts Source: https://docs.architect.exchange/guides/getting-started/individual-accounts We are not yet onboarding individual accounts, but plan to in the intermediate future. # Institutional Accounts Source: https://docs.architect.exchange/guides/getting-started/institutional-accounts Yes, we are presently onboarding institutional accounts. Please email [sales@architect.co](mailto:sales@architect.co) to get started. # Technical FAQs Source: https://docs.architect.exchange/guides/getting-started/technical-faqs ## Getting Started ### How do I get API keys? 1. Sign up in the web app of the environment you want to use: [sandbox](https://sandbox.architect.exchange/signup) or [production](https://app.architect.exchange/signup). 2. Create a key in the app's API settings. The app shows the key and its secret. You do not send the key with each request. You exchange the key and secret for a session token, then send the token as `Authorization: Bearer `. See [Authentication](/guides/getting-started/environments#authentication). ### Is there a test environment? Yes. Use the **sandbox** environment for development and testing, and **production** when you are ready to trade with real funds. Base URLs are listed in [Environments & Endpoints](/guides/getting-started/environments). ### How do I check whether the API is up? Both environments expose a public `GET /health` endpoint that requires no authentication, e.g. `https://gateway.architect.exchange/api/health`. *** ## Rate Limits * **100 requests/second per account** * Applies to all authenticated endpoints (trading, market data, account) *** ## Infrastructure * Hosted on **AWS Europe (London)** * Availability Zone: **eu-west-2c (euw2-az1)** *** ## Connectivity * Additional connectivity options (e.g., VPC) is on the roadmap but not currently available *** ## API Docs Full reference: [https://docs.architect.exchange/api-reference/](https://docs.architect.exchange/api-reference/) # Margin & Leverage Source: https://docs.architect.exchange/guides/margin-risk/margin-leverage ## Margin Requirements Each product has published **initial** and **maintenance** margin levels: * **Initial Margin** – required to open a position * **Maintenance Margin** – required to keep it open ## Leverage Leverage depends on margin levels and **varies by product**. ## Accepted Collateral Initially **USD**, with support for **stablecoins** (e.g., USDC).\ All contracts remain **USD-denominated**. ## Liquidation Triggered when account collateral falls **below maintenance margin**, resulting in position closure. Liquidations are triggered by automated monitoring for margin breaches combined with human manual review, providing an important safeguard to ensure a consistent and reliable liquidation processes. ## Margin Calls Issued when collateral approaches maintenance margin.\ Brokers may have additional margin call processes. ## Avoiding Liquidation Maintain collateral above maintenance margin by: * Depositing more funds * Reducing open positions ## Margin Calculation Example I have a new account and have deposited \$500. Let's say EXAMPLE-PERP is trading at a price of \$5.25, with an Initial Margin Requirement of 8% (12.5x leverage) and a Maintenance Margin Requirement of 4% (25x leverage). I want to buy 1,000 contracts of EXAMPLE-PERP. In order to send an order of quantity 1,000, the Initial Margin Requirement for my order would be 1,000 contracts \* \$5.25 \* 8% = \$420. Thus, my account would have to have at least \$420 of account equity in excess of the current initial margin utilization in order to be able to send this order. Since my current account equity is \$500 and my current initial margin utilized is \$0 (I have no other orders or positions), I have \$500 of initial margin available and can successfully send this order. Once my order is filled, and now I have a position of long 1,000 contracts of EXAMPLE-PERP. My account equity will be \$500, my initial margin requirement is \$420 (1,000 contracts \* \$5.25 price \* 8% contract's initial margin requirement), and my maintenance margin requirement is \$210 (1,000 \* \$5.25 \* 4%). I have \$80 of remaining initial margin available to send additional orders if I so desire. I must maintain an account equity of at least \$210 in order to avoid liquidation. Let's say now the price of EXAMPLE-PERP drops to \$4.90. I will have an unrealized loss of \$350: 1,000 contracts \* (\$4.90 - \$5.25) = -\$350. My account equity thus will be \$150. My initial margin requirement is \$392 (1,000 contracts \* \$4.90 \* 8%) and my maintenance margin requirement is \$196 (1,000 contracts \* \$4.90 \* 4%). Because my available initial margin is less than \$0 (\$150 - \$392 \< \$0), I will be unable to increase my position size and thus cannot send new buy orders. Because my account equity is below the maintenance margin required (\$150 \< \$196), my EXAMPLE-PERP position will be subject to liquidation. # Risks Source: https://docs.architect.exchange/guides/margin-risk/risks ## Is trading risky? Yes. Perpetual Futures involve leverage and volatility risks similar to traditional futures but also include funding-rate-specific risks. ## Can I lose more than I invest? Yes. Losses can **exceed initial margin** due to leverage. ## How does leverage affect risk? Leverage amplifies both **profits and losses**, increasing overall risk. ## Funding Rate Risks Because funding rates fluctuate, users are exposed to additional **cost and volatility risks**. ## Risk Management Tools The exchange provides: * **Real-time margin metrics** * **Alerts** for margin calls and liquidations * **Price bands** to limit ephemeral price spikes # Perpetual Futures Basics Source: https://docs.architect.exchange/guides/perpetual-futures/basics ## What is a Perpetual Future? A **Perpetual Futures contract** is similar to a traditional futures contract that never expires. It uses periodic settlements (e.g., daily) to exchange cash differences between the **mark price** and the **underlying benchmark price**. ## Expiration Perpetual Futures **do not expire**, allowing indefinite holding as long as margin requirements are met. ## Tracking Mechanism They use a **funding rate mechanism** to keep the contract price aligned with the underlying index. ## Are they crypto products? No. Although popular in crypto markets, **Architect's Perpetual Futures** track traditional assets and **do not have crypto underlyings**. ## Trading Mechanics Perpetual Futures trade on an **order book** based on **price-time priority**. Orders at better prices are matched first; for equal prices, earlier orders are matched before later orders. ## Advantages * No expiry or rollover costs * Cash-settled (no physical delivery) * Regular funding keeps price aligned * 24/7 trading * Efficient leverage and margin * Ability to short positions # Perpetual Futures Specifications Source: https://docs.architect.exchange/guides/perpetual-futures/contract-specs The specifications containing the details for each perpetual future will be published both on the Trade page's Product Specs tab as well on the published [Product Specifications List](https://architect.co/products). ## Specification Fields ### Symbol The perpetual future's trading symbol. ### Description A description of the perpetual future's asset. ### State The current exchange status of the trading symbol. These include: * **SUSPENDED**: No new orders, no trades can occur * **PRE-OPEN**: New orders accepted, no trades can occur * **OPEN**: New orders accepted, trades can occur When the exchange transitions from PRE-OPEN to OPEN, a Dutch Auction will determine a single opening price. ### Multiplier & Contract Size A common feature of futures is a multiplier to determine the notional value of the futures contract. As of right now, most multipliers on AX are 1, and can be seen on the product specification page. ### Price Scale & Tick Size Tick Size is the minimum price increment that each symbol can fluctuate. All orders and trades must happen at the precision of the tick size. The Price Scale is 1 / Tick Size. ### Quote Currency All AX perpetual futures are quoted in USD. ### Funding Settlement Currency All AX funding payments will be credited/debited in USD. ### Funding Rate Cap The largest amount the funding payment can be for a single funding rate cycle. This is implemented as a safety measure, and applies a cap to both positive and negative funding rates. ### Funding Rate Scaling For perpetual futures with multiple funding events per day, each funding payment will be scaled accordingly such that the total magnitude is 1. For example, in US equity based perpetual futures, there are 13 funding payments per day (every 30 minutes during the US business day from 10AM-4PM NY time inclusive) and thus each funding payment will be scaled by 1/13. ### Contract Expiry All AX perpetual futures have no expiration date. ### Trading Hours The trading schedule for each product is published at the bottom of the Product Specs tab on each product's trade page. This is available in both UTC and Local time. ### Maintenance Margin Percent The percentage of the perpetual future's value that is required in equity to keep a futures position open. This is charged on all open positions. The maximum leverage on open positions is 1 / Maintenance Margin Percent. ### Initial Margin Percent The percentage of the perpetual future's value that is required in equity to open a new futures position. This is charged on current positions as well as open orders, based on an assessment by AX's risk engine. The maximum leverage on open orders is 1 / Initial Margin Percent. ### Price Bands For user safety, orders are only accepted at prices within the published Price Bands. Price Bands are set at a specified percentage above and below a reference price, and apply to both buy and sell orders alike. The reference price is the previous settlement price by default. When the market moves away from that price during the trading day, the Exchange may recenter the Price Bands on a trading reference price so that fairly priced orders continue to be accepted. The Price Bands in effect are published on each product's trade page and update whenever the reference price changes. ### Underlying Benchmark Price The external price source used to compute funding payments. For the commodity contracts, see [Commodity Benchmarks](/guides/funding-settlement/commodity-benchmarks). ### Funding Settlement Time The time & schedule at which the funding payments will occur. ### Funding Calendar Schedule The holiday schedule for this product's funding payments. # Profit & Loss (P&L) Source: https://docs.architect.exchange/guides/perpetual-futures/profit-loss P\&L = **Trading P\&L (entry/exit)** + **Funding rate payments** (paid or received while the position is held). # Typical Users Source: https://docs.architect.exchange/guides/perpetual-futures/typical-users * **Speculators** – express price opinions * **Hedgers** – manage exposure and risk * **Market-Makers/Arbitrageurs** – exploit short-term inefficiencies # Introduction Source: https://docs.architect.exchange/index Welcome to AX, the world's first centralized and regulated exchange for perpetual futures on traditional underlying asset classes. FX, stocks, interest rates, metals, stock indexes, and more. **AX** is a global derivatives exchange for perpetual futures on traditional (non-digital) assets. Trading happens on an order book with **price-time priority** (best price first, then FIFO within price), and positions are **leveraged**, so margin and liquidation rules apply. Perpetual contracts **don’t expire** and can trade **24/7**; funding helps keep prices aligned with the underlying benchmark. Start here: [What is AX?](/guides/about-us/what-is-architect).