New: MCP server for Claude and other assistants· every season back to 1917 on ArchiveSee plans

Roster

GET /v1/teams/{team_id}/roster
Live and up

The players who dressed for a team in a season, with number, position and games, for leagues with game detail.

GEThttps://api.icehockeyapi.com/v1/teams/{team_id}/roster
Get a key
https://api.icehockeyapi.com/v1/teams/tm_kpzj338v/roster?season_id=ss_0n4zhhna
curl "https://api.icehockeyapi.com/v1/teams/tm_kpzj338v/roster?season_id=ss_0n4zhhna" \
  -H "X-API-Key: YOUR_KEY"
200 OKExample answer from the data, 12 Oct
{
    "data": [
        {
            "player": {
                "id": "pl_5t0tyjwh",
                "name": "Gabe Perreault"
            },
            "number": "94",
            "position": "right_wing",
            "games": 10
        },
        {
            "player": {
                "id": "pl_90ce8vqz",
                "name": "Alberts Smits"
            },
            "number": "63",
            "position": "defense",
            "games": 10
        },
        {
            "player": {
                "id": "pl_9phqbmpc",
                "name": "Mika Zibanejad"
            },
            "number": "93",
            "position": "center",
            "games": 9
        }
    ],
    "meta": {
        "count": 45,
        "team_id": "tm_kpzj338v",
        "season_id": "ss_0n4zhhna",
        "plan": "Complete"
    }
}

Parameters

NameInTypeWhat it does
team_id requiredpathid A team, from /v1/teams.
season_id requiredqueryid A season, from /v1/leagues/{league_id}/seasons.

Returns

FieldType
playerobject
player.idstring
player.namestring
numberstring
positionstring
gamesint

Errors