NBA Stats Scraper - Players, Teams, Box Scores & Standings avatar

NBA Stats Scraper - Players, Teams, Box Scores & Standings

Pricing

from $1.37 / 1,000 stat row delivereds

Go to Apify Store
NBA Stats Scraper - Players, Teams, Box Scores & Standings

NBA Stats Scraper - Players, Teams, Box Scores & Standings

Scrape official NBA stats from stats.nba.com: player and team season stats (base or advanced), player and team game logs, box scores, daily scoreboard and standings, for any season since 1946-47. No login. Filter by team, player, dates. Error rows are free.

Pricing

from $1.37 / 1,000 stat row delivereds

Rating

0.0

(0)

Developer

Scrapewise Data

Scrapewise Data

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

NBA Stats Scraper: official player, team, game log, box score and standings data

NBA Stats Scraper collects official NBA statistics from stats.nba.com, the same numbers that power the stats pages of nba.com. No login, no API key. Pick the table you want (player season stats, team season stats, player or team game logs, box scores, the daily scoreboard, standings or the player list), pick a season, and every row comes back as one clean JSON item with camelCase field names, ready for a spreadsheet, a database or a model.

It is used for fantasy basketball and DFS research, sports analytics and betting models, dashboards that refresh every night during the season, journalism and content, and training data for AI agents that need real sports numbers.

At a glance

WhatPrice
Row delivered (one player line, team line, game log line, box score line, game or standings line)US$ 1.80 per 1,000 rows (US$ 0.0018 each)
Run startUS$ 0.005 per run
  • The 50 top scorers of a season (default input) = 50 rows = US$ 0.095.
  • One full box score (both teams, about 26 players) = about US$ 0.05.
  • Error rows and duplicates are never charged. maxItems is a hard cap, and a spending limit set on the run stops it cleanly with everything delivered so far.
  • Every season since 1946-47 is available for the tables the NBA keeps for that era.

Quick start

Top 50 scorers of the latest season (this is also what an empty input does):

{
"dataType": "playerStats",
"maxItems": 50
}

Advanced stats (offensive, defensive and net rating, usage, true shooting, PIE) for two teams in 2024-25:

{
"dataType": "playerStats",
"season": "2024-25",
"measureType": "Advanced",
"teams": ["LAL", "BOS"],
"maxItems": 0
}

Every game of a player this season, one row per game:

{
"dataType": "playerGameLogs",
"players": ["Stephen Curry"],
"maxItems": 0
}

Box scores of chosen games, plus team totals:

{
"dataType": "boxScores",
"gameIds": ["0022401199", "https://www.nba.com/game/lal-vs-por-0022401198"],
"includeTeamTotals": true
}

Last night's scores (scoreboard of one day):

{
"dataType": "scoreboard",
"dateFrom": "2025-03-10"
}

Input

FieldWhat it does
dataTypeplayerStats, teamStats, playerGameLogs, teamGameLogs, boxScores, scoreboard, standings or players. Default playerStats.
seasonSeason like 2025-26 (or 2025). Empty = the latest season with data: before the new regular season starts, the previous one is used automatically.
seasonTypeRegular Season (default), Playoffs, PlayIn, Pre Season, All Star.
perModeFor season stats: PerGame (default), Totals, Per36, Per48, Per40, Per100Possessions, Per100Plays, PerMinute, PerPossession.
measureTypeBase (default), Advanced, Misc, Scoring, Usage, Defense, Four Factors, Opponent. Applies to season stats and player game logs.
teamsKeep only these teams: LAL, BOS, GSW... or names like Lakers.
playersKeep only these players: full name as on nba.com, numeric player id or nba.com player link.
gameIdsFor box scores: 10-digit game ids or nba.com game links. Empty = the newest games of the season or of the date range.
dateFrom, dateToDate range (YYYY-MM-DD) for game logs, box scores, scoreboard and season stats. Scoreboard: empty = today, up to 62 days per run.
lastNGamesSeason stats and game logs over the last N games only.
includeRanksAdds the league rank of every stat (ptsRank, astRank...).
includeTeamTotalsBox scores: one extra row per team per game with team totals.
maxItemsHard cap for the run (default 50; 0 = no cap).
proxyConfigurationDatacenter by default.

type, mode, statType, team, player, gameId, startUrls, startDate, endDate, maxResults and limit are accepted too, so inputs written for other NBA tools keep working.

Season stats come sorted with the leaders first (points for base stats, minutes for the other measure types), so a small maxItems gives you the players that matter.

Output fields

Every row has type, scrapedAt, errorCode and error, plus nba.com links (playerUrl, teamUrl, gameUrl) when the row has the matching id.

