Basketball

Basketball Odds API

Real-time basketball odds across the NBA, WNBA, college basketball and the NBA G League. Moneylines, spreads, totals and one of the deepest player prop markets in sport, from 85+ sportsbooks through a single REST API with scores and results included on every plan.

Basketball is a high-volume data environment. Games run almost every night, rosters change with rest days and load management, and the props market is among the most active in sport. Our basketball odds API is built for that cadence, giving you clean structured JSON across every league in one place.

Basketball Odds API Features

One request returns a game's entire odds tree. There is no separate props endpoint, no per-bookmaker stitching, and no second integration needed to settle bets afterwards.

Available basketball betting markets include:

  • Moneylines and regulation 3-way markets
  • Point spreads and handicaps, including alternate lines
  • Totals (over/under points), team totals, and even/odd
  • Player props — scoring, rebounding, assists, shooting and defensive markets
  • Combination props such as points + rebounds + assists (PRA)
  • Milestone markets — double-double, triple-double, first basket, first to 20
  • Quarter and half markets (1Q–4Q, 1H, 2H)

Prop depth is greatest on the NBA, where the full catalogue is posted nightly. College basketball and the WNBA carry core markets plus a solid range of player props, and the G League is reliable for game lines where books price it.

Quick Start: Every Basketball League in One Call

Querying at the sport level means you do not have to enumerate leagues. A single sportID=BASKETBALL request returns events across the NBA, WNBA, NCAAB and G League together:

https://api.sportsgameodds.com/v2/events?apiKey=YOUR_API_KEY&sportID=BASKETBALL&oddsAvailable=true&limit=10

For a specific subset, leagueID accepts a comma-separated list:

https://api.sportsgameodds.com/v2/events?apiKey=YOUR_API_KEY&leagueID=NBA,NCAAB&oddsAvailable=true&limit=10

Note that leagueID takes precedence — if you send both sportID and leagueID, the league filter is used and the sport filter is ignored. Use one or the other.

To narrow to a single market, add oddIDs. This returns points over/unders for every basketball player on the slate:

https://api.sportsgameodds.com/v2/events?apiKey=YOUR_API_KEY&sportID=BASKETBALL&oddsAvailable=true&oddIDs=points-PLAYER_ID-game-ou-over,points-PLAYER_ID-game-ou-under

Common basketball oddID patterns:

  • Points over/under: points-PLAYER_ID-game-ou-over
  • Rebounds over/under: rebounds-PLAYER_ID-game-ou-over
  • Assists over/under: assists-PLAYER_ID-game-ou-over
  • Three-pointers made: threePointersMade-PLAYER_ID-game-ou-over

OddIDs follow the format {statID}-{statEntityID}-{periodID}-{betTypeID}-{sideID}. The full list is in the stats reference, and markets & coverage shows which books support what.

Try it Out

See live odds for an upcoming game

SportsGameOdds API
GEThttps://api.sportsgameodds.com/v2/events

Request Parameters

leagueID=NFL

Only NBA games

oddsAvailable=true

Only games with available odds

includeAltLines=false

Don't return alt-lines

limit=1

Number of games to return

Basketball Leagues We Cover

  • NBA — all 30 teams across the 82-game regular season, playoffs and Finals, with the deepest prop catalogue of any basketball league.
  • College Basketball (NCAAB) — Division I coverage through conference tournaments and March, where sheer game volume makes line shopping especially valuable.
  • WNBA — the full regular season and playoffs, with scoring, rebounding and assist props.
  • NBA G League — game lines for the NBA's development league.

Basketball Player Props

Basketball is one of the most prop-heavy sports we cover. Points, rebounds and assists; the combination markets PRA, points + rebounds and points + assists; three-pointers, field goals, free throws and two-pointers made or attempted; steals, blocks, blocks + steals, turnovers and fouls; double-double and triple-double; fantasy score and first basket. Full-game markets plus quarter and half variants where books post them.

Props come back in the same response as the game lines and are identified by a single field, so filtering to only props — or excluding them — is one check. See the basketball player prop odds API for the complete market list by sport.

Basketball Odds API with Results

