Skip to main content

KHL — KHL site REST (www.khl.ru/rest)

sportsdataverse.hockey.khl — 14 endpoints.

Note: Owner flag: the KHL and its webcaster platform are run by Russian operators, some clubs by sanctioned state companies. Fetching on your own machine is fine; any published data release, hosted mirror or redistribution needs owner (sanctions / legal) sign-off first.

Note: The documented curl request is schematic: the runtime primes a session (adds the form field sessid), maps season / stage to the form field values[tournament] (the tournament id) and sends the X-Requested-With, Origin and Referer headers.

khl_schedule​

Season schedule and results of a tournament, one row per game (All-Star games dropped).

Endpoint URL: POST https://www.khl.ru/rest/calendar/list/

Example request: curl -X POST 'https://www.khl.ru/rest/calendar/list/' -d 'season=2026&stage=regular'

API ParameterPythonInPatternRequiredNullableDescription
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). None = the site's current season.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
game_idInt64khl.ru game id; equals webcaster event khl_id / match_id
tournament_idInt64khl.ru tournament (stage) id, tnId: 1369 = 2025-26 regular season, 1370 its playoff; equals webcaster stage khl_id
dateStringGame date YYYY-MM-DD (Moscow time)
timeStringStart time hh:mm (Moscow time); not a game clock
home_club_idInt64Home CLUB id (stable across seasons; joins webcaster team khl_id)
home_nameStringHome team name (Russian on www.khl.ru)
away_club_idInt64Visitor CLUB id (stable across seasons; joins webcaster team khl_id)
away_nameStringVisitor team name (Russian on www.khl.ru)
home_scoreInt64Home goals (final, shootout winner counted)
away_scoreInt64Visitor goals (final, shootout winner counted)
decisionStringOT or SO when decided in overtime / a shootout; null in regulation
period_scoresStringPer-period home:away scores, comma-joined
winner_club_idInt64Club id of the winner
approvedInt641 = result confirmed by the league
arena_idInt64khl.ru arena id
arena_nameStringArena (city) name, from data.ARENAS

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_schedule(season=2026)

khl_roster​

Club roster (current season only): one row per player.

Endpoint URL: POST https://www.khl.ru/rest/clubs/team/

Example request: curl -X POST 'https://www.khl.ru/rest/clubs/team/' -d 'page=team&values%5Bclub_id%5D=7'

API ParameterPythonInPatternRequiredNullableDescription
values[club_id]club_idbodyYRequired. khl.ru CLUB id (7 = Spartak; schedule home_club_id), not a team-season id.

Returns​

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

col_nametypedescription
groupStringList the row comes from (position group / roster section)
player_idInt64khl.ru player id; equals webcaster player khl_id
photoStringPlayer photo URL on khl.ru (protocol-relative)
countryStringCitizenship (Russian)
lastnameStringLast name in Russian
firstnameStringFirst name in Russian
jnInt64Jersey number (not an id; 0 on a team event)
ageInt64Player age in years
favoriteBooleanFront-end favourite flag of the signed-in user (always False here)
linkStringRelative khl.ru page path

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_roster(club_id=7)

khl_stat_filters​

Stats filter options: seasons, tournaments, position groups and clubs (one row per option).

Endpoint URL: POST https://www.khl.ru/rest/filters/statplayers/

Example request: curl -X POST 'https://www.khl.ru/rest/filters/statplayers/' -d 'season=2026&stage=regular'

API ParameterPythonInPatternRequiredNullableDescription
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). None = the site's current season.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
filterStringFilter code: season, tournament, amplua_full or clubs_full
filter_nameStringFilter label as the site prints it
valueStringOption code to send for the filter (a tournament id, a season code such as s19, a club slug)
nameStringOption label (Russian)
defInt64Default tournament id (tnId) of a season option
activeInt641 when the option is selectable

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_stat_filters(season=2026)

khl_game_header​

Game header: status, teams, score, arena (one row).

Endpoint URL: POST https://www.khl.ru/rest/game/header/

