Skip to content
sportdex.

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.

  1. 1. nba_api (NBA Stats)

    Free / open data

    MIT-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 reposMixed

    What 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. NBA Stats (stats.nba.com) logo

    2. NBA Stats (stats.nba.com)

    Free / open data

    Undocumented 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 reposMixed

    What 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. BALLDONTLIE logo

    3. BALLDONTLIE

    Sports data API

    Unified 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 positive

    What 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
    from $9.99/moFull profileWebsite
  4. 4. API-Sports / API-Football

    Sports data API

    Family 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 reposMixed

    What 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
  5. 5. The Odds API

    Odds API

    Bookmaker 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 positive

    What 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
  6. 6. EuroLeague API

    Free / open data

    Public EuroLeague and EuroCup basketball API exposing games, boxscores, shots, play-by-play and standings, widely wrapped by community clients.

    Free tier83 GitHub repos

    What 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. CollegeBasketballData.com logo

    7. CollegeBasketballData.com

    Free / open data

    College 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 repos

    What 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. CollegeFootballData.com logo

    8. CollegeFootballData.com

    Free / open data

    College 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 reposNeutral

    What 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. DunkAPI logo

    9. DunkAPI

    Sports data API

    Basketball 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/mo

    What 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. SharpAPI logo

    10. SharpAPI

    Odds API

    Real-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 repos

    What 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. MySportsFeeds logo

    11. MySportsFeeds

    Sports data API

    RESTful 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 reposMixed

    What 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. SportsGameOdds logo

    12. SportsGameOdds

    Odds API

    Odds 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 reposMixed

    What 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. Ball Ranks logo

    13. Ball Ranks

    Fantasy platform

    Fantasy 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/yr

    What 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
    from $39.99/yrFull profileWebsite
  14. iSports API logo

    14. iSports API

    Sports data API

    Asian-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 discussions

    What 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. SportsDataIO logo

    15. SportsDataIO

    Sports data API

    Commercial 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 reposMixed

    What 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
    Price not publicFull profileWebsite

Need something more specific? Filter all providers by data type, live feed, price and usage rights.

More lists