☰

BetOnline Sportsbook API

Get access to BetOnline odds in real time: main markets, alt lines and player props, pregame and live, with sub-second latency.

wss://spro.agency/api · example line_update
{
    "timestamp": "2026-10-25T17:02:41.118302+00:00",
    "action": "line_update",
    "data": {
        "sport": "NFL",
        "sportsbook": "betonline",
        "game": "Kansas City Chiefs vs Las Vegas Raiders, 2026-10-25, 01",
        "home_team": "Kansas City Chiefs",
        "away_team": "Las Vegas Raiders",
        "info": { ... },
        "outcomes": {
            "Kansas City Chiefs Moneyline": {
                "odds": "-320",
                "outcome_name": "Moneyline",
                "outcome_line": null,
                "outcome_over_under": null,
                "outcome_target": "Kansas City Chiefs"
            }
        }
    }
}
Benefits

What you get with the BetOnline Sportsbook API

✓

Main markets.

BetOnline moneylines, spreads and totals across every sport and league they offer.

✓

Alt markets.

Alternate spreads and totals, so you get BetOnline's full line ladder, not just the main number.

✓

Player props.

BetOnline player props in the same consistent format as every other book we cover.

✓

Pregame & live.

Pregame odds hand off to live in-game odds on the same game, with no change to your integration.

✓

Sub-second latency.

No polling. BetOnline line moves are pushed to you over the WebSocket within a second.

✓

One normalized feed.

BetOnline alongside 35+ other sportsbooks, exchanges and prediction markets, all in one format.

BetOnline Sportsbook API: Try it for free

Start a 3-day free trial, no credit card required. Get BetOnline odds plus every other sportsbook we cover from day one.

Get Started
About the API

The fastest BetOnline odds, in one place

BetOnline Logo LowVig Logo SportsBetting.ag Logo DraftKings Logo FanDuel Logo Bet365 Logo BetMGM Logo Caesars Logo Fanatics Logo HardRock Logo Kalshi Logo Polymarket Logo NoVig Logo

BoltOdds + BetOnline Sports Betting API

BoltOdds streams BetOnline odds the moment they change, with no polling and sub-second latency. Line shop BetOnline against DraftKings, FanDuel, Bet365 and the rest of the market from a single connection. The same feed covers LowVig and SportsBetting.ag, which run on the BetOnline odds platform, so subscribe to "betonline" for all three.

See all sportsbooks
betonline-odds.py
import asyncio, json, websockets

async def run_client():
    uri = "wss://spro.agency/api?key=YOUR_TOKEN"
    async with websockets.connect(uri) as ws:
        await ws.recv()  # socket_connected

        await ws.send(json.dumps({
            "action": "subscribe",
            "filters": {"sportsbooks": ["betonline"]}
        }))

        while True:
            data = json.loads(await ws.recv())
            print(data)

asyncio.run(run_client())

Connect to the BetOnline API in under 5 minutes

Sign up, grab your API key and subscribe with "sportsbooks": ["betonline"]. Odds arrive as structured JSON over a WebSocket, so there's nothing to poll and nothing to scrape.

Read the docs

Power your models with real-time BetOnline odds

Get your API key and start streaming BetOnline in minutes.