NBA team stats tables
The team stats tables of nba.com/stats: traditional, advanced, four factors, misc, scoring, opponent, usage and defense columns with league ranks, with the same filters as the player tables. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Part of the NBA API: 22 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
season | string | Season as 2025-26 or its first year 2025; the current season by default. |
season_type | regular | playoffs | preseason | play-in | cup | all-star | regular (default), playoffs, preseason, play-in, cup (NBA Cup) or all-star. |
measure_type | string | Table: base (default), advanced, misc, scoring, usage, defense, fourfactors, opponent. |
per_mode | string | |
team | string | Team abbreviation (LAL, BOS ...) or nickname. |
opponent | string | Only games against this team (abbreviation). |
start_date | string | From date (YYYY-MM-DD). |
end_date | string | To date (YYYY-MM-DD). |
last_n_games | integer | Only each team's last N games. |
month | integer | Month of the season (1 = October ... 9 = June). |
location | home | road | home or road. |
outcome | W | L | W or L. |
season_segment | pre-all-star | post-all-star | pre-all-star or post-all-star. |
period | integer | Only this quarter (1-4) or overtime (5+). |
game_segment | first-half | second-half | overtime | first-half, second-half or overtime. |
conference | string | East or West. |
division | string | Division name, e.g. Pacific. |
vs_conference | string | Only games against this conference. |
vs_division | string | Only games against this division. |
min_games | integer | Minimum games played. |
sort | string | Column to sort by (a snake_case column of the table, e.g. pts, net_rating, plus_minus). |
direction | desc | asc | desc (default) or asc. |
page | integer | Page number, from 1. |
limit | integer | Rows per page (1-500, default 30). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/nba/v1/stats/teams?season=2025-26" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/nba/v1/stats/teams",
params={"season": "2025-26"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/nba/v1/stats/teams");
url.searchParams.set("season", "2025-26");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"applied_filters": {"season": "2025-26","season_type": "Regular Season","measure_type": "Base","per_mode": "PerGame"},"total": 30,"page": 1,"count": 30,"next_page": null,"rows": [{"team_id": 1610612737,"team_name": "Atlanta Hawks","gp": 82,"w": 46,"l": 36,"w_pct": 0.561,"min": 48.2,"fgm": 43.6,"fga": 92,"fg_pct": 0.474,"fg3_m": 14.6,"fg3_a": 39.5,"fg3_pct": 0.371,"ftm": 16.6,"fta": 21.5,"ft_pct": 0.774,"oreb": 11,"dreb": 32.6,"reb": 43.5,"ast": 30.1,"tov": 14.2,"stl": 9.4,"blk": 4.7,"blka": 4.9,"pf": 19.7,"pfd": 18.5,"pts": 118.5,"plus_minus": 2.4,"gp_rank": 1,"w_rank": 11,"l_rank": 11,"w_pct_rank": 11,"min_rank": 14,"fgm_rank": 2,"fga_rank": 2,"fg_pct_rank": 13,"fg3_m_rank": 6,"fg3_a_rank": 9,"fg3_pct_rank": 5,"ftm_rank": 26,"…": "14 more fields"},{"team_id": 1610612738,"team_name": "Boston Celtics","gp": 82,"w": 56,"l": 26,"w_pct": 0.683,"min": 48.1,"fgm": 42.1,"fga": 90.2,"fg_pct": 0.467,"fg3_m": 15.5,"fg3_a": 42.1,"fg3_pct": 0.367,"ftm": 15.1,"fta": 18.7,"ft_pct": 0.807,"oreb": 12.5,"dreb": 33.9,"reb": 46.4,"ast": 24.6,"tov": 12.4,"stl": 7.1,"blk": 5,"blka": 4.1,"pf": 19,"pfd": 18.4,"pts": 114.9,"plus_minus": 7.7,"gp_rank": 1,"w_rank": 4,"l_rank": 4,"w_pct_rank": 4,"min_rank": 26,"fgm_rank": 14,"fga_rank": 9,"fg_pct_rank": 16,"fg3_m_rank": 3,"fg3_a_rank": 4,"fg3_pct_rank": 8,"ftm_rank": 29,"…": "14 more fields"},"… 28 more"],"cached": false,"credits_used": 1}