Best Basketball APIs in 2026
The basketball data APIs developers actually use: who covers it, what it costs to start and what the community says.
How this list is built: Providers that list basketball explicitly, then the strongest multi-sport feeds, ordered by the SportDex Score. SportDex Score explained. No provider pays to be here.
Short answer: nba_api (NBA Stats) (63/100), NBA Stats (stats.nba.com) (45/100) and BALLDONTLIE (79/100) lead this list of 15 providers in 2026. Last checked 2026-11-04.
- 163Score
1. nba_api (NBA Stats)
Free / open dataMIT-licensed Python package wrapping many unofficial NBA.com stats endpoints, returning data for games, players and teams; not an official or hosted API.
Free tierLive data80 discussions6.3k GitHub reposMixedWhat developers say
Unofficial Python wrapper around NBA.com stats endpoints, widely used in Reddit data-viz posts, tutorials and many GitHub projects. Users like the clear docs and easy start, but report that NBA header changes break endpoints, timeouts occur, and 2025-26 pulls stopped working for some. Alternatives mentioned: balldontlie, API-Sports; commercial use raises legal questions.
Liked
- + Easy to use with good docs
- + Large community and many projects built on it
Watch out
- โ Breaks when NBA changes headers or blocks requests
- โ Bulk pulls are slow or time out
- 2
45Score2. NBA Stats (stats.nba.com)
Free / open dataUndocumented public JSON endpoints behind the NBA's stats website, giving current and historical team and player statistics. Unofficial use, no key and no stability guarantee.
Free tier60 discussions152 GitHub reposMixedWhat developers say
Undocumented stats.nba.com JSON endpoints, mostly reached through community wrappers like nba_api and py_ball. Popular for charts and models, but the NBA has restricted access over time (header requirements, removal complaints, users reporting being blocked or timing out). No official docs or support; people lean on wrappers or alternatives like Basketball Reference.
Liked
- + Rich historical player and team stats
- + Wrapper libraries make it easy to use
Watch out
- โ Undocumented and unofficial
- โ Access restricted or blocked over time
- 3
79Score3. BALLDONTLIE
Sports data APIUnified REST API for scores, box scores, stats, odds and player props across 20+ leagues (NBA, NFL, MLB, NHL, soccer, tennis, golf, F1, MMA, esports), plus webhooks and an MCP server.
Free tier2-day trialfrom $9.99/moLive data15 discussions902 GitHub reposMostly positiveWhat developers say
Long-popular free NBA stats API, now covering NBA, NFL, MLB and EPL with a free tier and paid keys. Beginners use it for tutorials, React projects and portfolio apps; betting and fantasy builders pair it with odds feeds. Recommended as an alternative to nba_api and API-Sports. Little discussion of reliability or pricing.
Liked
- + Free tier and easy start for learners
- + Simple REST endpoints with decades of NBA history
Watch out
- โ Free tier limited to subset of endpoints
- โ CORS issues for browser apps
- 466Score
4. API-Sports / API-Football
Sports data APIFamily of per-sport REST APIs (football first) with fixtures, live scores, standings, player stats and pre-match odds, sold self-serve with a daily-request free plan.
Free tierfrom $19/mo60 discussions1.6k GitHub reposMixedWhat developers say
Very widely used for football side projects, prediction models and live-score apps, praised for broad league coverage, decent docs and low price (about $19/month). Complaints: free plan limited to past seasons and 100 requests/day, inconsistent or missing stats, closing odds gaps, a reported quality drop, and thin non-football depth.
Liked
- + Broad league coverage
- + Cheap paid plans
Watch out
- โ Free plan lacks current season
- โ Inconsistent or missing stats
- 583Score
5. The Odds API
Odds APIBookmaker odds for dozens of sports via a simple JSON API, covering moneyline, spreads, totals, outrights and some player props, plus scores and historical snapshots. Credit-based billing.
Free tierfrom $30/moLive data159 discussions2.4k GitHub reposMostly positiveWhat developers say
Widely used for pulling bookmaker odds into fantasy tools, arbitrage scanners and betting models; many GitHub repos and tutorials build on it. Users like the free tier and breadth of markets and books. Complaints: modest refresh rate, historical odds limited to one day per call and gaps in snapshots, no prop results or match outcomes, some books paid-only.
Liked
- + Free tier for quick odds checks
- + Broad sports and bookmaker coverage
Watch out
- โ Refresh rate not the best
- โ Historical odds fetched one day at a time
- 633Score
6. EuroLeague API
Free / open dataPublic EuroLeague and EuroCup basketball API exposing games, boxscores, shots, play-by-play and standings, widely wrapped by community clients.
Free tier83 GitHub reposWhat developers say
Public EuroLeague and EuroCup basketball API, mostly known through community wrappers such as a Python package, a TypeScript SDK and ETL tools. Users build prediction models from season data, and some reverse-engineer its structure. No complaints or praise about reliability, limits or terms were found.
Liked
- + Boxscores, shots and play-by-play available
- + Several community client libraries
- 7
51Score7. CollegeBasketballData.com
Free / open dataCollege basketball data service with a free personal API key, CSV exporter, analytics tools and a paid historical starter pack; sister project of the CFBD football API.
Free tierfrom $1/mo42 GitHub reposWhat developers say
College basketball API from the CFBD team with a free personal key and official Python and R clients. A community Node wrapper exists, and one betting-model video holds it up as a clean, cheap alternative to maintaining scrapers. Little other independent discussion, so detailed quality or limit feedback is missing.
Liked
- + Free personal API key
- + Official Python and R clients
- 8
57Score8. CollegeFootballData.com
Free / open dataCollege football API with games, team and player stats, recruiting, betting lines and advanced metrics; free key with monthly cap, higher tiers via Patreon, plus basketball API.
Free tier1.1k GitHub reposNeutralWhat developers say
Free college football API behind a Python wrapper and the cfbfastR R package, shown in public-API lists, tutorials and BI-tool walkthroughs. Used for scores, betting lines and play-by-play. One user notes plays lack formation data. Little direct opinion beyond that, so assessment is mostly adoption-based.
Liked
- + Free and widely wrapped (Python, R)
- + Includes scores, lines and play-by-play
Watch out
- โ Play data lacks formations
- 9
49Score9. DunkAPI
Sports data APIBasketball API with 19 endpoints for NBA games, play-by-play, shot charts, standings, injuries, sportsbook odds and player props, over REST or MCP with credit-based quotas.
Free tierfrom $19/moWhat developers say
Basketball data API (NBA, WNBA, college) with REST and remote MCP access, offering play-by-play, shot locations and odds. Digest contains only the maker's own registry submissions and repos; no independent feedback on pricing, quality or reliability.
- 10
60Score10. SharpAPI
Odds APIReal-time odds aggregation API for major US sportsbooks with REST, SSE and WebSocket delivery, plus built-in +EV, arbitrage, middles and line-shopping endpoints.
Free tier3-day trialfrom $79/moโก Streaming3 discussions14 GitHub reposWhat developers say
Real-time sports odds API for US sportsbooks with +EV and arbitrage endpoints, launched in 2026 with a free beta tier. Material is mostly the founder's own launch posts plus one user using it for an arb tool and praising its sharp-book coverage versus The Odds API. Repos are few; sample data, R client and MCP server exist.
Liked
- + Covers sharp books beyond what The Odds API offers
- 11
57Score11. MySportsFeeds
Sports data APIRESTful feeds for NFL, MLB, NBA and NHL with schedules, scores, boxscores, standings, play-by-play, injuries, DFS and odds; free for limited personal use, paid for commercial.
Free tierfrom C$25/moLive data6 discussions88 GitHub reposMixedWhat developers say
Cheap feeds for the four major US leagues, with wrappers and many hobby and fantasy repos. Most early praise is the owner's own pitch. Later users report unresponsive support and missing college basketball data, and a 2021 asker found no college or soccer coverage.
Liked
- + Low price
- + Mature, organized API
Watch out
- โ Unresponsive support reported
- โ Narrow coverage (no college or soccer)
- 12
59Score12. SportsGameOdds
Odds APIOdds API priced per event rather than per market or bookmaker, covering 67+ leagues with props, alternate lines, scores and results, plus an optional realtime WebSocket stream.
Free tierfrom $99/moโก Streaming7 discussions46 GitHub reposMixedWhat developers say
Per-event-priced odds API with props and alternate lines, mentioned by algobetting users comparing it with The Odds API and similar vendors. Reported weaknesses: inconsistent or missing Fliff odds, only main markets for Australian books, and upstream errors in one project. Several wrappers, MCP servers and dashboards build on it.
Liked
- + Props and alternate lines included
- + Considered alongside The Odds API
Watch out
- โ Fliff odds inconsistent or missing
- โ Thin market depth for Australian books
- 13
46Score13. Ball Ranks
Fantasy platformFantasy basketball and football rankings and player projections via a versioned REST API (OpenAPI 3.1) and a read-only MCP server; anonymous and free access, premium model for members.
Free tierfrom $39.99/yrWhat developers say
Free NFL and NBA fantasy rankings and projections API with an MCP server. Evidence is only directory listings and submissions, mostly by the vendor or API-cataloguing projects, plus its own plugin repos. No independent users have reported on accuracy or limits.
Liked
- + Free, no key needed
- 14
45Score14. iSports API
Sports data APIAsian-based sports data API covering football and basketball: livescore, fixtures, lineups, stats, standings, pre-match and in-play odds, historical data and animation, with a free trial and widgets.
Demo accessfrom $49/moLive data4 discussionsWhat developers say
Asian football and basketball data API with livescore, odds and history. Evidence is thin: a few beginner questions and hobby repos use it, and a competitor's spam posts claim its mid-tier plans cost about double. No substantive independent reviews of quality, latency or support.
Watch out
- โ Said (by a competitor) to be pricey at mid-tier
- 15
60Score15. SportsDataIO
Sports data APICommercial sports data provider offering scores, odds, projections, news, historical data, IDs and widgets for 75+ sports and 1,500+ competitions through developer APIs.
Demo accessLive data44 discussions776 GitHub reposMixedWhat developers say
Commercial provider widely used for US sports, especially NFL fantasy tools that pull projections and stats from it. A free trial key makes prototyping easy. Developers on a budget repeatedly call it and Sportradar too expensive, and one user reported inaccurate season stats. Hobbyists look at JsonOdds or MySportsFeeds instead.
Liked
- + Free trial key for prototyping
- + Strong US sports and fantasy projections coverage
Watch out
- โ Too expensive for bootstrapped projects
- โ Reported inaccurate player season stats
Need something more specific? Filter all providers by data type, live feed, price and usage rights.