Data typeRow typeMain fields
playerStatsplayerSeasonStatsseason, seasonType, playerId, playerName, teamId, teamAbbreviation, age, gp, w, l, min, fgm, fga, fgPct, fg3m, fg3a, fg3Pct, ftm, fta, ftPct, oreb, dreb, reb, ast, tov, stl, blk, pf, pts, plusMinus, nbaFantasyPts, dd2, td3, perMode, measureType. Advanced: offRating, defRating, netRating, astPct, astTo, rebPct, efgPct, tsPct, usgPct, pace, pie, poss and more.
teamStatsteamSeasonStatsteamId, teamName, gp, w, l, wPct and the same stat columns as players.
playerGameLogsplayerGameLoggameId, gameDate, matchup, wl, playerId, playerName, teamAbbreviation, min, shooting, rebounds, assists, steals, blocks, turnovers, pts, plusMinus, nbaFantasyPts.
teamGameLogsteamGameLoggameId, gameDate, matchup, isHome, opponentAbbreviation, wl, team box score totals, plusMinus.
boxScoresplayerBoxScoregameId, gameDate (when found by date), teamTricode, isHome, opponentTricode, playerId, playerName, position, isStarter, comment (DNP reason), minutes, points, reboundsTotal, assists, steals, blocks, turnovers, field goal, three point and free throw made/attempted/percentage, plusMinusPoints.
scoreboardgamegameId, gameDate, gameStatus, arena, TV broadcasters, home* and away* team id, code, city, name, record, points, points by quarter, overtime points (only in overtime games), shooting percentages, assists, rebounds, turnovers.
standingsstandingteamId, teamCity, teamName, conference, division, playoffRank, wins, losses, winPct, record, home, road, l10, streaks, games back, clinch flags, records by margin and by month.
playersplayerplayerId, playerName, playerNameLastFirst, playerSlug, teamId, teamAbbreviation, teamName, isOnRoster, fromYear, toYear.

Example output

One row of the default input (2025-26 regular season, per game):

{
"type": "playerSeasonStats",
"season": "2025-26",
"seasonType": "Regular Season",
"playerId": 1629029,
"playerName": "Luka Dončić",
"teamId": 1610612747,
"teamAbbreviation": "LAL",
"age": 27.0,
"gp": 64,
"w": 43,
"l": 21,
"min": 35.8,
"fgPct": 0.476,
"fg3Pct": 0.366,
"ftPct": 0.78,
"reb": 7.7,
"ast": 8.3,
"stl": 1.6,
"blk": 0.5,
"tov": 4.0,
"pts": 33.5,
"plusMinus": 2.9,
"nbaFantasyPts": 57.7,
"dd2": 34,
"td3": 8,
"perMode": "PerGame",
"measureType": "Base",
"playerUrl": "https://www.nba.com/player/1629029",
"teamUrl": "https://www.nba.com/team/1610612747"
}

Errors

Problems come back as free rows with type: "error", so a run never fails silently and you are never charged for them.

errorCodeMeaning
INVALID_INPUTUnknown data type, season, team code, or stats.nba.com rejected the filter combination.
NOT_FOUNDPlayer name not found, or a game id without a box score (not played yet or wrong id).
INVALID_URLA game id or link that is not an NBA game.
NO_RESULTSThe season, dates or filters have no rows.
RANGE_TRIMMEDScoreboard range longer than 62 days; the first 62 days were read.
BLOCKEDstats.nba.com did not answer after several attempts; run again in a few minutes.

Integrations, scheduling and AI agents

  • Schedules: run scoreboard and boxScores every morning during the season with an empty date (today) or a rolling date to keep a database current. Season stats with lastNGames: 10 make a good daily "form" table.
  • Export: every dataset downloads as JSON, CSV, Excel, XML or RSS, or reads straight from the Apify API.
  • Make, n8n, Zapier: use the Apify integration to send new rows to Google Sheets, Airtable, Slack or a webhook.
  • Apify MCP server: AI agents (Claude, ChatGPT, Cursor and others) can call this Actor as a tool through the Apify MCP server to answer questions like "who led the league in assists last season" with live official numbers.

FAQ

Is this the official data? Yes. Every number comes from stats.nba.com, the official NBA statistics service.

Which seasons work? Season stats, game logs and standings go back decades; box score detail depends on what the NBA keeps for older games. The current season works as soon as games are played, preseason included.

Why did I get last season? With season empty and the new regular season not started yet, the Actor uses the latest season that has data, and says so in the log. Set season to force one.

How many rows is a full season? About 570 player lines, 30 team lines, 2,460 team game log lines and about 26,000 player game log lines for a regular season.

Do I need a proxy? The default Apify proxy works. You do not have to configure anything.

Limitations

  • Play-by-play, shot charts, tracking and hustle stats are not included in this version.
  • Player profile details beyond the statistics (photos, height, college, contracts) are not collected.
  • The NBA updates stats.nba.com a little after each game ends; live in-game numbers can lag.
  • Very large requests (all player game logs of a season) download about 10 MB and take a few seconds.

Changelog

  • 16 Oct 2026: first version with player and team season stats (all measure and per modes), player and team game logs, box scores by id or date, scoreboard, standings and the player list.