Skip to contents

Get the NBA salary-cap history (and projections) from RealGM.

One row per season with the cap, luxury-tax line, both aprons, bi-annual exception and the mid-level exception tiers. Dollar figures are returned as the formatted strings RealGM publishes (e.g. "$140,588,000").

Requires a headless browser (see realgm_players()).

Usage

realgm_salary_cap()

Value

A hoopR_data tibble with one row per season:

col_nametypesdescription
seasoncharacterSeason (e.g. 2025-2026).
salary_capcharacterSalary cap.
luxury_taxcharacterLuxury-tax threshold.
x1st_aproncharacterFirst apron.
x2nd_aproncharacterSecond apron.
baecharacterBi-annual exception.
non_taxpayer_mlecharacterNon-taxpayer mid-level exception.
taxpayer_mlecharacterTaxpayer mid-level exception.
team_room_mlecharacterRoom mid-level exception.

Examples

if (FALSE) { # \dontrun{
  try(realgm_salary_cap())
} # }