For Agents
Pull NBA box scores, player and team dashboards, shot charts, play-by-play, and league-wide statistics across 91 GET endpoints.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the NBA Stats API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with NBA Stats API.
Pull traditional, advanced, four-factors, and player-tracking box scores for any NBA game
Retrieve player profile, splits, shot logs, and dashboard statistics on demand
Fetch team rosters, schedules, and per-team dashboards across the league season
GET STARTED
Use for: Get the box score for last night's NBA game, Retrieve a player's career statistics by player ID, List the current rosters for all 30 NBA teams, Find the league leaders in points per game this season
Not supported: Does not handle ticketing, NBA League Pass video streaming, or merchandise — use for NBA player, team, game, draft, and league statistics only.
The NBA Stats API exposes the unofficial stats.nba.com data feed used by NBA.com itself, covering box scores, player and team dashboards, draft history, league leaders, shot charts, play-by-play, and franchise records. The catalogue contains 91 GET endpoints spanning live game data and deep historical splits down to per-shot and per-possession statistics. The OpenAPI spec is sourced from a community-maintained Swagger definition rather than an official NBA contract.
Read draft history, draft combine measurements, and draft combine drill results
Surface league dashboards for player and team statistics, clutch performance, and shot locations
Retrieve play-by-play and shot chart data for granular game-level analysis
Patterns agents use NBA Stats API for, with concrete tasks.
★ NBA Game Analytics Dashboard
Sports analysts and content sites build dashboards that surface advanced game metrics shortly after each NBA matchup ends. Endpoints such as /boxscoreadvancedv2, /boxscorefourfactorsv2, and /boxscoreplayertrackv2 return rich per-game splits that drop into a Postgres warehouse for trend analysis. The 91-endpoint surface covers nearly every dashboard panel an NBA-focused analytics team needs.
For yesterday's NBA games, call /boxscoreadvancedv2 for each game ID and return team and player offensive and defensive ratings.
Fantasy Basketball Tooling
Fantasy basketball products price players using up-to-date splits and trends. /leaguedashplayerstats, /leaguedashplayerclutch, and /leaguedashplayerbiostats expose ranked player tables with the metrics fantasy engines need for projections. Refreshing these tables nightly keeps the fantasy product aligned with the actual league season.
Call /leaguedashplayerstats for the current season and return the top 50 players sorted by player efficiency rating.
NBA Draft and Combine Research
Front offices, scouts, and journalists analyse draft history and combine measurements to evaluate prospects. /drafthistory, /draftcombinestats, /draftcombineplayeranthro, /draftcombinedrillresults, /draftcombinespotshooting, and /draftcombinenonstationaryshooting expose the official NBA combine and historical draft records. Pulling them into a draft-tracker database enables longitudinal study of draft cohorts.
Call /drafthistory for season=2003 and /draftcombinestats for the same year to assemble a profile of that draft class.
Shot Chart and Play-by-Play Visualisations
Broadcasters, content sites, and analytics teams render shot charts and play-by-play timelines to explain games to fans. The shot location and box score endpoints provide the underlying coordinates and event sequences. The result is a visualisation pipeline that can sit on top of the API rather than scraping the NBA web pages.
Pull /leaguedashplayershotlocations for a chosen player and season and emit a JSON payload suitable for a shot-chart renderer.
Agent-Driven NBA Stats Lookup via Jentic
Agents that answer fan or analyst questions about NBA games need a fast structured stats lookup without hand-rolling integrations against an undocumented endpoint. Through Jentic the agent searches by intent, loads the schema for the relevant box score or dashboard operation, and executes it, then summarises the JSON for the user. Because the spec is community-sourced, Jentic also handles request-header quirks the official feed expects.
Search Jentic for 'get an NBA box score for a specific game', load the schema for /boxscoresummaryv2, and execute it with the requested gameId.
91 endpoints — the nba stats api exposes the unofficial stats.
METHOD
PATH
DESCRIPTION
/boxscoresummaryv2
Get box score summary for a game
/boxscoreadvancedv2
Get advanced box score for a game
/boxscoretraditionalv2
Get traditional box score for a game
/commonplayerinfo
Get common player profile info
/commonteamroster
Get current team roster
/leaguedashplayerstats
League-wide player stats dashboard
/leaguedashteamclutch
League-wide team clutch stats
/drafthistory
Get NBA draft history
/boxscoresummaryv2
Get box score summary for a game
/boxscoreadvancedv2
Get advanced box score for a game
/boxscoretraditionalv2
Get traditional box score for a game
/commonplayerinfo
Get common player profile info
/commonteamroster
Get current team roster
Three things that make agents converge on Jentic-routed access.
Credential isolation
stats.nba.com does not require an API key, but Jentic injects the Referer and User-Agent headers that the feed expects so the agent's requests succeed. No vendor secrets are involved.
Intent-based discovery
Agents search Jentic by intent (e.g. 'get an NBA box score for a specific game') and Jentic returns the matching NBA Stats operation with its input schema for direct execution.
Time to first call
Direct integration with stats.nba.com: 1-2 weeks because of header quirks, rate limits, undocumented parameters, and frequent contract drift. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Specific to using NBA Stats API through Jentic.
What authentication does the NBA Stats API use?
The stats.nba.com endpoints accept unauthenticated requests but require browser-style headers (Referer and User-Agent) to return data successfully. The OpenAPI spec declares no security scheme; Jentic handles the headers transparently when calling endpoints such as /boxscoresummaryv2.
Can I get the box score for a specific game with the NBA Stats API?
Yes. GET /boxscoresummaryv2 with the gameId parameter returns the summary box score, and parallel calls to /boxscoreadvancedv2, /boxscorefourfactorsv2, and /boxscoretraditionalv2 return matching advanced, four-factors, and traditional splits for the same gameId.
What are the rate limits for the NBA Stats API?
stats.nba.com is unofficial and aggressively rate-limits clients that issue rapid requests, typically returning HTTP 429 or empty responses. Spread calls out, cache responses, and avoid parallel scraping; the OpenAPI spec does not publish a precise per-second figure.
How do I pull NBA box score data through Jentic?
Run pip install jentic, search for 'get an NBA box score for a specific game', load the schema for /boxscoresummaryv2, and execute it with the gameId. Jentic supplies the required browser-style headers automatically. Sign up at https://app.jentic.com/sign-up.
Is the NBA Stats API official?
No. The stats.nba.com feed is the data source NBA.com uses internally and is not covered by a public commercial contract. The OpenAPI spec in this catalogue is community-maintained and may lag behind upstream changes; expect occasional breakages when NBA.com updates its endpoints.
Can I get league leaders and player rankings?
Yes. /leaguedashplayerstats, /leaguedashplayerclutch, /leaguedashplayershotlocations, and related dashboard endpoints return ranked tables of players or teams across the season, suitable for league-leader displays and fantasy-league sorting.
/leaguedashplayerstats
League-wide player stats dashboard
/leaguedashteamclutch
League-wide team clutch stats
/drafthistory
Get NBA draft history