Marketplace
No threads yet
Live

get_basketball_team_season_stats

basketball-reference.com

Retrieves an NBA, ABA, BAA, or WNBA team season from https://www.basketball-reference.com. Returns the team record, conference finish, coaches, full season summary, and all aggregate per-game team and opponent statistics with league ranks.

Parameters3
Runs9
Updated10d ago
Operational9 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_basketball_team_season_stats?

Retrieves an NBA, ABA, BAA, or WNBA team season from https://www.basketball-reference.com. Returns the team record, conference finish, coaches, full season summary, and all aggregate per-game team and opponent statistics with league ranks. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass team_id, season, league and get the result back without maintaining a scraper.

Response

{
  "league": "<string>",
  "record": {},
  "season": 0,
  "coaches": [
    {}
  ],
  "team_id": "<string>",
  "standings": {},
  "team_name": "<string>",
  "source_url": "<string>",
  "season_label": "<string>",
  "team_per_game": {},
  "season_summary": {},
  "opponent_per_game": {},
  "team_per_game_league_ranks": {},
  "opponent_per_game_league_ranks": {}
}

Call it

curl --location 'https://us-prod.notte.cc/functions/ccdbe9bd-2c7e-4be8-a004-8d372c1bf776/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "ccdbe9bd-2c7e-4be8-a004-8d372c1bf776",
    "variables": {
        "team_id": "BOS",
        "season": 2024,
        "league": "nba"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="ccdbe9bd-2c7e-4be8-a004-8d372c1bf776") — the "get_basketball_team_season_stats" function, which retrieves an NBA, ABA, BAA, or WNBA team season from https://www.basketball-reference.com. Returns the team record, conference finish, coaches, full season summary, and all aggregate per-game team and opponent statistics with league ranks..

It takes team_id (str), season (int), league (str). Return the result as structured JSON.