Example request: curl -X POST 'https://www.khl.ru/rest/game/header/' -d 'page=resume&values%5Bgameid%5D=898236&season=2026&stage=regular'

API ParameterPythonInPatternRequiredNullableDescription
values[gameid]game_idbodyYRequired. khl.ru game id (the schedule's game_id; equals webcaster event khl_id).
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). The game's season; required unless tournament_id is given.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
game_idInt64khl.ru game id; equals webcaster event khl_id / match_id
tournament_idInt64khl.ru tournament (stage) id, tnId: 1369 = 2025-26 regular season, 1370 its playoff; equals webcaster stage khl_id
home_club_idInt64Home CLUB id (stable across seasons; joins webcaster team khl_id)
home_team_season_idInt64Home team-season id (one per tournament; joins nothing in the webcaster API)
away_club_idInt64Visitor CLUB id (stable across seasons; joins webcaster team khl_id)
away_team_season_idInt64Visitor team-season id (one per tournament; joins nothing in the webcaster API)
arena_idInt64khl.ru arena id
home_scoreInt64Home goals (final, shootout winner counted)
away_scoreInt64Visitor goals (final, shootout winner counted)
roundInt64Playoff round number
roundnameStringRound label in Russian ('Неделя 29' = Week 29)
roundname_enStringRound label in English
dateStringGame date YYYY-MM-DD (Moscow time)
dayofweekInt64Day of week, 1 = Sunday (6 = Friday 2026-03-20)
timeStringStart time hh:mm:ss (Moscow time); not a game clock
changesInt64Count of changes to the game record (0 in the captured bodies; unverified)
numberInt64Game number within the tournament
home_name_l3StringHome club 3-letter code in Russian
home_name_enStringHome club name in English
home_name_l3_enStringHome club 3-letter code in English
home_city_enStringHome club city in English
visitor_name_l3StringVisiting club 3-letter code in Russian
visitor_name_enStringVisiting club name in English
visitor_name_l3_enStringVisiting club 3-letter code in English
visitor_city_enStringVisiting club city in English
arenaStringArena name in Russian
arena_enStringArena name in English
arena_cityStringArena city in Russian
arena_city_enStringArena city in English
msktime_sftInt64Offset of local time from Moscow time, hours (unverified)
gmttime_sftInt64Offset of Moscow time from GMT, hours (unverified)
tempString
scoreStringFinal score 'home:visitor'
otsStringHow the game ended: empty = regulation, OT = overtime, SO = shootout
attendanceInt64Attendance (numeric string)
approvedInt641 = result confirmed by the league
format_date_dayStringGame date YYYY-MM-DD (Moscow time), as the site formats it
time_formatStringStart time hh:mm (Moscow time)
full_dateInt64Start time, unix seconds (UTC)
date_typeStringFront-end date bucket of the game relative to today ('last' = already played; other values unverified)
typeStringGame state/type code (sogame = finished in a shootout)
winnerStringWinning side: A = home, B = visitor
visible_dateStringShort display date in Russian ('20 мар' = 20 March)
visible_date_fullStringDisplay date in Russian without the year ('20 марта')
visible_date_full2StringDisplay date in Russian with the year ('20 марта 2026')
visible_date_dayStringAbbreviated weekday in Russian ('пт' = Friday)
winInt64True when this club won

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_game_header(game_id=898236, season=2026)

khl_game_protocol​

Game protocol: one row per goal with scorer, assistants, strength and the jerseys on the ice.

Endpoint URL: POST https://www.khl.ru/rest/game/protocol/

Example request: curl -X POST 'https://www.khl.ru/rest/game/protocol/' -d 'values%5Bgameid%5D=898236&season=2026&stage=regular'

