The REST and WebSocket APIs are the contract, and every SDK is a convenience on top of them. Nothing here does anything you could not do with an HTTP client and a WebSocket, so an SDK is worth taking when it saves you work and worth skipping when it does not.
Available now
Section titled “Available now”Install
Section titled “Install”npm install @stxapp/stx-typescript # TypeScriptpip install stx-python # Pythondotnet add package STX.Sdk # C#go get github.com/stxapp/stx-go # GoWhat each SDK does
Section titled “What each SDK does”| TypeScript | Python | Go | |
|---|---|---|---|
| Current release | 0.12.1 | 0.10.1 | v0.3.1 |
| Trade your own account (API key, signed requests) | Yes | Yes | Yes |
| Streams (WebSocket channels) | Yes, with a live account view | Yes, sync and async, with a live account view | Yes, with a live account view |
| Combos (as player or maker) | Yes | Yes | Yes |
| Apps acting for members (OAuth) | Yes, With the TypeScript SDK | Yes, With the Python SDK | Yes, Apps |
| Sign in with STX | Yes | Yes | Yes |
| Market data as your app (client credentials) | Yes | Yes | Yes |
| Create markets | Yes | Yes | Yes |
| Leaderboard and public profile | Yes | Yes | Yes |
What this exchange offers (capabilities()) |
Yes | Yes | Yes, Capabilities |
Each SDK talks to any STX exchange. A feature the exchange you point it at does not have answers with a typed error rather than a failed request you have to decode: STXNotAvailableException in TypeScript, STXNotAvailableError in Python and an error matching stx.ErrNotAvailable in Go, naming the feature and the exchange. capabilities() tells you before you call. Which exchange has which feature is on each SDK’s What you can do page (TypeScript, Python, Go), on each feature’s page and on Environments.
The C# SDK is listed above; its pages describe what it covers.

