Skip to main content
SX Bet

Developer Hub

Build trading bots, custom frontends, and analytics tools on the only open, peer-to-peer sports prediction market.

quickstart_card

Quickstart

Fetch markets, read the orderbook, and place your first order end-to-end.
api_ref_card

API Reference

Full endpoint reference with request and response schemas.
real-time_card

Real-time Data

Subscribe to live odds, order fills, and trade events via WebSocket.
build_card

What Can You Build?

Trading bots, custom frontends, analytics tools, and more.

Try the API

The REST API is fully public and free to access — no credentials needed to start reading data.
const res = await fetch("https://api.sx.bet/markets/active?sportIds=5");
const { data } = await res.json();
console.log(data.markets); // array of active markets

Explore the platform

Accounts & Auth

Wallet-based authentication and signing orders.

Exchange model

Understand how makers, takers, and the orderbook interact.

Markets

How markets are structured and which sports are supported.

Fetching Odds

Query live odds and orderbook data from the API.

Market Making

Post limit orders and capture the spread as a maker.

Filling Orders

Become a taker: fill existing orders at market prices.