| Method | Path | Description |
|---|
GET | /health | Process is alive |
GET | /ready | Node accepting traffic, includes route metrics |
Single POST endpoint multiplexed by body.type. See “Info Queries” below for the full list.
| Method | Path | Description |
|---|
POST | /info | Public read — meta, market, user, treasury, … |
All endpoints require sessionId obtained from /session/start + /session/complete.
| Method | Path | Description |
|---|
POST | /session/start | Issue a session challenge for a wallet |
POST | /session/complete | Exchange signed challenge for sessionId |
POST | /session/order | Submit a single order |
POST | /session/batchOrder | Submit many orders in one request (orders[] array; returns one status per order, partial success allowed) |
POST | /session/modify | Modify a resting order |
POST | /session/cancel | Cancel a resting order |
POST | /session/leverage | Update per-asset leverage and margin mode |
POST | /session/trigger | Place a TP/SL trigger order |
POST | /session/cancel_trigger | Cancel a pending trigger order |
POST | /session/revoke | Explicitly revoke a session |
Manage API keys (delegate signing credentials). /account/link accepts an optional permissions object scoping the API key to a subset of actions (omitted → full access). All require a MAIN wallet signature.
| Method | Path | Description |
|---|
POST | /account/link | Register an API key — accepts label + permissions |
POST | /account/unlink | Revoke an API key |
| Method | Path | Description |
|---|
WS | /ws | Real-time prices, order book, account events |