Skip to main content

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

sihf_player_stats​

Skater season totals: games, goals, assists, points, penalty minutes, plus-minus.

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

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=player&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 (player / goalie tables), every game (results), the regular-season table (standings).
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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas").
team_idInt64SIHF team id (Int64 join key).
team_nameStringTeam display name as SIHF publishes it.
team_acronymStringTeam abbreviation as SIHF publishes it (e.g., "HCD").
positionStringPosition, German whatever the language (e.g., "Stürmer").
games_playedInt64Games the player played in the selection.
goalsInt64Goals scored by the player.
assistsInt64Assists (primary + secondary).
pointsInt64Points (goals + assists).
points_per_gameFloat64Points per game.
pim_totalInt64Penalty minutes.
plus_minusInt64Plus-minus: even-strength and shorthanded goals for, minus against, while on ice.
row_typeString"data" for a regular row; "average" or "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_player_stats(season=2026, league_id=1)

sihf_player_goals_assists​

Skater goals and assists by situation: even strength, power play, short-handed, game-winning and overtime goals, hat tricks.

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

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=playerGoalAssist&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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas"); season tables carry no player id.
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.
positionStringPosition, German whatever the language (e.g., "Stürmer"); null when SIHF prints "-".
games_playedInt64Games played in the table's scope.
goalsInt64Goals scored (total).
assistsInt64Assists credited.
assists1Int64Primary assists.
assists2Int64Secondary assists.
game_winning_goalsInt64Game-winning goals.
eq_goalsInt64Even-strength goals.
eq_assistsInt64Even-strength assists.
pp_goalsInt64Power-play goals.
pp_assistsInt64Power-play assists.
pk_goalsInt64Short-handed goals.
pk_assistsInt64Short-handed assists.
overtime_goalsInt64Overtime goals.
hattricksInt64Hat tricks (games with three or more goals).
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_player_goals_assists(season=2026, league_id=1)

sihf_player_shots​

Skater shots: on goal (total, slot, shooting percentage), missed, post and blocked, 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=playerShotDetail&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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas"); season tables carry no player id.
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.
positionStringPosition, German whatever the language (e.g., "Stürmer"); null when SIHF prints "-".
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.
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_player_shots(season=2026, league_id=1)

sihf_player_penalties​

Skater penalties: penalty minutes, 2-, 5- and 10-minute penalties, game misconducts and match penalties.

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

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=playerFoul&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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas"); season tables carry no player id.
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.
positionStringPosition, German whatever the language (e.g., "Stürmer"); null when SIHF prints "-".
games_playedInt64Games played in the table's scope.
pim_totalInt64Penalty minutes, total.
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.
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_player_penalties(season=2026, league_id=1)

sihf_player_shootouts​

Skater shootouts: attempts, goals, misses, percentage and shootout-winning goals.

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

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=playerShootout&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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas"); season tables carry no player id.
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.
positionStringPosition, German whatever the language (e.g., "Stürmer"); null when SIHF prints "-".
games_playedInt64Games played in the table's scope.
pen_shotsInt64Shootout/penalty shots taken.
pen_shot_goalsInt64Shootout/penalty goals.
pen_shots_missedInt64Shootout/penalty shots missed.
pen_shots_percentFloat64Shootout/penalty conversion percentage.
pen_shot_winning_goalsInt64Deciding shootout goals.
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_player_shootouts(season=2026, league_id=1)

sihf_player_faceoffs​

Skater faceoffs: 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=playerFaceoff&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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas"); season tables carry no player id.
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.
positionStringPosition, German whatever the language (e.g., "Stürmer"); null when SIHF prints "-".
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_player_faceoffs(season=2026, league_id=1)

sihf_player_faceoffs_by_zone​

Skater faceoffs by zone (offensive, neutral, defensive): 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=playerFaceoffZone&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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas"); season tables carry no player id.
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.
positionStringPosition, German whatever the language (e.g., "Stürmer"); null when SIHF prints "-".
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_player_faceoffs_by_zone(season=2026, league_id=1)

sihf_player_faceoffs_by_zone_per_game​

Skater 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=playerFaceoffZoneGame&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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas"); season tables carry no player id.
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.
positionStringPosition, German whatever the language (e.g., "Stürmer"); null when SIHF prints "-".
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_player_faceoffs_by_zone_per_game(season=2026, league_id=1)

sihf_player_time_on_ice​

Skater ice time by situation (even strength, power play, penalty kill), totals and per game, plus shifts.

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

Valid URL: https://data.sihf.ch/statistic/api/cms/table?alias=playerTimeOnIce&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.
playerStringPlayer name as SIHF prints it, last name first (e.g., "Dahlbeck Klas"); season tables carry no player id.
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.
positionStringPosition, German whatever the language (e.g., "Stürmer"); null when SIHF prints "-".
games_playedInt64Games played in the table's scope.
time_on_ice_eqStringEven-strength time on ice, mm:ss string (minutes may exceed 59), not seconds.
time_on_ice_eq_per_gameStringEven-strength time on ice per game, mm:ss string (minutes may exceed 59), not seconds.
time_on_ice_ppStringPower-play time on ice, mm:ss string (minutes may exceed 59), not seconds.
time_on_ice_pp_per_gameStringPower-play time on ice per game, mm:ss string (minutes may exceed 59), not seconds.
time_on_ice_pkStringShort-handed time on ice, mm:ss string (minutes may exceed 59), not seconds.
time_on_ice_pk_per_gameStringShort-handed time on ice per game, mm:ss string (minutes may exceed 59), not seconds.
time_on_iceStringTime on ice, total, mm:ss string (minutes may exceed 59), not seconds.
time_on_ice_per_gameStringTime on ice per game, mm:ss string (minutes may exceed 59), not seconds.
shiftsInt64Number of shifts on ice.
time_on_ice_per_shiftStringAverage time on ice per shift, mm:ss string (minutes may exceed 59), not seconds; '-' with no shifts.
shifts_per_gameFloat64Shifts 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_player_time_on_ice(season=2026, league_id=1)