Environments
AX provides two environments. Use sandbox for development and testing. Use production when you are ready to trade with real funds.
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: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.
- Create an API key in the web app of the environment you want to use: sandbox or production. The app shows the key and its secret.
- Exchange the key and secret for a token with
POST /authenticate.expiration_secondssets how long the token is valid.
- Send the token in the
Authorizationheader of every REST request and of every WebSocket upgrade request:
Server Location
The production environment runs on AWSeu-west-2 (London).