NBA Stats Official Scraper avatar

NBA Stats Official Scraper

Pricing

from $19.00 / 1,000 results

Go to Apify Store
NBA Stats Official Scraper

NBA Stats Official Scraper

Scrapes official NBA stats from stats.nba.com: standings, league leaders, player stats, and team stats for any season. Returns flat JSON rows.

Pricing

from $19.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

5

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Share

ParseForge

NBA Stats Official Scraper

Scrape official NBA stats from stats.nba.com: standings, leaders, player stats, and team stats for any season. Get clean JSON rows with no API key or login. Export to CSV, JSON, Excel, or XML.

The NBA's official stats site has no public API and blocks normal scrapers. This Actor queries stats.nba.com endpoints directly and returns the data as flat rows. Pick an endpoint, a season, and a season type, and get the numbers you need.

Who uses itWhat they scrape NBA Stats for
Sports analystsPull current standings or player stats for a season to feed a model or report.
Fantasy basketball playersGet league leaders or player stats to make waiver wire decisions.
Sports bettorsDownload team stats for a season to inform betting models.
JournalistsGrab official NBA stats for a story without manual copying.
Data engineersLoad NBA stats into a warehouse on a schedule.

What it does

This Actor collects NBA standings, league leaders, player stats, or team stats from stats.nba.com and returns each record as a flat row.

  • ๐Ÿ€ League Standings: current standings for any season and season type.
  • ๐Ÿ“Š League Leaders: top players by points, rebounds, assists, and more.
  • ๐Ÿ‘ค Player Stats: per-game or totals for every player in a season.
  • ๐Ÿ“ˆ Team Stats: team-level stats for a season, regular or playoffs.
  • ๐Ÿ—“๏ธ Season and type filters: pick any season from 1996-97 onward and Regular Season, Playoffs, Pre Season, or All Star.
  • ๐Ÿ”ข Max items control: limit rows from 10 up to 1,000,000 per run.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with NBA Stats data

๐Ÿ“Š Build a season dashboard.

A data analyst runs the Actor for Player Stats, Regular Season, 2024-25, and loads the CSV into a BI tool to track player performance.

๐Ÿ† Track the playoff race.

A sports writer runs League Standings for the current season every morning and publishes the latest conference rankings.

๐ŸŽฏ Scout fantasy pickups.

A fantasy basketball player pulls League Leaders for the last week and sorts by points to find a hot free agent.

๐Ÿ“ˆ Feed a betting model.

A bettor downloads Team Stats for the last three seasons and uses the CSV to train a model that predicts point spreads.

๐Ÿ—„๏ธ Archive NBA history.

A data engineer schedules the Actor to fetch Player Stats for every season since 1996-97 and stores the JSON in a warehouse.

Why choose this scraper

What you get
Official sourceData comes straight from stats.nba.com, the NBA's own stats site.
No API keyNo registration, no OAuth, no rate-limit headaches.
Flat rowsEvery record is a flat object, ready for CSV, JSON, Excel, or XML.
Any seasonGo back to 1996-97 or pull the current season.
Flexible outputExport to CSV, JSON, Excel, or XML, or push to a dataset.

How it compares

No other Store actor targets NBA Stats the same way, so the honest comparison is with the alternatives teams actually weigh.

NBA Stats Official ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When NBA Stats changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor from one of four endpoints, then set the season and season type. Max items caps the rows returned. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10
}

A larger pull:

{
"maxItems": 200
}

Pricing

Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$2.10
1,000 results$21.00
10,000 results$210.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the NBA Stats Official Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to NBA Stats through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/nba-stats-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check the season format. It must be YYYY-YY, like 2024-25. Also make sure the season type matches the endpoint. For example, All Star may not have standings.

Why did I get only 10 rows?

Free runs are limited to 10 rows. Upgrade to a paid plan and set maxItems higher, up to 1,000,000.

Why does the run fail with a timeout?

stats.nba.com can be slow. Increase the Actor's timeout in the run settings, or reduce maxItems.

Why are some fields empty?

Not every stat is tracked for every season or season type. For example, advanced stats may be missing for older seasons.

Can I get data for a custom date range?

No. The Actor returns full season data. Filter by date in your own code after export.

FAQ

QuestionAnswer
Do I need an API key or login?No. The Actor queries stats.nba.com directly and handles the required headers for you.
Which endpoints can I scrape?League Standings, League Leaders, Player Stats, and Team Stats. Pick one per run.
What seasons are available?Any season from 1996-97 to the current one. Enter the season in YYYY-YY format, like 2024-25.
Can I get playoff stats?Yes. Set seasonType to Playoffs, Pre Season, All Star, or Regular Season.
How many rows can I get?Free runs return up to 10 rows. Paid runs can return up to 1,000,000 rows.
What format is the output?Each record is a flat JSON object. You can export the dataset to CSV, JSON, Excel, or XML.
Does this work for WNBA or G League?No. This Actor only queries stats.nba.com, which covers the NBA.
Can I schedule this to run daily?Yes. Use Apify's scheduler to run the Actor on a cron and push results to a dataset or storage.
Is this legal?You are responsible for how you use the data. The Actor only accesses publicly available stats pages.
What if I need a different endpoint?The Actor supports four endpoints. If you need another stats.nba.com endpoint, contact support and we can add it.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by NBA Media Ventures, LLC. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.