API ParameterPythonInPatternRequiredNullableDescription
values[gameid]game_idbodyYRequired. khl.ru game id (the schedule's game_id; equals webcaster event khl_id).
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). The game's season; required unless tournament_id is given.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
game_idInt64khl.ru game id; equals webcaster event khl_id / match_id
tournament_idInt64khl.ru tournament (stage) id, tnId: 1369 = 2025-26 regular season, 1370 its playoff; equals webcaster stage khl_id
periodInt64Period number (box score: 0 = the whole game; 4+ = overtime)
goal_numberInt64Goal number in the game
timeStringGame clock mm:ss (game-elapsed); period marker rows keep their wall-clock HH:MM
team_sideStringA = home, B = visitor
score_aInt64Home goals after the goal
score_bInt64Visitor goals after the goal
strengthStringStrength code as the site prints it (Russian: РАВ even, БОЛ power play, МЕН short-handed)
strength_textStringStrength label as the site prints it
scorer_player_idInt64Scorer's khl.ru player id
scorer_nameStringScorer's name with the season count in brackets
scorer_jnInt64Scorer's jersey
assist_1_player_idInt64First assistant's khl.ru player id
assist_1_nameStringFirst assistant's name with the season count in brackets
assist_1_jnInt64First assistant's jersey
assist_2_player_idInt64Second assistant's khl.ru player id
assist_2_nameStringSecond assistant's name with the season count in brackets
assist_2_jnInt64Second assistant's jersey
on_ice_aStringHome jerseys on the ice, comma-separated
on_ice_bStringVisitor jerseys on the ice, comma-separated

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_game_protocol(game_id=898236, season=2026)

khl_game_info​

Game info: teams, score, arena, officials, starting goalies (one row).

Endpoint URL: POST https://www.khl.ru/rest/game/text/

Example request: curl -X POST 'https://www.khl.ru/rest/game/text/' -d 'values%5Bgameid%5D=898236&season=2026&stage=regular'

API ParameterPythonInPatternRequiredNullableDescription
values[gameid]game_idbodyYRequired. khl.ru game id (the schedule's game_id; equals webcaster event khl_id).
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). The game's season; required unless tournament_id is given.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
game_idInt64khl.ru game id; equals webcaster event khl_id / match_id
tournament_idInt64khl.ru tournament (stage) id, tnId: 1369 = 2025-26 regular season, 1370 its playoff; equals webcaster stage khl_id
home_club_idInt64Home CLUB id (stable across seasons; joins webcaster team khl_id)
home_team_season_idInt64Home team-season id (one per tournament; joins nothing in the webcaster API)
away_club_idInt64Visitor CLUB id (stable across seasons; joins webcaster team khl_id)
away_team_season_idInt64Visitor team-season id (one per tournament; joins nothing in the webcaster API)
arena_idInt64khl.ru arena id
home_scoreInt64Home goals (final, shootout winner counted)
away_scoreInt64Visitor goals (final, shootout winner counted)
roundInt64Playoff round number
roundnameStringRound label in Russian ('Неделя 29' = Week 29)
roundname_enStringRound label in English
dateStringGame date YYYY-MM-DD (Moscow time)
dayofweekInt64Day of week, 1 = Sunday (6 = Friday 2026-03-20)
timeStringStart time hh:mm:ss (Moscow time); not a game clock
changesInt64Count of changes to the game record (0 in the captured bodies; unverified)
numberInt64Game number within the tournament
home_name_l3StringHome club 3-letter code in Russian
home_name_enStringHome club name in English
home_name_l3_enStringHome club 3-letter code in English
home_city_enStringHome club city in English
visitor_name_l3StringVisiting club 3-letter code in Russian
visitor_name_enStringVisiting club name in English
visitor_name_l3_enStringVisiting club 3-letter code in English
visitor_city_enStringVisiting club city in English
arenaStringArena name in Russian
arena_enStringArena name in English
arena_cityStringArena city in Russian
arena_city_enStringArena city in English
msktime_sftInt64Offset of local time from Moscow time, hours (unverified)
gmttime_sftInt64Offset of Moscow time from GMT, hours (unverified)
tempString
scoreStringFinal score 'home:visitor'
otsStringHow the game ended: empty = regulation, OT = overtime, SO = shootout
sc_p1String1st-period score 'home:visitor'
sc_p2String2nd-period score 'home:visitor'
sc_p3String3rd-period score 'home:visitor'
sc_p4StringOvertime or shootout score 'home:visitor'
attendanceInt64Attendance (numeric string)
approvedInt641 = result confirmed by the league
format_date_dayStringGame date YYYY-MM-DD (Moscow time), as the site formats it
time_formatStringStart time hh:mm (Moscow time)
full_dateInt64Start time, unix seconds (UTC)
date_typeStringFront-end date bucket of the game relative to today ('last' = already played; other values unverified)
typeStringGame state/type code (sogame = finished in a shootout)
winnerStringWinning side: A = home, B = visitor
visible_dateStringShort display date in Russian ('20 мар' = 20 March)
visible_date_fullStringDisplay date in Russian without the year ('20 марта')
visible_date_full2StringDisplay date in Russian with the year ('20 марта 2026')
visible_date_dayStringAbbreviated weekday in Russian ('пт' = Friday)
statusvalueStringGame status in Russian (матч завершен = match finished)
pernumInt64Number of regulation periods played
numlinesInt64Number of lines on the line-up card
gk_a_jnInt64Home starting goalie's JERSEY number (gameItem.gkA), not an id
gk_b_jnInt64Visitor starting goalie's JERSEY number (gameItem.gkB), not an id
is_events_have_multi_ovtBooleanTrue when the game has more than one overtime period (playoff)
idmainref1Int64Referee 1: khl.ru referee id
idmainref2Int64Referee 2: khl.ru referee id
idlineref1Int64Linesman 1: khl.ru referee id
idlineref2Int64Linesman 2: khl.ru referee id
jnmainref1StringReferee 1 sweater number
jnmainref2StringReferee 2 sweater number
jnlineref1StringLinesman 1 sweater number
jnlineref2StringLinesman 2 sweater number
refm1StringReferee 1, name in Russian
refm2StringReferee 2, name in Russian
refl1StringLinesman 1, name in Russian
refl2StringLinesman 2, name in Russian
statusInt64Game status code (90 = finished; other codes UNVERIFIED)
gk_a_player_idInt64khl.ru player id of the home starting goalie (gk_a_jn resolved through players)
gk_b_player_idInt64khl.ru player id of the visitor starting goalie (gk_b_jn resolved through players)

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_game_info(game_id=898236, season=2026)

