Live odds API.Pushed, not polled.
A real-time odds API that pushes every price change, pregame and in-play, from 85+ sportsbooks, exchanges and prediction markets. One Server-Sent Events stream per sport, no polling loop, and a reconnect that picks up where it left off.
- average from our board to your code, over the 7 days to 13 October 2026
- 250ms
- sports, one stream each, pregame and live
- 7
- of changes replayed when you reconnect
- 10 min
Polling makes you
wait and pay.
A polled feed is only as fresh as your last request. On average you see a change half an interval after it happened, and every poll spends requests whether or not anything moved. Shorten the interval and the requests climb until the rate limit stops you.
| Method | Average wait | Requests a minute |
|---|---|---|
| Poll every 60 seconds | 30 s | 4 |
| Poll every 10 seconds | 5 s | 24 |
| Poll every 2 seconds | 1 s | 120 |
| SmartStake stream | 0.25 s | 1 open connection |
Polling arithmetic: the average wait for a change is half the polling interval. /v1/odds takes up to 5 events and 5 books a request, so this slate needs 4 requests each time you poll. Polling every 2 seconds spends the whole default limit of 120 requests a minute. The stream figure is the measured average from our board to a connected client over the 7 days to 13 October 2026; how fast a price reaches our board differs by book.
One stream
per sport.
Open football, basketball, baseball, hockey, soccer, tennis, mma as Server-Sent Events: a plain HTTP response that stays open and carries each change as it reaches our board.
Every change, batched every quarter second
Changes go out in batches every 250 ms, each carrying only the latest version of a quote, gzip-compressed and flushed as soon as they are written.
Filter to what you use
Narrow a sport’s stream by league, event, book, market, main or alternate lines, and pregame or live.
Removals as well as prices
A suspended or pulled price arrives as quote-removed, so a stale line never sits on your board looking live.
Scores and box scores
Add event-status for scores, clocks and periods on the same connection, and, on plans with live odds, box-score for live team and player stats.
curl -N --compressed \
-H "Authorization: Bearer $SMARTSTAKE_API_KEY" \
"https://api.server.smartstake.ca/v1/stream/basketball?league=nba&live=true&book=draftkings&book=fanduel"
event: connected
data: ok
event: quote
id: 1.3f9a0c41b2de.AwAQAKDp...
data: {"type":"quote","quotes":[{"quote_id":"m~evt_…~basketball_spread~…~fanduel","label":"Denver Nuggets -4.5","odds":-112,"live":true, …}]}
event: quote-removed
id: 1.3f9a0c41b2de.AwAQAKEb...
data: {"type":"quote-removed","quotes":[{"quote_id":"m~evt_…~basketball_player_points~…~draftkings","live":true, …}]}Illustrative output, shortened to a few fields.
Keep a live board
in four steps.
Hold your own copy of every price you care about and keep it current from the stream. A dropped connection costs a reconnect, not a fresh download.
- 01
Open the stream first
Connect before you pull, so a change that lands while the snapshot downloads is already on its way to you.
- 02
Then pull the board
Fetch current quotes over REST, by event or a whole league in pages, and load them into a map keyed by quote id.
- 03
Apply every event
Upsert each quote and delete each removal by quote id, keeping the version with the newest updated_at.
- 04
Resume, don’t restart
Keep the last event id. After a drop, reconnect with it and the stream replays what you missed, up to about 10 minutes. Pull again only when it sends resync-required.
events = stream("basketball", league="nba")
board = {q["quote_id"]: q for q in league_snapshot("nba")}
for event, payload in events:
if event == "quote":
for quote in payload["quotes"]:
held = board.get(quote["quote_id"])
if held is None or quote["updated_at"] >= held["updated_at"]:
board[quote["quote_id"]] = quote
elif event == "quote-removed":
for quote in payload["quotes"]:
board.pop(quote["quote_id"], None)
elif event == "resync-required":
board = {q["quote_id"]: q for q in league_snapshot("nba")}A sketch: stream() connects when called and yields each event and its data, and league_snapshot() pages through /v1/odds. The API docs have both in full, in standard-library Python. In production, read the stream on its own thread and run a resync pull outside the read loop. After board-reset, the stream closes: drop the board and start again.
Pregame and live.
One schema.
In-play prices travel on the same stream as pregame, so the code that handles a line before kickoff handles it after.
- One quote shape
- A live quote has the same fields, market keys and player and team ids as a pregame one, with live set to true.
- Live is a filter
- Pass live=true for in-play only, live=false for pregame only, or leave it out to get both on one connection.
- Know how fresh each book is
- Some books are real-time and others are checked on a cycle. The update frequency page lists each book, pregame and live.
Live odds
from $699.
In-play odds come with Pregame + Live and Full Stream. Every plan streams, and each starts with a 7-day free trial for first-time subscribers.
- Pregame + Live, $699 a month
- Pregame and in-play odds for the 5 leagues you pick, with live box scores and closing lines.
- Full Stream, $999 a month
- Pregame and in-play odds for every league on the board.
- Pregame, $399 a month
- The same push stream with pregame odds only, for the 5 leagues you pick.
Live odds
questions.
Building on live prices? Talk to us.
Is it a WebSocket API?
No. It is a Server-Sent Events stream: one long HTTP response that the server writes to as prices change. Any language that can read an HTTP response can read it, it passes through proxies and load balancers like any other request, and resuming is one header on the next request. You never send anything up the connection, so a WebSocket would add nothing.
How real-time is it?
A change reaches a connected client about 250 milliseconds after it lands on our board, averaged over the 7 days to 13 October 2026. How quickly a book’s price reaches our board differs by book: the update frequency page lists each one, pregame and live.
What happens when my connection drops?
Reconnect with the id of the last event you received. The stream sends the latest version of every quote that changed while you were away, then carries on. We keep about 10 minutes of changes; past that, you get resync-required and pull the board again.
How do I know the connection is still alive?
The stream sends a ping after 25 seconds without other events. If nothing arrives for longer, reconnect.
What if my code can’t keep up?
Updates wait on our side until your client reads them. When the oldest has waited more than 10 seconds, the stream sends an error and closes rather than keep delivering stale prices. Read on its own thread, queue the slow work, and filter to what you use.
How many streams can I open?
7 at once on each key, one per sport covers the board. REST is 120 requests a minute. Limits can be raised for commercial use.
Is there a free trial?
Yes. First-time subscribers get a 7-day free trial on every plan, with a card required.