With an 82-game regular season, daily scheduling, and one of the most active player props markets in sports, the NBA is a high-volume data environment. Our NBA odds API is built to handle that volume, giving you clean, structured JSON responses you can integrate directly into your app, model, or platform.
NBA Odds API Features
The Sports Game Odds NBA API gives you precise control over what you fetch. Every call is customizable , you can filter by league, market type, bookmaker, or player to get exactly the data your application needs across all 30 NBA teams, the full regular season, playoffs, and NBA Finals.
Available NBA betting markets include:
- Moneylines (2-way markets)
- Point spreads and handicaps
- Totals (over/under)
- Alternative lines
- Player props and game props
- Period-specific markets (quarters and halves)
All markets are available pre-game and live, with sub-60-second refresh rates keeping your platform in sync with the market.
NBA Player Props API
The NBA is one of the most prop-heavy sports in the world, and our API reflects that. Access a deep catalog of NBA player and game proposition markets through a single endpoint,points, assists, rebounds, three-pointers made, steals, blocks, double-doubles, and combination markets like points + rebounds + assists (PRA).
Use the oddIDs parameter to zero in on specific stat types and players, so your application only processes the markets it actually needs. Player prop data is available for every player across every game, both pre-game and live.
NBA Odds API with Results
Sports Game Odds delivers NBA odds and game results in one unified response. No need to merge data from separate endpoints or third-party sources.
Every API response includes:
- Live and upcoming NBA games
- Home and away team data
- Player statistics
- Full odds coverage: spreads, totals, moneylines, player props, and alternative lines
- Final scores and settlement data
Line movement data lets you track how NBA odds evolve from the opening line through tip-off — useful for spotting sharp action, building predictive models, or powering live odds displays.
Try it Out
See live odds for an upcoming game
https://api.sportsgameodds.com/v2/eventsRequest Parameters
leagueID=NBAOnly NBA games
oddsAvailable=trueOnly games with available odds
includeAltLines=falseDon't return alt-lines
limit=1Number of games to return
Quick Start: Your First NBA Odds API Call
Fetching NBA odds takes a single HTTP request. Here's the simplest way to get started:
https://api.sportsgameodds.com/v2/events?apiKey=YOUR_API_KEY&oddsAvailable=true&leagueID=NBA&limit=10
This returns up to 10 NBA games with all available markets including spreads, totals, moneylines, and player props for games where odds are currently open.
To pull a specific player prop market, use the oddIDs parameter. For example, to fetch points over/unders for all NBA players:
https://api.sportsgameodds.com/v2/events?apiKey=YOUR_API_KEY&oddsAvailable=true&leagueID=NBA&oddIDs=points-PLAYER_ID-game-ou-over,points-PLAYER_ID-game-ou-under
Replace PLAYER_ID with a specific player ID to filter to one player. For example, to pull points over/under for Jalen Duren:
https://api.sportsgameodds.com/v2/events?apiKey=YOUR_API_KEY&oddsAvailable=true&leagueID=NBA&oddIDs=points-JALEN_DUREN_1_NBA-game-ou-over,points-JALEN_DUREN_1_NBA-game-ou-under
You can pass a comma-separated list of any oddID values to pull multiple markets at once. The oddID format is: {statID}-{playerID}-{periodID}-{betTypeID}-{sideID}.
Common NBA oddID patterns include:
- Points over/under:
points-PLAYER_ID-game-ou-over - Assists over/under:
assists-PLAYER_ID-game-ou-over - Rebounds over/under:
rebounds-PLAYER_ID-game-ou-over - Three-pointers made:
threes_made-PLAYER_ID-game-ou-over
Tips to keep responses fast:
- Add
bookmakerID=fanduel,draftkings,caesars,betmgmto limit results to the bookmakers you care about - Use
includeOpposingOdds=trueso you only need to specify the over side — the under is returned automatically - Use
includeAltLines=trueto get the full ladder of alternative lines, but use it selectively as it increases response size - Keep your
oddIDslist tight — only request the markets your application is actively using
NBA Odds API Technical Specifications
API Architecture
- REST API — Standard HTTP endpoints returning clean JSON responses
- WebSocket Feeds — Real-time push updates, no polling required
- Rate Limits — Scalable plans matched to your usage volume
- Authentication — Secure API key access
Data Update Speed
- Odds Updates — Sub-60-second refresh
- Live Scores — Updated in real time during games
Developer Resources
- Interactive Documentation — Live examples, copy-paste code snippets, and AI-assisted (vibe coding) docs
- SDKs & Libraries — Python, JavaScript, and more
- Postman Collection — Pre-built requests ready to run
- Dedicated Support — Technical support included across paid plans
Use Cases
Odds Comparison Platforms: Show NBA lines from 80+ bookmakers in one place, letting users shop for the best number across sportsbooks before tip-off.
Arbitrage & +EV Tools: With NBA games running almost every night of the week, there's a constant stream of pricing discrepancies across books to surface for your users.
Pricing Models & Algorithmic Trading: The NBA's high game frequency and deep props market makes it ideal for quantitative modeling. Feed real-time line movement data into your pricing algorithms to stay ahead of the market.
Sports Analytics & Research: Analyze how NBA lines shift in response to injury reports, rest days, load management, and back-to-back scheduling, all factors that make the NBA one of the most research-rich betting markets available.
Betting Automation: Build systems that monitor NBA lines across bookmakers around the clock and trigger actions when target odds are hit, across both game markets and player props.
DFS & Fantasy Apps: Player prop data maps directly to DFS scoring formats. Power your daily fantasy tool with live NBA prop lines, player stat projections, and real-time market data.
NBA Odds API Documentation
Our interactive documentation covers everything you need to integrate NBA odds into your project:
- 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
- Webhook configuration
- Error handling and troubleshooting
For a hands-on walkthrough using real NBA query examples, including how to filter player props, target specific players, and optimize your calls see our API Documentation.
Ready to get started?
Join thousands of developers building the next generation of sports and betting applications.