Building on SX Bet
Developer reference for building on SX Bet — the open API, the WebSocket feed, the MCP server, and reference projects that turn live exchange data into bots, dashboards, and arbitrage tools.
The Complete Guide
Developer reference for building on SX Bet — the open API, the WebSocket feed, the MCP server, and reference projects that turn live exchange data into bots, dashboards, and arbitrage tools.
More Guides in This Topic
About Building on SX Bet
What you can build on SX Bet
SX Bet exposes a free, no-key-required REST API and a real-time WebSocket feed. The read surface — markets, orders, trades, fixtures, leagues, live scores, best odds — needs no authentication and no signup. The write surface (post, fill, cancel) requires an EIP-712 signed payload from the user's wallet.
That combination supports four common project shapes: odds aggregators that pull live exchange prices, dashboards that visualise order-book depth and volume, trading bots that post or take liquidity, and MCP servers that wrap the API for AI agents. Several of those projects are already live and open-source.
How the API surface is laid out
REST sits at api.sx.bet (mainnet) and api.toronto.sx.bet (testnet). Every market is binary — two outcomes per market, even when the real-world event has three (1X2 soccer is implemented as two binary markets). Prices are quoted as scaled integer probabilities (percentageOdds); divide by 1020 to get the implied probability as a decimal.
The WebSocket feed uses Centrifugo at wss://realtime.sx.bet/connection/websocket, with channels keyed by market hash for sub-second order-book updates. Rate limits are 5,500 POST orders/min, 20 GET orders per 10 seconds, and 500 req/min on everything else. Generous relative to sportsbook APIs that typically gate developer access entirely.
How to start
The fastest first call is GET https://api.sx.bet/markets. No API key, no signup. From there, docs.sx.bet/llms-full.txt is the LLM-ingestible reference, and there's an MCP server at https://docs.sx.bet/mcp for one-shot building with Claude Code. Install it with claude mcp add --transport http sx-bet https://docs.sx.bet/mcp.
