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

One league

GET /v1/leagues/{league_id}
Free key and up

One league, with its number of seasons and its latest season.

GEThttps://api.icehockeyapi.com/v1/leagues/{league_id}
Get a key
https://api.icehockeyapi.com/v1/leagues/lg_6t11wec7
curl "https://api.icehockeyapi.com/v1/leagues/lg_6t11wec7" \
  -H "X-API-Key: YOUR_KEY"
200 OKExample answer from the data, 12 Oct
{
    "data": {
        "id": "lg_6t11wec7",
        "name": "NHL",
        "country": "North America",
        "level": 1,
        "age_group": "senior",
        "gender": "men",
        "kind": "league",
        "seasons": 109,
        "games": 73156,
        "latest_season": {
            "id": "ss_0n4zhhna",
            "league_id": "lg_6t11wec7",
            "label": "2026-27",
            "start_year": 2026,
            "first_game_date": "2026-09-19",
            "last_game_date": "2026-10-20",
            "games": 216
        }
    },
    "meta": {
        "plan": "Complete"
    }
}

Parameters

NameInTypeWhat it does
league_id requiredpathid A league, from /v1/leagues.

Returns

FieldType
idstring
namestring
countrystring
levelint
age_groupstring
genderstring
kindstring
seasonsint
gamesint
latest_seasonobject
latest_season.idstring
latest_season.league_idstring
latest_season.labelstring
latest_season.start_yearint
latest_season.first_game_datestring
latest_season.last_game_datestring
latest_season.gamesint

Errors