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

List teams

GET /v1/teams

Teams, by name, country, or the league or season they played in.

GEThttps://api.icehockeyapi.com/v1/teams
Get a key
https://api.icehockeyapi.com/v1/teams?league_id=lg_6t11wec7&q=New&per_page=3
curl "https://api.icehockeyapi.com/v1/teams?league_id=lg_6t11wec7&q=New&per_page=3" \
  -H "X-API-Key: YOUR_KEY"
200 OKExample answer from the data, 12 Oct
{
    "data": [
        {
            "id": "tm_vxt1q0ha",
            "name": "New Jersey Devils",
            "short_name": "NJD",
            "country": "North America"
        },
        {
            "id": "tm_k715zbf3",
            "name": "New York Americans",
            "short_name": "NYA",
            "country": "North America"
        },
        {
            "id": "tm_zy5w8596",
            "name": "New York Islanders",
            "short_name": "NYI",
            "country": "North America"
        }
    ],
    "meta": {
        "count": 3,
        "next_cursor": "eyJvIjozLCJuIjozfQ",
        "page": 1,
        "per_page": 3,
        "total": 4,
        "total_pages": 2,
        "next_page": 2,
        "prev_page": null,
        "plan": "Complete"
    }
}

Parameters

NameInTypeWhat it does
league_idqueryid A league, from /v1/leagues.
season_idqueryid A season, from /v1/leagues/{league_id}/seasons.
countryquerystring A country.
qquerystring Part of the team 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
short_namestring
countrystring

Errors