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
https://api.sportsgameodds.com/v2/eventsRequest Parameters
leagueID=NFLOnly NBA games
oddsAvailable=trueOnly games with available odds
includeAltLines=falseDon't return alt-lines
limit=1Number 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
- Interactive documentation — live examples and copy-paste snippets
- SDKs & libraries — JavaScript/TypeScript, Python, Ruby, Go and Java
- Postman collection — pre-built requests ready to run
- Dedicated technical support across paid plans
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?
How do I get odds for every basketball league in one request?
What basketball player props are available?
Can I pull basketball player props for a specific player?
How often do basketball odds update?
Is there a free basketball odds API?
Does the API include basketball scores and results?
How many sportsbooks are included?
Ready to get started?
Join thousands of developers building the next generation of sports and betting applications.