Skip to main content

SIHF (Swiss hockey) — SIHF statistics API (data.sihf.ch; National League, Swiss League and every SIHF league) — Team

sihf_team_goals​

Team goals for and against per season: totals and per game, even strength, power play and short-handed.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamGoal&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
goals_forInt64Goals scored (goals for).
goals_for_quotientFloat64Goals for per game.
goals_againstInt64Goals conceded (goals against).
goals_against_quotientFloat64Goals against per game.
even_goals_forInt64Even-strength goals for.
even_goals_for_quotientFloat64Even-strength goals for per game.
even_goals_againstInt64Even-strength goals against.
even_goals_against_quotientFloat64Even-strength goals against per game.
pp_goals_forInt64Power-play goals for.
pp_goals_for_quotientFloat64Power-play goals for per game.
pp_goals_againstInt64Goals against while on the power play.
pp_goals_against_quotientFloat64Goals against while on the power play, per game.
sh_goalsInt64Short-handed goals for.
sh_goals_quotientFloat64Short-handed goals for per game.
pk_goals_againstInt64Goals against while short-handed.
pk_goals_against_quotientFloat64Goals against while short-handed, per game.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_goals(season=2026, league_id=1)

sihf_team_goals_by_position​

Team goals by scorer: forwards, defensemen and import players (totals and shares), plus shootout-winning goals for and against.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamGoalPosNation&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
goals_for_fw_dfInt64Goals by forwards and defencemen.
goals_for_fwInt64Goals by forwards.
goals_for_fw_percentFloat64Share of goals by forwards, percent.
goals_for_dfInt64Goals by defencemen.
goals_for_df_percentFloat64Share of goals by defencemen, percent.
goals_for_imInt64Goals by import (foreign-licence) players.
goals_for_im_percentFloat64Share of goals by import players, percent.
sow_goals_forInt64Deciding shootout goals scored.
sow_goals_againstInt64Deciding shootout goals conceded.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_goals_by_position(season=2026, league_id=1)

sihf_team_shots​

Team shots per season: on goal (total, slot, shooting percentage), missed, post, blocked, and shots against, with per-game rates.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamShotDetail&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
sog_sogInt64Shots on goal (saved or scored).
sog_sog_percentFloat64Shooting percentage (goals / shots on goal).
sog_sog_quotientFloat64Shots on goal per game.
sog_sog_slotInt64Slot shots on goal.
sog_sog_slot_per_gameFloat64Slot shots on goal per game.
sog_missedInt64Missed shots, total.
sog_missed_per_gameFloat64Missed shots per game.
sog_postInt64Post/crossbar shots, total.
sog_post_per_gameFloat64Post/crossbar shots per game.
blockingsInt64Number of shots blocked.
blockings_per_gameFloat64Blocked shots per game.
soga_sogInt64Shots on goal against, total.
soga_sog_per_gameFloat64Shots on goal against per game.
soga_sog_slotInt64Slot shots on goal against.
soga_sog_slot_per_gameFloat64Slot shots on goal against per game.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_shots(season=2026, league_id=1)

sihf_team_power_play​

Team power play per season: opportunities, goals, conversion percentage, power-play time, and short-handed goals against.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamPp&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
pp_opportunitiesInt64Power-play opportunities.
pp_opportunities_quotientFloat64Power-play opportunities per game.
pp_goals_forInt64Power-play goals for.
pp_goals_for_quotientFloat64Power-play goals for per game.
pp_percentFloat64Power-play percentage.
power_play_timeStringTime on the power play, mm:ss string (minutes may exceed 59), not seconds.
power_play_time_quotientStringTime on the power play per game, mm:ss string (minutes may exceed 59), not seconds.
pp_goals_againstInt64Goals against while on the power play.
pp_goals_against_quotientFloat64Goals against while on the power play, per game.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_power_play(season=2026, league_id=1)

sihf_team_penalty_kill​

Team penalty kill per season: times short-handed, goals against, kill percentage, penalty-kill time, and short-handed goals for.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamPk&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
pk_situationsInt64Short-handed situations.
pk_situations_quotientFloat64Short-handed situations per game.
pk_goals_againstInt64Goals against while short-handed.
pk_goals_against_quotientFloat64Goals against while short-handed, per game.
pk_percentFloat64Penalty-kill percentage.
penalty_kill_timeStringTime short-handed, mm:ss string (minutes may exceed 59), not seconds.
penalty_kill_time_quotientStringTime short-handed per game, mm:ss string (minutes may exceed 59), not seconds.
sh_goalsInt64Short-handed goals for.
sh_goals_quotientFloat64Short-handed goals for per game.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_penalty_kill(season=2026, league_id=1)

sihf_team_penalties​

Team penalties per season: 2-, 5- and 10-minute penalties, game misconducts, match penalties and penalty minutes.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamFoul&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
pim2Int64Number of 2-minute minor penalties.
pim5Int64Number of 5-minute major penalties.
pim10Int64Number of 10-minute misconducts.
game_misconductsInt64Number of game misconducts.
match_penaltiesInt64Number of match penalties.
pim_totalInt64Penalty minutes, total.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_penalties(season=2026, league_id=1)

sihf_team_shootouts​

Team shootouts per season: shootout wins and losses, attempts, goals and percentage, and attempts, goals against and saves.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamShootout&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
games_won_penaltyInt64Games won in a shootout.
games_lost_penaltyInt64Shootout losses.
pen_shotsInt64Shootout/penalty shots taken.
pen_shot_goalsInt64Shootout/penalty goals.
pen_shots_missedInt64Shootout/penalty shots missed.
pen_shots_percentFloat64Shootout/penalty conversion percentage.
pen_shots_againstInt64Shootout/penalty shots faced.
pen_shot_goals_againstInt64Shootout/penalty goals allowed.
pen_shot_savesInt64Shootout/penalty shots saved.
pen_shot_saves_percentFloat64Shootout/penalty save percentage.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_shootouts(season=2026, league_id=1)

sihf_team_faceoffs​

Team faceoffs per season: taken, won, lost, per game, and win percentage overall and by zone.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamFaceoff&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
faceoffsInt64Faceoffs taken, total.
faceoffs_per_gameFloat64Faceoffs taken per game.
faceoffs_percentFloat64Faceoff win percentage; '-' with no faceoffs.
faceoffs_wonInt64Number of faceoffs won.
faceoffs_lostInt64Number of faceoffs lost.
faceoffs_won_per_gameFloat64Faceoffs won per game.
faceoffs_lost_per_gameFloat64Faceoffs lost per game.
faceoffs_offensive_percentFloat64Faceoff win percentage, offensive zone.
faceoffs_neutral_percentFloat64Faceoff win percentage, neutral zone.
faceoffs_defensive_percentFloat64Faceoff win percentage, defensive zone.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_faceoffs(season=2026, league_id=1)

sihf_team_faceoffs_by_zone​

Team faceoffs by zone (offensive, neutral, defensive) per season: taken, won, lost and win percentage.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamFaceoffZone&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
faceoffs_offensiveInt64Faceoffs taken, offensive zone.
faceoffs_offensive_percentFloat64Faceoff win percentage, offensive zone.
faceoffs_won_offensiveInt64Faceoffs won, offensive zone.
faceoffs_lost_offensiveInt64Faceoffs lost, offensive zone.
faceoffs_neutralInt64Faceoffs taken, neutral zone.
faceoffs_neutral_percentFloat64Faceoff win percentage, neutral zone.
faceoffs_won_neutralInt64Faceoffs won, neutral zone.
faceoffs_lost_neutralInt64Faceoffs lost, neutral zone.
faceoffs_defensiveInt64Faceoffs taken, defensive zone.
faceoffs_defensive_percentFloat64Faceoff win percentage, defensive zone.
faceoffs_won_defensiveInt64Faceoffs won, defensive zone.
faceoffs_lost_defensiveInt64Faceoffs lost, defensive zone.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_faceoffs_by_zone(season=2026, league_id=1)

sihf_team_faceoffs_by_zone_per_game​

Team faceoffs by zone (offensive, neutral, defensive) per game: taken, won and lost.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamFaceoffZoneGame&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
games_playedInt64Games played in the table's scope.
faceoffs_offensive_per_gameFloat64Faceoffs taken per game, offensive zone.
faceoffs_won_offensive_per_gameFloat64Faceoffs won per game, offensive zone.
faceoffs_lost_offensive_per_gameFloat64Faceoffs lost per game, offensive zone.
faceoffs_neutral_per_gameFloat64Faceoffs taken per game, neutral zone.
faceoffs_won_neutral_per_gameFloat64Faceoffs won per game, neutral zone.
faceoffs_lost_neutral_per_gameFloat64Faceoffs lost per game, neutral zone.
faceoffs_defensive_per_gameFloat64Faceoffs taken per game, defensive zone.
faceoffs_won_defensive_per_gameFloat64Faceoffs won per game, defensive zone.
faceoffs_lost_defensive_per_gameFloat64Faceoffs lost per game, defensive zone.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_faceoffs_by_zone_per_game(season=2026, league_id=1)

sihf_team_attendance​

Team home attendance per season: home games, total and average spectators, average arena capacity and utilisation.

Endpoint URL: GET https://data.sihf.ch/statistic/api/cms/table

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=teamSpectator&searchQuery=1%2F%2F1&language=en&filterBy=Season&filterQuery=2026

API ParameterPythonPatternRequiredNullableDescription
SeasonseasonYRequired. Season by its END year (2026 = 2025-26). A season SIHF does not have raises NoDataError (the API itself silently answers another one).
Leagueleague_idYSIHF league id: 1 = National League, 2 = Swiss League, 100 = MyHockey League, 3 = 1. Liga, 43 = SWHL B, 113 = U21-Elit (the body's League filter lists them). An id SIHF does not have for the season raises NoDataError.
Phasephase_idYSIHF phase id (regular season, a playoff round, ...; the body's Phase filter lists them). None = no phase filter: the season summary over every phase.
languagelanguageYResponse language. Only part of the body is translated: status, position and penalty names stay German.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
seasonInt64Season by its END year (2026 = 2025-26), from the body's echo of the Season filter.
phase_idInt64SIHF phase id (regular season, a playoff round, ...); null unless a phase filter is passed.
rankInt64Rank in the table; null on a summary row, and on a goaltender below the qualification line.
team_idInt64SIHF team id (Int64 join key); null on a summary row (the pseudo-team 100000).
team_nameStringTeam display name as SIHF publishes it; "Durchschnitt" on the league-average row, "Total" on the attendance total row.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD"); null on a summary row.
home_gamesInt64Number of home games.
spectatorsInt64Total home attendance (SIHF prints a ’ thousands separator; dropped here).
stadium_capacity_quotientFloat64Average arena capacity.
spectators_quotientFloat64Average home attendance per game.
stadium_capacity_percentFloat64Average arena utilisation, percent.
row_typeString"data" for a regular row; "average" (league average) or "total" (attendance total) for a summary row SIHF mixes into the table.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. SIHF answered 404 (unknown game), or it ignored a requested season / league / phase and served another one.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

sihf_team_attendance(season=2026, league_id=1)