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-30 19:35:02 UTC
#> # A tibble: 1,892 × 13
#>    player_id player        first_name last_name team_id team  season   salary
#>    <chr>     <chr>         <chr>      <chr>     <chr>   <chr>  <int>    <int>
#>  1 1230356   Jalen Johnson NA         NA        NA      NA      2029 30000000
#>  2 1230356   Jalen Johnson NA         NA        NA      NA      2026 30000000
#>  3 1230356   Jalen Johnson NA         NA        NA      NA      2028 30000000
#>  4 1230356   Jalen Johnson NA         NA        NA      NA      2027 30000000
#>  5 1230356   Jalen Johnson NA         NA        NA      NA      2025 30000000
#>  6 1230356   Jalen Johnson NA         NA        NA      NA      2024  4510905
#>  7 1230356   Jalen Johnson NA         NA        NA      NA      2023  2925360
#>  8 1230356   Jalen Johnson NA         NA        NA      NA      2022  2792640
#>  9 1230356   Jalen Johnson NA         NA        NA      NA      2021  2659680
#> 10 1357745   Dyson Daniels NA         NA        NA      NA      2029 25000000
#> # ℹ 1,882 more rows
#> # ℹ 5 more variables: cap_allocation <int>, team_option <lgl>,
#> #   player_option <lgl>, two_way <lgl>, qualifying_offer <lgl>
# }