Documentation Index
Fetch the complete documentation index at: https://docs.sportsxapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Welcome to the SportsX API (sync test 2026-04-27)
SportsX is a prediction exchange with official SDKs for Python and C#. Whether you’re building a trading bot, a market-data dashboard, or a full application on top of the exchange, these docs cover everything you need — from your first authenticated call to production-grade order management and real-time WebSocket feeds.Python quickstart
Install
stx-python, authenticate, and make your first market query in under five minutes.C# quickstart
Add
STX.Sdk via NuGet, register services, and place your first call in a .NET app.Python SDK overview
Synchronous, async, and WebSocket clients — one package, one set of credentials.
C# SDK overview
DI-integrated .NET 8 SDK with typed services for every exchange operation.
Core topics
Market data
Query markets, orderbooks, and event metadata with field-level control.
Trading
Place, cancel, and inspect orders. Fetch positions and fill history.
WebSockets
Subscribe to live market, order, and portfolio updates over Phoenix channels.
Authentication
Email/password login, 2FA, environment variables, and profile files.
Errors & retries
Typed exception hierarchy and built-in retry policy with exponential backoff.
API reference
All 51 GraphQL operations — queries, mutations, parameters, and return types.
How to get started
Set your credentials
The SDK reads credentials from environment variables, a profile file, or constructor arguments.
Always develop against
env="staging" before pointing at env="production". Production trades with real balances.