khl_player_box​

Skater box score by period: one row per period, side and jersey, with the player id.

Endpoint URL: POST https://www.khl.ru/rest/game/text/

Example request: curl -X POST 'https://www.khl.ru/rest/game/text/' -d 'values%5Bgameid%5D=898236&season=2026&stage=regular'

API ParameterPythonInPatternRequiredNullableDescription
values[gameid]game_idbodyYRequired. khl.ru game id (the schedule's game_id; equals webcaster event khl_id).
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). The game's season; required unless tournament_id is given.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
game_idInt64khl.ru game id; equals webcaster event khl_id / match_id
tournament_idInt64khl.ru tournament (stage) id, tnId: 1369 = 2025-26 regular season, 1370 its playoff; equals webcaster stage khl_id
periodInt64Period number (box score: 0 = the whole game; 4+ = overtime)
team_sideStringA = home, B = visitor
jnInt64Jersey number (not an id; 0 on a team event)
player_idInt64khl.ru player id; equals webcaster player khl_id
player_nameStringPlayer name as the site prints it (Russian on www.khl.ru)
positionStringPosition code (Russian letter on www.khl.ru)
gInt64Goals scored in the period block
aInt64Home roster keyed by jersey number
pStringPoints (empty string when none)
shotsInt64Shots on goal in the period block
pimInt64Penalty minutes
foInt64Faceoffs taken in the period block
fowInt64Faceoffs won in the period block
fow_pctFloat64Stat code the bar is computed from
blsInt64Shots blocked in the period block
hitsInt64Hits (body checks)
faInt64Takeaways (the site labels this column 'Отборы', takeaways)
p_intcInt64Pass interceptions
sftStringTime on ice 'mm:ss(shifts)'
sfteStringEven-strength time on ice 'mm:ss(shifts)'
sftppStringPower-play time on ice 'mm:ss(shifts)'
sftshStringShort-handed time on ice 'mm:ss(shifts)'
sftenStringEmpty-net time on ice 'mm:ss(shifts)'
tiamsStringTime in the attacking zone (mm:ss)
tsFloat64Top speed, km/h (tracking; present by 2019/20)
dtFloat64Distance skated, km (tracking)
asFloat64Average speed, km/h (tracking)
pcdFloat64Puck-control duration (tracking; unit unverified)

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_player_box(game_id=898236, season=2026)

khl_pbp​

Play-by-play: shots, faceoffs, hits, blocks, giveaways, takeaways, penalties and goals (2008-09 on).

Endpoint URL: POST https://www.khl.ru/rest/game/text/

Example request: curl -X POST 'https://www.khl.ru/rest/game/text/' -d 'values%5Bgameid%5D=898236&season=2026&stage=regular'

API ParameterPythonInPatternRequiredNullableDescription
values[gameid]game_idbodyYRequired. khl.ru game id (the schedule's game_id; equals webcaster event khl_id).
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). The game's season; required unless tournament_id is given.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
game_idInt64khl.ru game id; equals webcaster event khl_id / match_id
tournament_idInt64khl.ru tournament (stage) id, tnId: 1369 = 2025-26 regular season, 1370 its playoff; equals webcaster stage khl_id
periodInt64Period number (box score: 0 = the whole game; 4+ = overtime)
event_indexInt640-based order of the event in the game, oldest first
event_typeStringperiod (start / end marker), faceoff, shot, block, action, penalty or goal
timeStringGame clock mm:ss (game-elapsed); period marker rows keep their wall-clock HH:MM
time_secondsInt64Game-elapsed seconds (null on period marker rows)
team_sideStringA = home, B = visitor
jnInt64Jersey number (not an id; 0 on a team event)
player_idInt64khl.ru player id; equals webcaster player khl_id
resultStringEvent result code (shots: goal / saved / miss; actions: hit, gva = giveaway, tka = takeaway, intc = interception)
result_textStringEvent result label
penalty_minutesInt64Penalty minutes (penalty events)
score_aInt64Home goals after the goal
score_bInt64Visitor goals after the goal
won_sideStringFaceoff winner's side (A / B)
won_jnInt64Faceoff winner's jersey
won_player_idInt64Faceoff winner's khl.ru player id
lost_sideStringFaceoff loser's side (A / B)
lost_jnInt64Faceoff loser's jersey
lost_player_idInt64Faceoff loser's khl.ru player id
won_zoneStringZone of the faceoff from the winner's view: offensive, neutral or defensive
shooter_sideStringBlocked shooter's side (A / B)
shooter_jnInt64Blocked shooter's jersey
shooter_player_idInt64Blocked shooter's khl.ru player id
period_actionStringPeriod marker: 0 = start, 1 = end (inferred)

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_pbp(game_id=898236, season=2026)

khl_shots​

Shot map: one row per shot with its x / y on the 1000 x 500 rink grid (2024-25 on).

Endpoint URL: POST https://www.khl.ru/rest/game/text/

Example request: curl -X POST 'https://www.khl.ru/rest/game/text/' -d 'values%5Bgameid%5D=898236&season=2026&stage=regular'

API ParameterPythonInPatternRequiredNullableDescription
values[gameid]game_idbodyYRequired. khl.ru game id (the schedule's game_id; equals webcaster event khl_id).
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). The game's season; required unless tournament_id is given.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
game_idInt64khl.ru game id; equals webcaster event khl_id / match_id
tournament_idInt64khl.ru tournament (stage) id, tnId: 1369 = 2025-26 regular season, 1370 its playoff; equals webcaster stage khl_id
periodInt64Period number (box score: 0 = the whole game; 4+ = overtime)
timeStringGame clock mm:ss (game-elapsed); period marker rows keep their wall-clock HH:MM
time_secondsInt64Game-elapsed seconds (null on period marker rows)
team_sideStringA = home, B = visitor
jnInt64Jersey number (not an id; 0 on a team event)
player_idInt64khl.ru player id; equals webcaster player khl_id
shot_typeInt641 = goal, 2 = saved (inferred upstream; unverified)
xInt64Shot x on the site's 1000 x 500 rink grid, origin top-left (indent_left = x/10 %); goal lines near x = 55 and 945. Team A (home) attacks +x and team B -x in every period, overtime included
yInt64Shot y on the site's 1000 x 500 grid, origin top-left, increasing downward (indent_top = y/5 %); the grid is stretched in y, about 1.18x against a 200 x 85 ft rink
indent_leftFloat64Shot position as percent from the left edge
indent_topFloat64Shot position as percent from the top edge
indent_rightFloat64Shot position as percent from the right edge
indent_bottomFloat64Shot position as percent from the bottom edge

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_shots(game_id=898236, season=2026)

