🗃️ team historicData detail

Game-by-game team statistics (TeamGameData) for a team.

Team stats are currently available for NFL teams. A team with no team stats returns 404 with a detail message; filters that match none of a team's games return [].

Authorization

🔐 Private API Key

📊

Product Required: This endpoint requires the historicData product subscription.

Returns game-by-game team statistics (TeamGameData) for a single team.

Query Parameters

ParameterTypeDescription
gamesBackintegerLimit to the most recent N completed games (counts distinct games, not stat rows).
seasonTypestringFilter by season type (REG, PRE, POST).
metricstringOne metric ID (METR_points) or a comma-separated list (METR_points,METR_rebounds).
📘

gamesBack counts games, not rows. A team typically has several stat rows per game (one per metric). gamesBack=5 returns the five most recent games with all of their matching stat rows.

Path Params
string
required

Team ID with "TEAM_" prefix

Query Params
integer

Limit to the most recent N completed games (counts distinct games, not stat rows)

string
enum

Filter by season type

Allowed:
string

One metric ID or a comma-separated list (e.g. METR_points,METR_assists)

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json