United States and Canada
STX operates two separate exchanges. They share an API shape, but they are different products, in different jurisdictions, under different regulators. Accounts, balances, markets and API keys do not carry across.
Decide which one you are building for before you write any code, it determines your base URL, what your users can legally do, and whether you can go live at all today.
| Canada (Ontario) | United States | |
|---|---|---|
| Status | Live | Designated contract market. Integrate on demo.stxapp.io |
| Regulator | Alcohol and Gaming Commission of Ontario | U.S. Commodity Futures Trading Commission |
| Minimum age | 19 | 18, and the age of majority where you live |
| Demo host | demo.stxapp.ca |
demo.stxapp.io |
| Production host | api.on.stxapp.ca |
Not announced |
Canada
Section titled “Canada”STX is licensed in the province of Ontario by the Alcohol and Gaming Commission of Ontario to provide Internet sports betting services. Persons under 19 are not permitted to engage in online sports wagering in Ontario.
This exchange is live and taking real money in production. If you are building something users will trade on today, this is the one.
United States
Section titled “United States”STX in the United States is operated by XV Exchange, LLC, a designated contract market regulated by the U.S. Commodity Futures Trading Commission (CFTC). Contracts traded on it are cleared by XV Clearing, LLC, a CFTC-registered derivatives clearing organization.
What this means for you as an integrator:
demo.stxapp.iois a fully working demo environment. The API is real, the order books are real, and everything in these docs works against it.- Start integrating now. The demo runs the same API as production, so an
integration built on
demo.stxapp.iomoves over by changing the host and the key. - Nothing in these docs is an offer, solicitation, or recommendation to trade.
Which host should I use?
Section titled “Which host should I use?”If you are exploring the API, reading the docs, or building a client library:
demo.stxapp.io. Every example in these docs uses it.
If you are integrating with the live Canadian exchange: start on
demo.stxapp.ca, then move to api.on.stxapp.ca once your integration is
exercised end to end. Production needs its own API key, created at stxapp.ca;
demo keys do not work there.
Full list with current status: Environments.
Location checks
Section titled “Location checks”We verify the location of order requests in the United States and Canada from your connection. There is nothing to send: no location field, header or SDK option.
A request from outside the region is refused with a 422. To have a server’s IP
address approved for your account, contact support.
What is the same
Section titled “What is the same”The API surface itself. Request signing, the REST endpoints, the WebSocket channels, the order model and the response shapes are identical across both. A client written against one works against the other by changing the base URL and using a key issued by that exchange.

