Skip to contents

Get NBA player salaries from HoopsHype.

Returns the full league's player salaries, one row per player per contract season (current plus future seasons HoopsHype lists). No API key is required; dollar figures are returned as numeric.

HoopsHype is a Next.js app whose single salaries page paginates client-side, but each team's salary page (/salaries/{team}/) embeds that team's complete roster in its __NEXT_DATA__ payload. This function iterates the 30 team pages and stitches them together (≈30 requests per call) using a team-by-team approach.

Usage

hoopshype_salaries()

Value

A hoopR_data tibble with one row per player-season:

col_nametypesdescription
player_idcharacterHoopsHype player id.
playercharacterPlayer name.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
team_idcharacterHoopsHype team id.
teamcharacterTeam name.
seasonintegerContract season (4-digit ending year).
salarynumericSalary for the season (USD).
cap_allocationnumericCap allocation for the season (USD).
team_optionlogicalWhether the season is a team option.
player_optionlogicalWhether the season is a player option.
two_waylogicalWhether it is a two-way contract.
qualifying_offerlogicalWhether it is a qualifying offer.

See also

Other Salary & Draft Functions: nbadraft_mock_draft(), spotrac_team_cap()

Examples

# \donttest{
  try(hoopshype_salaries())
#> ── Player salaries from hoopshype.com ─────────────────────────── hoopR 3.1.0 ──
#>  Data updated: 2026-06-13 07:19:55 UTC
#> # A tibble: 2,110 × 13
#>    player_id player        first_name last_name team_id team       season salary
#>    <chr>     <chr>         <chr>      <chr>     <chr>   <chr>       <int>  <int>
#>  1 522878    CJ McCollum   CJ         McCollum  1       Atlanta H…   2025 3.07e7
#>  2 1230356   Jalen Johnson NA         NA        NA      NA           2029 3   e7
#>  3 1230356   Jalen Johnson NA         NA        NA      NA           2026 3   e7
#>  4 1230356   Jalen Johnson NA         NA        NA      NA           2028 3   e7
#>  5 1230356   Jalen Johnson NA         NA        NA      NA           2025 3   e7
#>  6 1230356   Jalen Johnson NA         NA        NA      NA           2027 3   e7
#>  7 1230356   Jalen Johnson NA         NA        NA      NA           2024 4.51e6
#>  8 1230356   Jalen Johnson NA         NA        NA      NA           2023 2.93e6
#>  9 1230356   Jalen Johnson NA         NA        NA      NA           2022 2.79e6
#> 10 1230356   Jalen Johnson NA         NA        NA      NA           2021 2.66e6
#> # ℹ 2,100 more rows
#> # ℹ 5 more variables: cap_allocation <int>, team_option <lgl>,
#> #   player_option <lgl>, two_way <lgl>, qualifying_offer <lgl>
# }