khl_player_profile​

Player profile: bio, contract, club (one row).

Endpoint URL: POST https://www.khl.ru/rest/players/profile/

Example request: curl -X POST 'https://www.khl.ru/rest/players/profile/' -d 'values%5Bid%5D=41928'

API ParameterPythonInPatternRequiredNullableDescription
values[id]player_idbodyYRequired. khl.ru player id (the box score / roster player_id).

Returns​

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

col_nametypedescription
player_idInt64khl.ru player id; equals webcaster player khl_id
firstnameStringFirst name in Russian
lastnameStringLast name in Russian
photoStringPlayer photo URL on khl.ru (protocol-relative)
positionStringPosition code (Russian letter on www.khl.ru)
position_codeStringPosition key in English (goaltender, defender, forward)
biographyStringBiography text in Russian (HTML)
is_heroBooleanSite 'hero' flag (unverified meaning)
is_ripBooleanTrue for a deceased player
links_statsStringRelative khl.ru page path
pagelinkStringRelative khl.ru page path
summary_stats_gpInt64Career KHL games played (profile summary)
summary_stats_aInt64Career KHL assists (profile summary)
summary_stats_pmInt64Career KHL plus-minus (profile summary)
summary_stats_gInt64Career KHL goals (profile summary)
summary_stats_ptsInt64Career KHL points (profile summary)
jnInt64Jersey number (not an id; 0 on a team event)
club_nameStringName in Russian (Cyrillic); the *_en / *en sibling holds the English transliteration
club_logoStringCurrent club logo URL on khl.ru (protocol-relative)
club_codeStringClub slug (/clubs//)
heightStringHeight with its Russian unit ('183 см' = 183 cm)
weightStringWeight with its Russian unit ('85 кг' = 85 kg)
birthdateStringBirth date (Russian display format)
ageStringAge with its Russian unit ('27 лет' = 27 years)
contract_nameStringContract label in Russian
contract_dateStringContract end date
country_nameStringName in Russian (Cyrillic); the *_en / *en sibling holds the English transliteration
country_flagStringFlag image path of the player's country (citizenship)
sport_country_nameStringName in Russian (Cyrillic); the *_en / *en sibling holds the English transliteration
sport_country_flagStringFlag image path of the country the player represents in sport
stickStringShooting hand: l = left, r = right

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_player_profile(player_id=41928)

khl_player_career​

Player career: one row per season tournament.

Endpoint URL: POST https://www.khl.ru/rest/players/stats/

Example request: curl -X POST 'https://www.khl.ru/rest/players/stats/' -d 'values%5Bid%5D=41928'

API ParameterPythonInPatternRequiredNullableDescription
values[id]player_idbodyYRequired. khl.ru player id (the box score / roster player_id).

Returns​

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

col_nametypedescription
player_idInt64khl.ru player id; equals webcaster player khl_id
season_labelStringSeason label as sent (26/27, 2025/2026)
tournament_idInt64khl.ru tournament (stage) id, tnId: 1369 = 2025-26 regular season, 1370 its playoff; equals webcaster stage khl_id
team_season_idInt64Team-season id (tid; one per tournament; joins nothing in the webcaster API)
club_idInt64khl.ru CLUB id (stable across seasons; joins webcaster team khl_id)
team_nameStringTeam name as the site prints it
jnInt64Jersey number (not an id; 0 on a team event)
gpInt64Games played by the player
gInt64Goals scored by the player
aInt64Assists credited to the player
ptsInt64Points (goals plus assists)
pmInt64Plus-minus rating of the player
plusInt64Plus (on ice for a goal for)
minusInt64Minus (on ice for a goal against)
pimInt64Penalty minutes
eqgInt64Even-strength goals
ppgInt64Power-play goals
shgInt64Short-handed goals
otgInt64Overtime goals scored by the player
gwgInt64Game-winning goals
sdsInt64Shootout-deciding goals
sogInt64Shots on goal by the player
sog_pctFloat64Shooting percentage
sog_avgFloat64Shots on goal per game
foInt64Faceoffs taken by the player
fowInt64Faceoffs won by the player
fo_pctFloat64Faceoff win percentage
toi_avgStringAverage time on ice per game (mm:ss)
sft_avgFloat64Average shifts per game
tie_avgStringAverage even-strength time on ice per game
sfte_avgFloat64Average even-strength shifts per game
tipp_avgStringAverage power-play time on ice per game
sftpp_avgFloat64Average power-play shifts per game
tish_avgStringAverage short-handed time on ice per game
sftsh_avgFloat64Average short-handed shifts per game
hitsInt64Hits (body checks)
blsInt64Shots blocked by the player
foaInt64Faceoffs lost by the player
tkaInt64Takeaways by the player
p_intcInt64Pass interceptions

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_player_career(player_id=41928)

khl_playoff_bracket​

Playoff bracket: one row per team per series.

Endpoint URL: POST https://www.khl.ru/rest/standings/playoff/

Example request: curl -X POST 'https://www.khl.ru/rest/standings/playoff/' -d 'stage=playoff&values%5Btype%5D=playoff&season=2026'

API ParameterPythonInPatternRequiredNullableDescription
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). Required unless tournament_id is given.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
roundInt64Playoff round number
wins_to_advanceInt64Wins needed to win a series of the round
pairInt64Series number within the round
conferenceStringConference (west / east)
seedInt64Conference seed
club_idInt64khl.ru CLUB id (stable across seasons; joins webcaster team khl_id)
nameStringName in Russian (Cyrillic); the *_en / *en sibling holds the English transliteration
series_winsInt64Wins in the series so far
game_idsListkhl.ru game ids of the series games, a List(Int64) in feed order (unplayed slots skipped)

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_playoff_bracket(season=2026)

