Environments
Each exchange has its own hosts. The base URL is where your API requests and WebSocket connections go.
United States
| Environment | Base URL | Status |
|---|---|---|
| Demo Shared demo environment. REST and WebSockets both live. No real money. | demo.stxapp.io | Available |
Canada (Ontario)
| Environment | Base URL | Status |
|---|---|---|
| Demo Shared demo environment for the Ontario exchange. No real money. | demo.stxapp.ca | Available |
| Production Live money. Create a separate API key at stxapp.ca: demo keys do not work in production. | api.on.stxapp.ca | Available |
Which one should I use?
Section titled “Which one should I use?”Pick the exchange you are integrating with. Accounts and keys do not carry across, so this decision comes before everything else. See United States and Canada if you are not sure which.
United States: use demo.stxapp.io, and register there for an account and
key. Shared by every developer integrating with STX, so the order books carry
real activity. No real money. US production is launching soon: start integrating on
demo now.
Ontario: use demo.stxapp.ca, and register there for an account and key.
When you are ready for production, register at stxapp.ca, create a new key
there, and send your requests to api.on.stxapp.ca.

