> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sx.bet/llms.txt
> Use this file to discover all available pages before exploring further.

# SX Bet Developer Hub

> Build trading bots, custom frontends, and analytics tools on the SX Bet peer-to-peer sports prediction market. Explore quickstarts, API references, and real-time data guides.

<div id="hero-section" className="flex flex-col items-center justify-center text-center px-8 pt-8 pb-0">
  <img src="https://mintcdn.com/sxbet-9c561d83/ylnfp2AKk1IUxDYj/public/sx_assets/sx_bet_logo.svg?fit=max&auto=format&n=ylnfp2AKk1IUxDYj&q=85&s=79cfd7fbcc454e46770d552f7f77e6eb" alt="SX Bet" className="h-12 mb-4" width="616" height="191" data-path="public/sx_assets/sx_bet_logo.svg" />

  <h1 className="text-5xl font-bold tracking-tight text-gray-900 dark:text-zinc-50 max-w-3xl">
    Developer Hub
  </h1>

  <p className="mt-3 text-xl text-gray-500 dark:text-gray-400 max-w-xl leading-snug">
    Build trading bots, custom frontends, and analytics tools on the only open, peer-to-peer sports prediction market.
  </p>
</div>

<div className="px-8 pb-16 max-w-5xl mx-auto">
  <CardGroup cols={2}>
    <Card title="Quickstart" img="https://mintcdn.com/sxbet-9c561d83/ylnfp2AKk1IUxDYj/public/sx_assets/quickstart_card.svg?fit=max&auto=format&n=ylnfp2AKk1IUxDYj&q=85&s=6512007069382fe3578ad92d6dfe2798" href="/developers/quickstart" width="1920" height="1080" data-path="public/sx_assets/quickstart_card.svg">
      Fetch markets, read the orderbook, and place your first order end-to-end.
    </Card>

    <Card title="API Reference" img="https://mintcdn.com/sxbet-9c561d83/ylnfp2AKk1IUxDYj/public/sx_assets/api_ref_card.svg?fit=max&auto=format&n=ylnfp2AKk1IUxDYj&q=85&s=2f270bb087ac55da036fcf087eedad94" href="/api-reference/introduction" width="1920" height="1080" data-path="public/sx_assets/api_ref_card.svg">
      Full endpoint reference with request and response schemas.
    </Card>

    <Card title="Real-time Data" img="https://mintcdn.com/sxbet-9c561d83/ylnfp2AKk1IUxDYj/public/sx_assets/real-time_card.svg?fit=max&auto=format&n=ylnfp2AKk1IUxDYj&q=85&s=2ecb0bed95322e6bfc8702051abc04c2" href="/developers/real-time" width="1920" height="1080" data-path="public/sx_assets/real-time_card.svg">
      Subscribe to live odds, order fills, and trade events via WebSocket.
    </Card>

    <Card title="What Can You Build?" img="https://mintcdn.com/sxbet-9c561d83/ylnfp2AKk1IUxDYj/public/sx_assets/build_card.svg?fit=max&auto=format&n=ylnfp2AKk1IUxDYj&q=85&s=a7d5261e27dbede382ca07ef330f3c3a" href="/developers/what-can-you-build" width="1920" height="1080" data-path="public/sx_assets/build_card.svg">
      Trading bots, custom frontends, analytics tools, and more.
    </Card>
  </CardGroup>

  ## Try the API

  The REST API is fully public and free to access — no credentials needed to start reading data.

  <CodeGroup>
    ```javascript JavaScript theme={null}
    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
    ```

    ```python Python theme={null}
    import requests

    res = requests.get("https://api.sx.bet/markets/active", params={"sportIds": 5})
    markets = res.json()["data"]["markets"]
    print(markets)
    ```
  </CodeGroup>

  ## Explore the platform

  <CardGroup cols={3}>
    <Card title="Accounts & Auth" icon="key" href="/developers/accounts">
      Wallet-based authentication and signing orders.
    </Card>

    <Card title="Exchange model" icon="arrows-left-right" href="/developers/exchange-model">
      Understand how makers, takers, and the orderbook interact.
    </Card>

    <Card title="Markets" icon="trophy" href="/developers/markets-and-sports">
      How markets are structured and which sports are supported.
    </Card>

    <Card title="Fetching Odds" icon="percent" href="/developers/fetching-odds">
      Query live odds and orderbook data from the API.
    </Card>

    <Card title="Market Making" icon="pen-to-square" href="/developers/market-making">
      Post limit orders and capture the spread as a maker.
    </Card>

    <Card title="Filling Orders" icon="bolt" href="/developers/filling-orders">
      Become a taker: fill existing orders at market prices.
    </Card>
  </CardGroup>
</div>