khl_standings​

Regular-season standings: one row per team per table (league, conferences, divisions).

Endpoint URL: POST https://www.khl.ru/rest/standings/regular/

Example request: curl -X POST 'https://www.khl.ru/rest/standings/regular/' -d 'values%5Btype%5D=regular&season=2026'

API ParameterPythonInPatternRequiredNullableDescription
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). None = the site's current season.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.

Returns​

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

col_nametypedescription
tableStringStandings table: league, a conference (west / east) or a division key
rankInt641-based position in its table / list
club_idInt64khl.ru CLUB id (stable across seasons; joins webcaster team khl_id)
nameStringName in Russian (Cyrillic); the *_en / *en sibling holds the English transliteration
gpInt64Games played (gp = w + otw + sow + sol + otl + l)
wInt64Regulation wins only: overtime (otw) and shootout (sow) wins are separate columns
otwInt64Overtime wins (not counted in w)
sowInt64Shootout wins (not counted in w)
solInt64Shootout losses
otlInt64Overtime losses
otl_enInt64Overtime losses with the net empty
lInt64Regulation losses only: overtime (otl) and shootout (sol) losses are separate columns
ptsInt64Points: 2 per win of any kind, 1 per overtime or shootout loss (3-2-1 in early seasons such as 2013-14)
goals_forInt64Goals scored by the team
goals_againstInt64Goals allowed by the team
is_out_playoffBooleanEliminated from playoff contention
linkStringRelative khl.ru page path

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_standings(season=2026)

khl_player_stats​

League player stats of a tournament, one page (goalies: every page) (one row per player).

Endpoint URL: POST https://www.khl.ru/rest/stat/players/