Odds and results arrive in one unified response, so you can settle bets without adding a second data source. Each response includes:

  • Live and upcoming basketball games across all four leagues
  • Home and away team data
  • Player statistics and box scores
  • Full odds coverage — spreads, totals, moneylines, player props and alternate lines
  • Final scores and settlement data

Line movement is tracked throughout, letting you watch how basketball odds shift from the opening number through tip-off — useful for spotting sharp action and for modelling how injury reports and rest days move a market.

Basketball Odds API Technical Specifications

API Architecture

  • REST API — standard HTTP endpoints returning clean JSON
  • WebSocket feeds — real-time push updates on the All-Star plan, no polling required
  • Rate limits — scalable plans matched to your usage volume
  • Authentication — secure API key access

Data Update Speed

  • Odds updates — sub-minute refresh on the Pro plan; Rookie and the free Amateur tier refresh on a longer interval. See pricing for the frequency on each tier.
  • Live scores — updated in real time during games

Developer Resources

Use Cases for Basketball Odds Data

Odds Comparison Platforms — Show basketball lines from 85+ bookmakers side by side so users can shop the best number before tip-off.

Arbitrage & +EV Tools — With games most nights of the week, basketball produces a constant stream of pricing discrepancies across books.

DFS & Lineup Tools — Prop lines map directly onto DFS scoring, making basketball the natural sport for projection models and lineup optimizers.

Sports Analytics & Research — Analyse how lines respond to injury reports, rest days and back-to-back scheduling, all of which move basketball markets more than most sports.

Betting Automation — Monitor basketball lines around the clock and trigger programmatic actions when your target number appears.

Sportsbook & Fantasy Apps — Power your platform with reliable real-time basketball odds across all four leagues.

Basketball Odds API Documentation

Our interactive documentation covers everything needed to integrate basketball odds:

  • Full endpoint reference with parameters and response schemas
  • Live request and response examples
  • Code snippets in Python, JavaScript and more
  • Authentication setup and API key management
  • Error handling and troubleshooting

For NBA-specific query examples, see the NBA odds API page, or start with the API basics. There is also a full walkthrough of building an NBA player props analyzer in Python.

Frequently Asked Questions

Which basketball leagues does the API cover?
Four: the NBA, the WNBA, college basketball (NCAAB) and the NBA G League. Prop depth is greatest on the NBA, where the full catalogue is posted nightly. College basketball and the WNBA carry core markets plus a solid range of player props, and the G League is reliable for game lines where books price it.
How do I get odds for every basketball league in one request?
Query at the sport level with sportID=BASKETBALL and the response spans all four leagues. For a subset, leagueID accepts a comma-separated list such as leagueID=NBA,NCAAB. Sending both means the league filter wins and the sport filter is ignored.
What basketball player props are available?
Points, rebounds and assists; combination markets including points + rebounds + assists (PRA); three-pointers, field goals, free throws and two-pointers made or attempted; steals, blocks, blocks + steals, turnovers and fouls; double-double and triple-double; fantasy score and first basket. Full-game plus quarter and half variants where available.
Can I pull basketball player props for a specific player?
Yes. Use the oddIDs parameter with a specific player ID to filter to a single player across any stat market — points, assists, rebounds, three-pointers and more. This keeps responses small and your pipeline fast.
How often do basketball odds update?
Update frequency depends on your plan. The Pro plan refreshes sub-minute so lines stay current through tip-off. The Rookie and free Amateur plans refresh on a longer interval. Live scores update in real time during games on every plan.
Is there a free basketball odds API?
Yes. The free Amateur tier includes 2,500 objects a month with no credit card required, covering 8 leagues and 9 bookmakers — enough to build and test against real basketball data. The Rookie and Pro plans each add a 7-day trial.
Does the API include basketball scores and results?
Yes, on every plan. Odds and results arrive in the same response, including final scores, player statistics and settlement data, so you can grade basketball bets without integrating a separate stats provider.
How many sportsbooks are included?
Basketball odds are aggregated from 85+ sportsbooks, including DraftKings, FanDuel, BetMGM, Caesars, bet365, ESPN BET and Pinnacle, plus DFS platforms such as PrizePicks and Underdog. Alternate lines are included.

Ready to get started?

Join thousands of developers building the next generation of sports and betting applications.

Basketball Leagues

Explore odds coverage for each basketball league we support: