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

List leagues

GET /v1/leagues

Every league and competition, with country, level, age group and gender.

GEThttps://api.icehockeyapi.com/v1/leagues
Get a key
https://api.icehockeyapi.com/v1/leagues?per_page=3
curl "https://api.icehockeyapi.com/v1/leagues?per_page=3" \
  -H "X-API-Key: YOUR_KEY"
200 OKExample answer from the data, 12 Oct
{
    "data": [
        {
            "id": "lg_j19r6ymm",
            "name": "2. Liga",
            "country": "Czech Republic",
            "level": null,
            "age_group": "senior",
            "gender": "men",
            "kind": "league"
        },
        {
            "id": "lg_hqme005w",
            "name": "2. Liga",
            "country": "Slovakia",
            "level": null,
            "age_group": "senior",
            "gender": "men",
            "kind": "league"
        },
        {
            "id": "lg_kqera1j9",
            "name": "2. Liga - East",
            "country": "Czech Republic",
            "level": null,
            "age_group": "senior",
            "gender": "men",
            "kind": "league"
        }
    ],
    "meta": {
        "count": 3,
        "next_cursor": "eyJvIjozLCJuIjozfQ",
        "page": 1,
        "per_page": 3,
        "total": 1275,
        "total_pages": 425,
        "next_page": 2,
        "prev_page": null,
        "plan": "Complete"
    }
}

Parameters

NameInTypeWhat it does
countryquerystring Country name, as the leagues list shows it
kindqueryenum The kind of competition.
leaguecupfriendlyinternational
genderqueryenum Men's or women's.
menwomen
agequeryenum The age group.
seniorjunior
qquerystring Part of the league name
pagequeryint The page, from 1.
per_pagequeryint Records a page, default 50, at most 200.
cursorquerystring meta.next_cursor from the previous answer.

Returns

FieldType
idstring
namestring
countrystring
levelnull
age_groupstring
genderstring
kindstring

Errors