Example request: curl -X POST 'https://www.khl.ru/rest/stat/players/' -d 'season=2026&stage=regular&values%5Bamplua_full%5D=forwards&nav%5Bpage%5D=1&nav%5Bcount%5D=20'

API ParameterPythonInPatternRequiredNullableDescription
seasonseasonbodyYSeason by its END year (2026 = 2025-26), mapped to the KHL tournament id (tnId) through the webcaster season table (khl_webcaster_stages). None = the site's current season.
stagestagebodyYWhich stage of the season: regular or playoff.
values[tournament]tournament_idbodyYkhl.ru tournament id (tnId), sent as is instead of season / stage (1369 = 2025-26 regular season, 1370 its playoff; the schedule's tournament_id column). The All-Star games have their own.
values[amplua_full]positionbodyYPosition group: goalies, defenses, forwards, skaters or all. None = the site's default. goalies fetches every page and returns one list sorted by games played, then wins (both descending), then name; page is ignored for it. A partial list raises AssetFetchError.
values[clubs_full]clubbodyYClub slug (khl_stat_filters, filter clubs_full) or all. None = every club.
nav[page]pagebodyY1-based page (skaters); ignored for goalies. Loop until a page comes back shorter than per_page.
nav[count]per_pagebodyYRows per page: 12, 20, 24 or 36. Keep 20: the site computes page counts and ranks for 20.

Returns​

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

col_nametypedescription
groupStringList the row comes from (position group / roster section)
rankInt641-based position in its table / list
player_idInt64khl.ru player id; equals webcaster player khl_id
player_nameStringPlayer name as the site prints it (Russian on www.khl.ru)
imageStringPlayer photo URL on khl.ru (team-season specific)
jnInt64Jersey number (not an id; 0 on a team event)
gpInt64Games played by the player
gInt64Goals scored by the player
aInt64Assists credited to the player
ptsInt64Points (goals plus assists)
pmInt64Plus-minus rating of the player
plusInt64Plus (on ice for a goal for)
minusInt64Minus (on ice for a goal against)
pimInt64Penalty minutes
eqgInt64Even-strength goals
ppgInt64Power-play goals
shgInt64Short-handed goals
otgInt64Overtime goals scored by the player
gwgInt64Game-winning goals
sdsInt64Shootout-deciding goals
sogInt64Shots on goal by the player (shots faced for a goalie)
sog_pctFloat64Shooting percentage
sog_avgFloat64Shots on goal per game
foInt64Faceoffs taken by the player
fowInt64Faceoffs won by the player
fo_pctFloat64Faceoff win percentage
toi_avgStringAverage time on ice per game (mm:ss)
sft_avgFloat64Average shifts per game
tie_avgStringAverage even-strength time on ice per game
sfte_avgFloat64Average even-strength shifts per game
tipp_avgStringAverage power-play time on ice per game
sftpp_avgFloat64Average power-play shifts per game
tish_avgStringAverage short-handed time on ice per game
sftsh_avgFloat64Average short-handed shifts per game
hitsInt64Hits (body checks)
blsInt64Shots blocked by the player
wInt64Wins (goalies only)
lInt64Losses (goalies only)
sopInt64Games that went to a shootout (goalies only)
gaInt64Goals against (goalies only)
svInt64Saves, shots on goal stopped (goalies only)
sv_pctFloat64Save percentage on a 0-100 scale, saves / shots on goal x 100 (92.2 = .922; goalies only)
gaaFloat64Goals-against average, goals against per 60 minutes of ice time (goalies only)
soInt64Shutouts, games without a goal against (goalies only)
toiStringTotal time on the ice over the stage, text "minutes:seconds" (e.g. "3521:21"; goalies only, null when none)

return_parsed=False — the raw khl.ru envelope Dict ({status, data, errors}).

Raises​

ExceptionDescription
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. Khl.ru answered an error envelope (status != success), a 307 again after re-priming the session, or a page for another game / player / tournament than the one requested.
NoDataErrorThe host answered 404 -- the requested resource does not exist. Khl.ru answered no rows, or the season has no such stage.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.

Example​

khl_player_stats(position='forwards', season=2026)