Skip to main content
AI Studio  add-on for Spider.
basketball-reference.com · HTTP 200

Basketball Reference Scraper

Spider read basketball-reference.com in 182 ms without a browser and returned 919 lines of clean markdown, including sections like "Every NBA Team", "2025-26 NBA Standings" and "Stathead Basketball Powered By Basketball Reference".

Get your free API key
Free balance on signup No card. Failed requests cost $0.
Response basketball-reference.com/index.md markdown · 919 lines
Player pages include basic statistics and links to player's game logs, splits, advanced stats, and more.## Every NBA Team### 2025-26 NBA StandingsTeam pages include statistics, rosters, payroll, schedules, game logs, splits, advanced stats, and more.## Stathead Basketball Powered By Basketball Reference### The sports search engine that was made for *fans like you*Exploring the Basketball Reference database just got easierhttps://www.sports-reference.com/stathead/sport/basketball?&utm_medium=sr_xsite&utm_source=bbr&utm_campaign=2023_02_wdgt_home_stathead&utm_content=bttn_start_your_free_trial>)https://www.sports-reference.com/stathead/basketball-sample-searches.html?&utm_medium=sr_xsite&utm_source=bbr&utm_campaign=2023_02_wdgt_home_stathead&utm_content=bttn_learn_more>)* Access to the most complete sports database on the internet* Discovery tools to search the Basketball Reference database* Ad free viewing on Basketball Reference**Which team has the highest average margin of victory in a season?**https://www.sports-reference.com/stathead/tiny/lZOnG?&utm_medium=sr_xsite&utm_source=bbr&utm_campaign=2023_02_wdgt_home_stathead&utm_content=bttn_see_it_on_stathead>)### Stathead Resourceshttps://info.stathead.com/stathead-basketball-getting-started?&utm_medium=sr_xsite&utm_source=bbr&utm_campaign=2023_02_wdgt_home_stathead&utm_content=bttn_tips_and_tricks>)https://faq.sports-reference.com/portal/en/newticket?&utm_medium=sr_xsite&utm_source=bbr&utm_campaign=2023_02_wdgt_home_stathead&utm_content=bttn_contact_us>)https://www.youtube.com/watch?v=Kg4p7G6wlcI&list=PLjwfEr7H29D8Wrwt6o0Cor_OOaTScOf3a&utm_medium=sr_xsite&utm_source=bbr&utm_campaign=2023_02_wdgt_home_stathead&utm_content=bttn_tutorials>)
Code · Fields · Cost · Run it keyless, no account

The same call, in code.

The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on basketball-reference.com.

basketball-reference-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.basketball-reference.com/leagues/NBA_2025_per_game.html");

// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();

console.log(data);
await spider.close();
ready to run · spider-browser, no selectors

Ready for volume? Get an API key →

Fields you can pull.

Player namePoints per gameReboundsAssistsTeamSeasonShooting %

Spider names these from the page. The capture above came back as markdown; the same call with return_format: "json" returns them as keys.

What basketball-reference.com costs to scrape.

The capture above cost $0.00051 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.

  • Free balance on signup
  • No card required to test
  • Balance never expires
See the full pricing →

Run it keyless, no account

curl -X POST https://api.spider.cloud/scrape -H "Content-Type: application/json" -d '{"url": "https://basketball-reference.com/", "return_format": "markdown"}'

More Sports & Fitness scrapers.

Start scraping basketball-reference.com.

You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.