League: Basketball
NBA odds API
The NBA is in the free Developer plan, which reads every book on sockodds.com's list but bet365; Pro and Business add bet365. The books price the head to head, the line and the total, for the whole game and by halves and quarters, with alternate lines where a book hangs them. Each price carries the time it was seen, and one over ten minutes old is withheld, never served as current. The season runs from late October to the Finals in June.
Key nba, from plan Developer. Filter with league=nba; /v1/markets?league=nba lists every market it can carry; every league and its key. Fast Odds API answers at https://api.sockodds.com/v1; send your key as a Bearer token. For every market type defined for the NBA, each with its key, sides and periods, and the plans that include it, see SockOdds' NBA odds API page.
Joining your data
Look a game up by ESPN's event id
Already keyed on ESPN's event ids for NBA games? GET /v1/events/lookup?source=espn&ref=<ESPN event id> finds our event; a 404 means none of our events carries that id. Up to 100 ids go in one call as refs: the answer keeps the order you sent and leaves out any id with no match. Merged events resolve to the event they were merged into. The lookup takes official ids only: a bookmaker's own listing id finds nothing.
The contract names ESPN's event id as a source but not its leagues. SockOdds confirmed on 15 Oct 2026 that it covers the NBA; the others are WTA Tour, ATP Tour, UEFA Champions League, MLS, Ligue 1, Bundesliga, Serie A, La Liga, English Premier League, NHL, MLB, NCAAF, NFL, Men's college basketball, WNBA and NBL.
In code
The best price on every NBA outcome
One request to /v1/odds with league=nba returns the games in the window with every market and every bookmaker your plan covers. Each outcome's prices come best first, so the first entry is the top price and the book quoting it. Name the markets you show to keep the response small.
Big leagues come back in pages: follow links.next until it is null. Every plan meters credits, and the featured markets of a league cost a credit each for each region, per page of up to 25 games.
curl -G https://api.sockodds.com/v1/odds \
-d league=nba \
-d markets=winner,handicap,total_points \
-H "Authorization: Bearer $SOCKODDS_KEY"
import os
import requests
resp = requests.get(
"https://api.sockodds.com/v1/odds",
params={"league": "nba", "markets": "winner,handicap,total_points"},
headers={"Authorization": f"Bearer {os.environ['SOCKODDS_KEY']}"},
timeout=20,
)
resp.raise_for_status()
for event in resp.json()["data"]:
for market in event["markets"]:
who = (market["subject"] or {}).get("name", "") # the player on a prop; empty on a game market
for outcome in market["outcomes"]:
if not outcome["prices"]:
continue # no book is pricing this outcome right now
best = outcome["prices"][0] # prices come best first, so [0] is the top price and its book
print(event["name"], market["key"], who, outcome["name"], outcome["line"], best["decimal_odds"], best["bookmaker"])
One request, GET /v1/odds?league=nba&limit=100, on a Pro key, which sees every bookmaker on every league, read 15 Oct 2026. On that date the NBA was in its pre-season. The window is the API's default: games from two days before the read onward. A page of 100 is a floor, so a count can say at least.
Bookmakers with a price on at least one NBA game that day, with the games each priced: Kalshi (28), Polymarket (26), DraftKings (21), Betr (20), FanDuel (19), Sportsbet (19), Dabble (18), Betfair Exchange (17), TAB (17), Bally Bet (16), BetMGM (16), SwiftBet (15), Pinnacle (13), BetRivers (10), TABtouch (8), Unibet (8), Hard Rock Bet (4), Picklebet (3), Matchbook (1), PointsBet (1), ProphetX (1) and four other books.
The kinds of market priced that day: handicap, player_assists_over_under, player_blocks_over_under, player_points_over_under, player_points_rebounds_assists_over_under, player_rebounds_over_under, player_three_pointers_over_under, team_points_over_under, total_points, winner.
Bookmakers pricing NBA player props that day, with the prop markets each priced: Sportsbet (39), Pinnacle (22), FanDuel (9) and one other book.
Measured, 15 Oct 2026
What the read found on the NBA
- 36 of the 100 games the read listed on its first page of 100 carried a price; the other 64 were listed with no market (the file does not record which had started). Each counts once in a read like this one, priced or not.
- On the first page of 100: the six prop kinds with a named player:
player_assists_over_under,player_blocks_over_under,player_points_over_under,player_points_rebounds_assists_over_under,player_rebounds_over_underandplayer_three_pointers_over_under. - On the first page of 100: no single book priced all 36; Kalshi came closest, on 28.
- Australian books and the Betfair Exchange make up ten of the 25. It drew Betfair Exchange (17), Matchbook (1) and ProphetX (1) from the exchanges and Kalshi (28) and Polymarket (26) from the prediction markets.
- On the first page of 100: kinds with a single book on them that day: Sportsbet alone on
player_blocks_over_under.
The same read for every league, with a covered, partly or not verdict: leagues with Australian bookmaker odds, measured.
Who priced what
The NBA, book by book
Who priced what on the NBA on 15 Oct 2026, on the read's first page of 100: the books first, then the kinds of market and who carried each. A prop market here names a player as its subject; first and last scorer markets list the players as outcomes and count as kinds, not props.
| Book | From plan | Games priced | Prop markets | Kinds of market it priced |
|---|---|---|---|---|
| Kalshi | Developer | 28 | 0 | winner |
| Polymarket | Developer | 26 | 0 | handicap, total_points and winner |
| DraftKings | Developer | 21 | 0 | handicap, total_points and winner |
| Betr | Developer | 20 | 0 | handicap, total_points and winner |
| FanDuel | Developer | 19 | 9 | handicap, player_assists_over_under, player_points_over_under, player_rebounds_over_under, player_three_pointers_over_under, total_points and winner |
| Sportsbet | Developer | 19 | 39 | handicap, player_assists_over_under, player_blocks_over_under, player_points_over_under, player_rebounds_over_under, player_three_pointers_over_under, total_points and winner |
| Dabble | Developer | 18 | 0 | winner |
| Betfair Exchange | Developer | 17 | 0 | handicap, total_points and winner |
| TAB | Developer | 17 | 0 | handicap, team_points_over_under and winner |
| Bally Bet | Developer | 16 | 0 | handicap, total_points and winner |
| BetMGM | Developer | 16 | 0 | handicap, total_points and winner |
| SwiftBet | Developer | 15 | 0 | handicap, total_points and winner |
| Pinnacle | Developer | 13 | 22 | handicap, player_assists_over_under, player_points_over_under, player_points_rebounds_assists_over_under, player_rebounds_over_under, player_three_pointers_over_under, team_points_over_under, total_points and winner |
| BetRivers | Developer | 10 | 0 | handicap |
| TABtouch | Developer | 8 | 0 | handicap, total_points and winner |
| Unibet | Developer | 8 | 0 | handicap, total_points and winner |
| Hard Rock Bet | Developer | 4 | 0 | handicap, team_points_over_under, total_points and winner |
| Picklebet | Developer | 3 | 0 | team_points_over_under and winner |
| Matchbook | Developer | 1 | 0 | handicap and winner |
| PointsBet | Developer | 1 | 0 | winner |
| ProphetX | Developer | 1 | 0 | handicap and winner |
| four books sockodds.com does not list by name | Pro | 43 | 87 | not split by book |
| Kind of market | Books | Which books | Other basketball competitions that carried it |
|---|---|---|---|
winner | 23 | Bally Bet, Betfair Exchange, BetMGM, Betr, Dabble, DraftKings, FanDuel, Hard Rock Bet, Kalshi, Matchbook, Picklebet, Pinnacle, PointsBet, Polymarket, ProphetX, Sportsbet, SwiftBet, TAB, TABtouch, Unibet and three books sockodds.com does not list by name | no other priced that day |
handicap | 21 | Bally Bet, Betfair Exchange, BetMGM, Betr, BetRivers, DraftKings, FanDuel, Hard Rock Bet, Matchbook, Pinnacle, Polymarket, ProphetX, Sportsbet, SwiftBet, TAB, TABtouch, Unibet and four books sockodds.com does not list by name | no other priced that day |
total_points | 16 | Bally Bet, Betfair Exchange, BetMGM, Betr, DraftKings, FanDuel, Hard Rock Bet, Pinnacle, Polymarket, Sportsbet, SwiftBet, TABtouch, Unibet and three books sockodds.com does not list by name | no other priced that day |
team_points_over_under | 6 | Hard Rock Bet, Picklebet, Pinnacle, TAB and two books sockodds.com does not list by name | no other priced that day |
player_assists_over_under | 4 | FanDuel, Pinnacle, Sportsbet and a book sockodds.com does not list by name | no other priced that day |
player_points_over_under | 4 | FanDuel, Pinnacle, Sportsbet and a book sockodds.com does not list by name | no other priced that day |
player_rebounds_over_under | 4 | FanDuel, Pinnacle, Sportsbet and a book sockodds.com does not list by name | no other priced that day |
player_three_pointers_over_under | 4 | FanDuel, Pinnacle, Sportsbet and a book sockodds.com does not list by name | no other priced that day |
player_points_rebounds_assists_over_under | 2 | Pinnacle and a book sockodds.com does not list by name | no other priced that day |
player_blocks_over_under | 1 | Sportsbet | no other priced that day |
Reading it
Markets, periods and sides in basketball
- winner
- The head to head, sides home and away.
- handicap
- The line. The two sides hold opposite figures: the home side at -6.5 against the away side at +6.5.
- total_points
- The total, sides over and under, each outcome with its line. A different line is a different market, with different outcome IDs, so group by line before ranking prices.
- period
fullfor the whole game; this sport also carries halves and quarters (half_1, half_2, quarter_1 to quarter_4).- subject
- Null on game markets. On a prop it names the player, with an ID and a name.
Settlement
How NBA games settle
/v1/results?league=nba grades each finished game outcome by outcome on the same IDs as the prices: won, lost, void or dead_heat. Markets settle one at a time, each once official evidence covers every outcome in it, so a game's result can come back with settlement: partial while some of its markets wait.
Which markets a game carries is up to the books pricing it: /v1/markets?league=nba lists what the league can carry, and the odds response what is open now.
Questions
The NBA and the API
What to build with it: odds comparison, arbitrage, betting and tipping apps and backtesting, each with code in the v1 shape.
Is the NBA on the free plan?
Yes: it is in the Developer plan, which costs nothing and asks for no card: the NBA, NBL, NFL and English Premier League, with the AFL, NRL and MLB in season, from every book on sockodds.com's list but bet365, within 1,000 credits a month.
Which bookmakers price the NBA?
The free plan reads every book on sockodds.com's list but bet365, and so does Starter; Pro and Business add bet365. A book shows up on a game only once it prices it, so the measured list on this page is the answer for the date it names.
What is the NBA's league key?
nba. Pass it as league=nba; a league key implies its sport, so it is the only filter needed to pick the competition. /v1/leagues returns the current list with each league's sport and region.
Are NBA player props included?
On 15 Oct 2026 the books priced at least 111 NBA player prop markets on at least 24 players, in at least six kinds with a named player, each named in the measured list on this page. Props come back wherever a book prices them, from the same request as the game lines. /v1/markets?league=nba lists every market this league can carry, so check there before building a props feature on it.
Can I get NBA results from the feed?
Yes. /v1/results?league=nba grades each finished game outcome by outcome, on the same IDs as the prices: won, lost, void or dead heat. An outcome that official evidence does not settle is never guessed: it stays out of the results.
Start now
Your first Australian price is one request away.
Free key, no card, AFL and NRL included. Keys are issued on sockodds.com.