Skip to contents

Returns the full contract record for one NBA athlete in one season, including salary, cap-rule flags, option type, Bird status, and trade protections. Backed by sports.core.api.espn.com/v2/sports/basketball/leagues/nba/athletes/{athlete_id}/contracts/{season}.

Usage

espn_nba_athlete_contract(athlete_id, season = most_recent_nba_season(), ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

season

Season year (numeric). Defaults to the most recent NBA season.

...

Additional arguments; currently unused.

Value

A single-row tibble.

col_nametypesdescription
athlete_idcharacterESPN athlete identifier.
seasonintegerContract season year.
bird_statusintegerBird-rights tier (0 = Non, 1 = Early, 2 = Full).
salarynumericTotal cap-counting salary for the season ($).
salary_remainingnumericRemaining salary owed.
years_remainingintegerYears left on the contract.
incoming_trade_valuenumericTrade value if receiving this contract ($).
outgoing_trade_valuenumericTrade value if sending out this contract ($).
option_typeintegerOption type code (e.g. team / player option).
minimum_salary_exceptionlogicalSigned under the minimum-salary exception.
trade_restrictionlogicalWhether a trade restriction is active.
unsigned_foreign_picklogicalUnsigned-foreign-pick flag.
activelogicalWhether the contract is currently active.
base_year_compensation_activelogicalBase-year-compensation rule active.
poison_pill_provision_activelogicalPoison-pill provision active.
trade_kicker_activelogicalTrade kicker active.
trade_kicker_percentagenumericTrade kicker percentage of salary.
trade_kicker_valuenumericTrade kicker dollar value.
trade_kicker_trade_valuenumericTrade kicker post-trade dollar value.
season_refcharacter$ref to the season resource.
team_refcharacter$ref to the team-in-season resource.
team_idcharacterESPN team id parsed from team_ref.
leaguecharacterLeague slug ("nba").

See also

Other ESPN NBA Functions: espn_nba_athlete_awards(), espn_nba_athlete_career_stats(), espn_nba_athlete_contracts(), espn_nba_athlete_eventlog(), espn_nba_athlete_eventlog_v2(), espn_nba_athlete_gamelog(), espn_nba_athlete_info(), espn_nba_athlete_overview(), espn_nba_athlete_seasons(), espn_nba_athlete_splits(), espn_nba_athlete_statisticslog(), espn_nba_athlete_stats(), espn_nba_athletes_index(), espn_nba_award(), espn_nba_betting(), espn_nba_calendar(), espn_nba_coach(), espn_nba_coach_season(), espn_nba_coaches(), espn_nba_conferences(), espn_nba_draft(), espn_nba_draft_athletes(), espn_nba_draft_pick(), espn_nba_draft_rounds(), espn_nba_draft_status(), espn_nba_event_broadcasts(), espn_nba_event_odds(), espn_nba_event_officials(), espn_nba_event_powerindex(), espn_nba_event_predictor(), espn_nba_event_probabilities(), espn_nba_event_propbets(), espn_nba_event_situation(), espn_nba_franchise(), espn_nba_franchises(), espn_nba_freeagents(), espn_nba_futures(), espn_nba_game_all(), espn_nba_game_rosters(), espn_nba_injuries(), espn_nba_leaders(), espn_nba_news(), espn_nba_pbp(), espn_nba_player_box(), espn_nba_player_stats(), espn_nba_powerindex(), espn_nba_scoreboard(), espn_nba_season_awards(), espn_nba_season_group(), espn_nba_season_group_children(), espn_nba_season_group_teams(), espn_nba_season_groups(), espn_nba_season_info(), espn_nba_season_leaders(), espn_nba_season_ranking(), espn_nba_season_rankings(), espn_nba_season_type(), espn_nba_season_types(), espn_nba_season_week(), espn_nba_season_weeks(), espn_nba_seasons(), espn_nba_standings(), espn_nba_team(), espn_nba_team_box(), espn_nba_team_current_roster(), espn_nba_team_depthchart(), espn_nba_team_injuries(), espn_nba_team_leaders(), espn_nba_team_news(), espn_nba_team_odds_records(), espn_nba_team_record(), espn_nba_team_roster(), espn_nba_team_schedule(), espn_nba_team_season_profile(), espn_nba_team_season_roster(), espn_nba_team_stats(), espn_nba_teams(), espn_nba_tournament(), espn_nba_tournament_seasons(), espn_nba_tournaments(), espn_nba_transactions(), espn_nba_venues(), espn_nba_week_ranking(), espn_nba_week_rankings(), espn_nba_wp()

Author

Saiem Gilani

Examples

# \donttest{
  # LeBron James 2025 contract
  espn_nba_athlete_contract(athlete_id = 1966, season = 2025)
#> ── ESPN NBA Athlete Contract from ESPN.com ────────────────────── hoopR 3.1.0 ──
#>  Data updated: 2026-05-19 01:33:39 UTC
#> # A tibble: 1 × 23
#>   athlete_id season bird_status   salary salary_remaining years_remaining
#>   <chr>       <int>       <int>    <int>            <int>           <int>
#> 1 1966         2025           0 48728845                0               2
#> # ℹ 17 more variables: incoming_trade_value <int>, outgoing_trade_value <int>,
#> #   option_type <int>, minimum_salary_exception <lgl>, trade_restriction <lgl>,
#> #   unsigned_foreign_pick <lgl>, active <lgl>,
#> #   base_year_compensation_active <lgl>, poison_pill_provision_active <lgl>,
#> #   trade_kicker_active <lgl>, trade_kicker_percentage <dbl>,
#> #   trade_kicker_value <int>, trade_kicker_trade_value <int>, season_ref <chr>,
#> #   team_ref <chr>, team_id <chr>, league <chr>
# }