Skip to contents

Get ESPN MCH / WCH Game Odds (core-v2)

Usage

espn_mch_game_odds(event_id, cid = event_id, ...)

espn_wch_game_odds(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per odds provider (typically 2 rows per game - consensus + one sportsbook):

col_nametypesdescription
event_idcharacterESPN event id (echoed from arg).
cidcharacterCompetition id (echoed from arg).
provider_idcharacterOdds provider identifier.
provider_namecharacterOdds provider name.
provider_priorityintegerProvider display priority.
detailscharacterOdds detail string (e.g. "DET -185").
over_undernumericOver/under total line.
spreadnumericPoint spread.
over_oddsnumericOver moneyline odds (American format).
under_oddsnumericUnder moneyline odds (American format).
moneyline_winnerlogicalWhether the moneyline winner was determined.
spread_winnerlogicalWhether the spread winner was determined.
away_team_favoritelogicalWhether the away team was the favorite.
away_team_moneylineintegerAway team moneyline (American format).
home_team_favoritelogicalWhether the home team was the favorite.
home_team_moneylineintegerHome team moneyline (American format).
open_overnumericOpening over decimal odds value.
open_undernumericOpening under decimal odds value.
open_total_americancharacterOpening total line in American format (e.g. "5.5").
odds_refcharacter$ref URL for this odds object.

Details

League slug mens-college-hockey; season is the END year (2026 = 2025-26). Same ESPN helper as espn_nhl_game_odds() (columns inherited); a collection may be empty.

espn_wch_game_odds() is the same wrapper for women's college hockey (league slug womens-college-hockey): same arguments, same columns.

See also

family_espn_mch lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try({
    sb <- espn_mch_scoreboard(dates = "20250110")
    espn_mch_game_odds(event_id = sb$game_id[1])
  })
#> ! 2026-11-13 21:26:07.103861: No odds returned for event 401715296.
#> data frame with 0 columns and 0 rows
# }
# \donttest{
  try({
    sb <- espn_wch_scoreboard(dates = "20250110")
    espn_wch_game_odds(event_id = sb$game_id[1])
  })
#> ✖ 2026-11-13 21:26:07.154977: 
#> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }