Skip to contents

Get ESPN NHL Game Prop Bets (core-v2)

Usage

espn_nhl_game_propbets(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier. Use espn_nhl_scoreboard()$game_id to find valid event ids.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per prop bet. Note: this endpoint returns 404 for most NHL games; an empty data.frame() is returned in that case. When data is available (e.g. playoff games):

col_nametypesdescription
event_idcharacterESPN event id (echoed from arg).
cidcharacterCompetition id (echoed from arg).
idcharacterProp bet identifier.
namecharacterProp bet name.
descriptioncharacterProp bet description.
display_valuecharacterProp bet display value.
valuenumericProp bet numeric value.
propbet_refcharacter$ref URL for this prop bet item.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_propbets(event_id = sb$game_id[1])
  })
#> ✖ 2026-11-13 21:26:58.835987: Invalid arguments or no ESPN nhl propbets for event 401688263 available!
#> ✖ Args: league = "nhl", event_id = "401688263", cid = "401688263"
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }