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()).
Value
A hoopR_data tibble with one row per season:
| col_name | types | description |
| season | character | Season (e.g. 2025-2026). |
| salary_cap | character | Salary cap. |
| luxury_tax | character | Luxury-tax threshold. |
| x1st_apron | character | First apron. |
| x2nd_apron | character | Second apron. |
| bae | character | Bi-annual exception. |
| non_taxpayer_mle | character | Non-taxpayer mid-level exception. |
| taxpayer_mle | character | Taxpayer mid-level exception. |
| team_room_mle | character | Room mid-level exception. |
See also
Other RealGM Functions:
realgm_coaches(),
realgm_draft(),
realgm_draft_prospects(),
realgm_early_entry(),
realgm_future_free_agents(),
realgm_gms(),
realgm_individual_games(),
realgm_individual_seasons(),
realgm_player_stats(),
realgm_players(),
realgm_players_abroad(),
realgm_rookie_scale(),
realgm_standings(),
realgm_team_stats(),
realgm_teams(),
realgm_transactions()
Examples
if (FALSE) { # \dontrun{
try(realgm_salary_cap())
} # }
