Skip to main content

NFL — NFL Pro API (pro.nfl.com, NFL+ Premium account) — Players

nfl_pro_players_offense_passing_season​

GET /api/secured/stats/players-offense/passing/season — one row per passer for the season — quarterback passing incl. Next Gen time-to-throw, aggressiveness and CPOE.

Endpoint URL: GET https://pro.nfl.com/api/secured/stats/players-offense/passing/season

Valid URL: https://pro.nfl.com/api/secured/stats/players-offense/passing/season?season=2024&seasonType=REG&limit=500

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason, as the STARTING year (2024 = the 2024-25 NFL season).
seasonTypeseason_typeYSeason type code (string): PRE, REG, or POST -- not ESPN's numeric 1/2/3.
limitlimitYPage size. Responses truncate silently at this many rows; the getter pages on offset until it has them all.
offsetoffsetYZero-based row offset. The getter pages on this automatically; set it only to fetch a specific slice.
sortKeysort_keyYField name to sort by, e.g. epa.
sortValuesort_valueYSort direction: ASC or DESC.
qualifiedPasserqualifiedYRestrict to players meeting the league qualifying threshold.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
nfl_idStringNFL player id (nflId) as a string; the key the wrappers accept as nfl_id.
display_nameStringPlayer's full display name (e.g. 'Aaron Rodgers').
short_nameStringPlayer's abbreviated name, first initial and surname (e.g. 'A.Rodgers').
headshotStringNFL headshot image URL template; the {formatInstructions} token must be replaced with a Cloudinary transform (e.g. t_headshot_desktop) before use.
team_idStringNFL team id as a zero-padded string (e.g. '0200', '3430'); casting it to a number drops the leading zero.
jersey_numberInt64Jersey number the player wore in the season.
positionStringRoster position abbreviation (e.g. QB, WR, CB).
position_groupStringPosition group the roster position rolls up to (e.g. QB, RB, WR, TE, DB).
ngs_positionStringPosition Next Gen Stats assigns from tracking data; null for players NGS has not classified.
ngs_position_groupStringPosition group of ngs_position; null when ngs_position is null.
gpInt64Games played in the season (and season type) -- the denominator of every *_pg per-game column.
gsInt64Games started in the season.
tgInt64Games the player's team played while he was on the roster; equals gp in sampled data.
total_tgInt64Total games the player's team played in the season type (17 for a full regular season).
cmpInt64Pass completions, season total.
attInt64Pass attempts, season total.
ydsInt64Passing yards, season total.
tdInt64Passing touchdowns, season total.
intInt64Interceptions thrown, season total (a count, not a per-play flag).
ratingFloat64NFL passer rating for the season (the standard 0-158.3 formula; equals nflverse passer_rating).
ypaFloat64Yards per pass attempt (yds / att).
cmp_pctFloat64Completion percentage as a fraction (cmp / att, e.g. 0.63).
sackInt64Times sacked, season total (a count, not a per-play flag).
x_cmpFloat64Expected completion percentage as a fraction, per Next Gen Stats (nflverse expected_completion_percentage / 100).
cpoeFloat64Completion percentage over expected as a fraction: cmp_pct - x_cmp (nflverse completion_percentage_above_expectation / 100).
dbInt64Dropbacks, season total (attempts plus sacks and scrambles); the denominator of qbp_r and epa_db.
epaFloat64Total expected points added on the passer's dropbacks.
epa_dbFloat64Expected points added per dropback (epa / db).
avg_tttFloat64Average time to throw in seconds, snap to release, per Next Gen Stats (nflverse avg_time_to_throw).
avg_ttpFloat64
avg_ttsFloat64
qbpInt64Dropbacks on which the passer was pressured, season total.
qbp_rFloat64Pressure rate: share of dropbacks on which the passer was pressured (qbp / db).
blitz_rFloat64Blitz rate: share of the passer's dropbacks on which the defense blitzed, per Next Gen Stats.
dropInt64Passes dropped by the passer's receivers, season total.
drop_rFloat64Drop rate: drops per pass attempt (drop / att).
ayFloat64Total intended air yards on pass attempts; ay_att is this per attempt.
yacFloat64Total yards after the catch gained on the passer's completions.
x_yacFloat64Total expected yards after the catch on the passer's completions, per Next Gen Stats.
yac_pctFloat64Share of passing yards gained after the catch (yac / yds).
ay_attFloat64Average intended air yards per pass attempt (nflverse avg_intended_air_yards).
avg_sepFloat64Average separation in yards between the targeted receiver and the nearest defender at pass arrival on the passer's targets, per Next Gen Stats.
deep_att_pctFloat64Share of pass attempts NGS classifies as deep throws.
tw_att_pctFloat64Aggressiveness: share of pass attempts into a tight window (defender within a yard of the receiver), per Next Gen Stats (nflverse aggressiveness / 100).
pa_db_pctFloat64Share of dropbacks that used play action.
qpBooleanWhether the passer meets the league qualifying-attempts threshold (the qualified filter).
cmp_pgFloat64Completions per game (cmp / gp).
att_pgFloat64Pass attempts per game (att / gp).
yds_pgFloat64Passing yards per game (yds / gp).
td_pgFloat64Passing touchdowns per game (td / gp).
int_pgFloat64Interceptions thrown per game (int / gp).
sack_pgFloat64Sacks taken per game (sack / gp).
db_pgFloat64Dropbacks per game (db / gp).
epa_pgFloat64Expected points added per game (epa / gp).
qbp_pgFloat64Pressured dropbacks per game (qbp / gp).
drop_pgFloat64Receiver drops per game (drop / gp).
tw_att_pgFloat64Tight-window pass attempts per game; tw_att_pct = tw_att_pg / att_pg.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NFLProAuthErrorNo user-bound NFL Pro token could be resolved (pass token= or email=/password=, or set NFLPRO_TOKEN, or NFLPRO_EMAIL/NFLPRO_PW), or the resolved token carries no active NFL_PLUS_* plan, or pro.nfl.com answered 401 / 403 (an AssetFetchError).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help. Pro.nfl.com answered 400 / 422, or ignored offset.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. Any other non-2xx or a connection failure after retries, or a 2xx whose body is not a JSON object or array -- including the HTTP 200 with an empty body that is how pro.nfl.com rejects unsupported query params.
NoDataErrorThe host answered 404 -- the requested resource does not exist.

Example​

nfl_pro_players_offense_passing_season(season=2024, season_type='REG')

nfl_pro_players_offense_passing_week​

GET /api/secured/stats/players-offense/passing/week — one row per passer per week — quarterback passing incl. Next Gen time-to-throw, aggressiveness and CPOE.

Endpoint URL: GET https://pro.nfl.com/api/secured/stats/players-offense/passing/week

Valid URL: https://pro.nfl.com/api/secured/stats/players-offense/passing/week?season=2024&seasonType=REG&limit=500

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason, as the STARTING year (2024 = the 2024-25 NFL season).
seasonTypeseason_typeYSeason type code (string): PRE, REG, or POST -- not ESPN's numeric 1/2/3.
limitlimitYPage size. Responses truncate silently at this many rows; the getter pages on offset until it has them all.
offsetoffsetYZero-based row offset. The getter pages on this automatically; set it only to fetch a specific slice.
sortKeysort_keyYField name to sort by, e.g. epa.
sortValuesort_valueYSort direction: ASC or DESC.
qualifiedPasserqualifiedYRestrict to players meeting the league qualifying threshold.
nflIdnfl_idYOptional player filter; omit for the whole league-week table. Note week is a path scope here, not a query param.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
nfl_idStringNFL player id (nflId) as a string; the key the wrappers accept as nfl_id.
display_nameStringPlayer's full display name (e.g. 'Aaron Rodgers').
short_nameStringPlayer's abbreviated name, first initial and surname (e.g. 'A.Rodgers').
headshotStringNFL headshot image URL template; the {formatInstructions} token must be replaced with a Cloudinary transform (e.g. t_headshot_desktop) before use.
team_idStringNFL team id as a zero-padded string (e.g. '0200', '3430'); casting it to a number drops the leading zero.
jersey_numberInt64Jersey number the player wore in the season.
positionStringRoster position abbreviation (e.g. QB, WR, CB).
position_groupStringPosition group the roster position rolls up to (e.g. QB, RB, WR, TE, DB).
ngs_positionStringPosition Next Gen Stats assigns from tracking data; null for players NGS has not classified.
ngs_position_groupStringPosition group of ngs_position; null when ngs_position is null.
gpInt64Games played in the season (and season type) -- the denominator of every *_pg per-game column.
gsInt64Games started in the season.
tgInt64Games the player's team played while he was on the roster; equals gp in sampled data.
total_tgInt64Total games the player's team played in the season type (17 for a full regular season).
week_slugStringWeek slug of the game (e.g. 'WEEK_1', 'WEEK_18'); the week scope of the row.
game_idInt64NFL game id as an integer (e.g. 2024090900, the date followed by a two-digit sequence).
fapi_game_idStringNFL Football API (FAPI) UUID of the game, the id api.nfl.com uses for the same game.
opponent_team_idStringOpponent's NFL team id as a zero-padded string.
is_homeBooleanWhether the player's team was the home team in the game.
final_scoreStringFinal score as 'own-opponent' (e.g. '19-32' for a 32-19 loss).
game_resultStringResult from the player's team's side: 'W', 'L' or 'T'.
cmpInt64Pass completions in the game.
attInt64Pass attempts in the game.
ydsInt64Passing yards in the game.
tdInt64Passing touchdowns in the game.
intInt64Interceptions thrown in the game (a count, not a per-play flag).
ratingFloat64NFL passer rating for the season (the standard 0-158.3 formula; equals nflverse passer_rating).
ypaFloat64Yards per pass attempt (yds / att).
cmp_pctFloat64Completion percentage as a fraction (cmp / att, e.g. 0.63).
sackInt64Times sacked in the game (a count, not a per-play flag).
x_cmpFloat64Expected completion percentage as a fraction, per Next Gen Stats (nflverse expected_completion_percentage / 100).
cpoeFloat64Completion percentage over expected as a fraction: cmp_pct - x_cmp (nflverse completion_percentage_above_expectation / 100).
dbInt64Dropbacks in the game (attempts plus sacks and scrambles); the denominator of qbp_r and epa_db.
epaFloat64Total expected points added on the passer's dropbacks.
epa_dbFloat64Expected points added per dropback (epa / db).
avg_tttFloat64Average time to throw in seconds, snap to release, per Next Gen Stats (nflverse avg_time_to_throw).
avg_ttpFloat64
avg_ttsFloat64
qbpInt64Dropbacks on which the passer was pressured in the game.
qbp_rFloat64Pressure rate: share of dropbacks on which the passer was pressured (qbp / db).
blitz_rFloat64Blitz rate: share of the passer's dropbacks on which the defense blitzed, per Next Gen Stats.
dropInt64Passes dropped by the passer's receivers in the game.
drop_rFloat64Drop rate: drops per pass attempt (drop / att).
ayFloat64Total intended air yards on pass attempts; ay_att is this per attempt.
yacFloat64Total yards after the catch gained on the passer's completions.
x_yacFloat64Total expected yards after the catch on the passer's completions, per Next Gen Stats.
yac_pctFloat64Share of passing yards gained after the catch (yac / yds).
ay_attFloat64Average intended air yards per pass attempt (nflverse avg_intended_air_yards).
avg_sepFloat64Average separation in yards between the targeted receiver and the nearest defender at pass arrival on the passer's targets, per Next Gen Stats.
deep_att_pctFloat64Share of pass attempts NGS classifies as deep throws.
tw_att_pctFloat64Aggressiveness: share of pass attempts into a tight window (defender within a yard of the receiver), per Next Gen Stats (nflverse aggressiveness / 100).
pa_db_pctFloat64Share of dropbacks that used play action.
qpBooleanWhether the passer meets the league qualifying-attempts threshold (the qualified filter).
cmp_pgInt64Completions per game (cmp / gp).
att_pgInt64Pass attempts per game (att / gp).
yds_pgInt64Passing yards per game (yds / gp).
td_pgInt64Passing touchdowns per game (td / gp).
int_pgInt64Interceptions thrown per game (int / gp).
sack_pgInt64Sacks taken per game (sack / gp).
db_pgInt64Dropbacks per game (db / gp).
epa_pgFloat64Expected points added per game (epa / gp).
qbp_pgInt64Pressured dropbacks per game (qbp / gp).
drop_pgInt64Receiver drops per game (drop / gp).
tw_att_pgInt64Tight-window pass attempts per game; tw_att_pct = tw_att_pg / att_pg.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NFLProAuthErrorNo user-bound NFL Pro token could be resolved (pass token= or email=/password=, or set NFLPRO_TOKEN, or NFLPRO_EMAIL/NFLPRO_PW), or the resolved token carries no active NFL_PLUS_* plan, or pro.nfl.com answered 401 / 403 (an AssetFetchError).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help. Pro.nfl.com answered 400 / 422, or ignored offset.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. Any other non-2xx or a connection failure after retries, or a 2xx whose body is not a JSON object or array -- including the HTTP 200 with an empty body that is how pro.nfl.com rejects unsupported query params.
NoDataErrorThe host answered 404 -- the requested resource does not exist.

Example​

nfl_pro_players_offense_passing_week(season=2024, season_type='REG')

nfl_pro_players_offense_rushing_season​

GET /api/secured/stats/players-offense/rushing/season — one row per rusher for the season — rushing incl. Next Gen efficiency, yards over expected and defenders-in-box.

Endpoint URL: GET https://pro.nfl.com/api/secured/stats/players-offense/rushing/season

Valid URL: https://pro.nfl.com/api/secured/stats/players-offense/rushing/season?season=2024&seasonType=REG&limit=500

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason, as the STARTING year (2024 = the 2024-25 NFL season).
seasonTypeseason_typeYSeason type code (string): PRE, REG, or POST -- not ESPN's numeric 1/2/3.
limitlimitYPage size. Responses truncate silently at this many rows; the getter pages on offset until it has them all.
offsetoffsetYZero-based row offset. The getter pages on this automatically; set it only to fetch a specific slice.
sortKeysort_keyYField name to sort by, e.g. epa.
sortValuesort_valueYSort direction: ASC or DESC.
qualifiedRusherqualifiedYRestrict to players meeting the league qualifying threshold.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
nfl_idStringNFL player id (nflId) as a string; the key the wrappers accept as nfl_id.
display_nameStringPlayer's full display name (e.g. 'Aaron Rodgers').
short_nameStringPlayer's abbreviated name, first initial and surname (e.g. 'A.Rodgers').
headshotStringNFL headshot image URL template; the {formatInstructions} token must be replaced with a Cloudinary transform (e.g. t_headshot_desktop) before use.
team_idStringNFL team id as a zero-padded string (e.g. '0200', '3430'); casting it to a number drops the leading zero.
jersey_numberInt64Jersey number the player wore in the season.
positionStringRoster position abbreviation (e.g. QB, WR, CB).
position_groupStringPosition group the roster position rolls up to (e.g. QB, RB, WR, TE, DB).
ngs_positionStringPosition Next Gen Stats assigns from tracking data; null for players NGS has not classified.
ngs_position_groupStringPosition group of ngs_position; null when ngs_position is null.
gpInt64Games played in the season (and season type) -- the denominator of every *_pg per-game column.
gsInt64Games started in the season.
tgInt64Games the player's team played while he was on the roster; equals gp in sampled data.
total_tgInt64Total games the player's team played in the season type (17 for a full regular season).
attInt64Rush attempts, season total.
ydsInt64Rushing yards, season total.
tdInt64Rushing touchdowns, season total.
ypcFloat64Yards per carry (yds / att).
epaFloat64Total expected points added on the player's rush attempts.
epa_attFloat64Expected points added per rush attempt (epa / att).
x_ryFloat64Expected rushing yards, season total, per Next Gen Stats (nflverse expected_rush_yards); yds = x_ry + ryoe.
x_ypcFloat64Expected yards per carry (x_ry / att).
ryoeFloat64Rushing yards over expected, season total (yds - x_ry; nflverse rush_yards_over_expected).
ryoe_attFloat64Rushing yards over expected per attempt (ryoe / att).
yacoFloat64Yards after contact, season total.
yaco_attFloat64Yards after contact per attempt (yaco / att).
ybcoFloat64Yards before contact, season total.
ybco_attFloat64Yards before contact per attempt (ybco / att).
successFloat64Success rate: share of rush attempts graded successful, as a fraction.
fumInt64Fumbles on rush attempts, season total.
lostInt64Fumbles lost on rush attempts, season total.
rush10_p_ydsInt64Rush attempts that gained 10 or more yards, season total.
rush15_p_mphInt64Rush attempts on which the ball carrier reached 15+ mph, per Next Gen Stats.
rush20_p_mphInt64Rush attempts on which the ball carrier reached 20+ mph, per Next Gen Stats.
effFloat64Rushing efficiency: distance travelled per rushing yard gained (lower is more direct), per Next Gen Stats (nflverse efficiency).
in_t_pctFloat64
st_box_pctFloat64Share of rush attempts against a stacked box (8 or more defenders), per Next Gen Stats.
under_pctFloat64
qrBooleanWhether the player meets the league qualifying threshold for the table (the qualified filter).
att_pgFloat64Rush attempts per game (att / gp).
yds_pgFloat64Rushing yards per game (yds / gp).
td_pgFloat64Rushing touchdowns per game (td / gp).
epa_pgFloat64Expected points added per game (epa / gp).
x_ry_pgFloat64Expected rushing yards per game (x_ry / gp).
ryoe_pgFloat64Rushing yards over expected per game (ryoe / gp).
yaco_pgFloat64Yards after contact per game (yaco / gp).
ybco_pgFloat64Yards before contact per game (ybco / gp).
fum_pgFloat64Fumbles per game (fum / gp).
lost_pgFloat64Fumbles lost per game (lost / gp).
rush10_p_yds_pgFloat64Rushes of 10+ yards per game (rush10_p_yds / gp).
rush15_p_mph_pgFloat64Rushes reaching 15+ mph per game (rush15_p_mph / gp).
rush20_p_mph_pgFloat64Rushes reaching 20+ mph per game (rush20_p_mph / gp).

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NFLProAuthErrorNo user-bound NFL Pro token could be resolved (pass token= or email=/password=, or set NFLPRO_TOKEN, or NFLPRO_EMAIL/NFLPRO_PW), or the resolved token carries no active NFL_PLUS_* plan, or pro.nfl.com answered 401 / 403 (an AssetFetchError).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help. Pro.nfl.com answered 400 / 422, or ignored offset.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. Any other non-2xx or a connection failure after retries, or a 2xx whose body is not a JSON object or array -- including the HTTP 200 with an empty body that is how pro.nfl.com rejects unsupported query params.
NoDataErrorThe host answered 404 -- the requested resource does not exist.

Example​

nfl_pro_players_offense_rushing_season(season=2024, season_type='REG')

nfl_pro_players_offense_rushing_week​

GET /api/secured/stats/players-offense/rushing/week — one row per rusher per week — rushing incl. Next Gen efficiency, yards over expected and defenders-in-box.

Endpoint URL: GET https://pro.nfl.com/api/secured/stats/players-offense/rushing/week

Valid URL: https://pro.nfl.com/api/secured/stats/players-offense/rushing/week?season=2024&seasonType=REG&limit=500

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason, as the STARTING year (2024 = the 2024-25 NFL season).
seasonTypeseason_typeYSeason type code (string): PRE, REG, or POST -- not ESPN's numeric 1/2/3.
limitlimitYPage size. Responses truncate silently at this many rows; the getter pages on offset until it has them all.
offsetoffsetYZero-based row offset. The getter pages on this automatically; set it only to fetch a specific slice.
sortKeysort_keyYField name to sort by, e.g. epa.
sortValuesort_valueYSort direction: ASC or DESC.
qualifiedRusherqualifiedYRestrict to players meeting the league qualifying threshold.
nflIdnfl_idYOptional player filter; omit for the whole league-week table. Note week is a path scope here, not a query param.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
nfl_idStringNFL player id (nflId) as a string; the key the wrappers accept as nfl_id.
display_nameStringPlayer's full display name (e.g. 'Aaron Rodgers').
short_nameStringPlayer's abbreviated name, first initial and surname (e.g. 'A.Rodgers').
headshotStringNFL headshot image URL template; the {formatInstructions} token must be replaced with a Cloudinary transform (e.g. t_headshot_desktop) before use.
team_idStringNFL team id as a zero-padded string (e.g. '0200', '3430'); casting it to a number drops the leading zero.
jersey_numberInt64Jersey number the player wore in the season.
positionStringRoster position abbreviation (e.g. QB, WR, CB).
position_groupStringPosition group the roster position rolls up to (e.g. QB, RB, WR, TE, DB).
ngs_positionStringPosition Next Gen Stats assigns from tracking data; null for players NGS has not classified.
ngs_position_groupStringPosition group of ngs_position; null when ngs_position is null.
gpInt64Games played in the season (and season type) -- the denominator of every *_pg per-game column.
gsInt64Games started in the season.
tgInt64Games the player's team played while he was on the roster; equals gp in sampled data.
total_tgInt64Total games the player's team played in the season type (17 for a full regular season).
week_slugStringWeek slug of the game (e.g. 'WEEK_1', 'WEEK_18'); the week scope of the row.
game_idInt64NFL game id as an integer (e.g. 2024090900, the date followed by a two-digit sequence).
fapi_game_idStringNFL Football API (FAPI) UUID of the game, the id api.nfl.com uses for the same game.
opponent_team_idStringOpponent's NFL team id as a zero-padded string.
is_homeBooleanWhether the player's team was the home team in the game.
final_scoreStringFinal score as 'own-opponent' (e.g. '19-32' for a 32-19 loss).
game_resultStringResult from the player's team's side: 'W', 'L' or 'T'.
attInt64Rush attempts in the game.
ydsInt64Rushing yards in the game.
tdInt64Rushing touchdowns in the game.
ypcFloat64Yards per carry (yds / att).
epaFloat64Total expected points added on the player's rush attempts.
epa_attFloat64Expected points added per rush attempt (epa / att).
x_ryFloat64Expected rushing yards in the game, per Next Gen Stats (nflverse expected_rush_yards); yds = x_ry + ryoe.
x_ypcFloat64Expected yards per carry (x_ry / att).
ryoeFloat64Rushing yards over expected in the game (yds - x_ry; nflverse rush_yards_over_expected).
ryoe_attFloat64Rushing yards over expected per attempt (ryoe / att).
yacoFloat64Yards after contact in the game.
yaco_attFloat64Yards after contact per attempt (yaco / att).
ybcoFloat64Yards before contact in the game.
ybco_attFloat64Yards before contact per attempt (ybco / att).
successFloat64Success rate: share of rush attempts graded successful, as a fraction.
fumInt64Fumbles on rush attempts in the game.
lostInt64Fumbles lost on rush attempts in the game.
rush10_p_ydsInt64Rush attempts that gained 10 or more yards in the game.
rush15_p_mphInt64Rush attempts on which the ball carrier reached 15+ mph, per Next Gen Stats.
rush20_p_mphInt64Rush attempts on which the ball carrier reached 20+ mph, per Next Gen Stats.
effFloat64Rushing efficiency: distance travelled per rushing yard gained (lower is more direct), per Next Gen Stats (nflverse efficiency).
in_t_pctFloat64
st_box_pctInt64Share of rush attempts against a stacked box (8 or more defenders), per Next Gen Stats.
under_pctFloat64
qrBooleanWhether the player meets the league qualifying threshold for the table (the qualified filter).
att_pgInt64Rush attempts per game (att / gp).
yds_pgInt64Rushing yards per game (yds / gp).
td_pgInt64Rushing touchdowns per game (td / gp).
epa_pgFloat64Expected points added per game (epa / gp).
x_ry_pgFloat64Expected rushing yards per game (x_ry / gp).
ryoe_pgFloat64Rushing yards over expected per game (ryoe / gp).
yaco_pgFloat64Yards after contact per game (yaco / gp).
ybco_pgFloat64Yards before contact per game (ybco / gp).
fum_pgInt64Fumbles per game (fum / gp).
lost_pgInt64Fumbles lost per game (lost / gp).
rush10_p_yds_pgInt64Rushes of 10+ yards per game (rush10_p_yds / gp).
rush15_p_mph_pgInt64Rushes reaching 15+ mph per game (rush15_p_mph / gp).
rush20_p_mph_pgInt64Rushes reaching 20+ mph per game (rush20_p_mph / gp).

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NFLProAuthErrorNo user-bound NFL Pro token could be resolved (pass token= or email=/password=, or set NFLPRO_TOKEN, or NFLPRO_EMAIL/NFLPRO_PW), or the resolved token carries no active NFL_PLUS_* plan, or pro.nfl.com answered 401 / 403 (an AssetFetchError).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help. Pro.nfl.com answered 400 / 422, or ignored offset.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. Any other non-2xx or a connection failure after retries, or a 2xx whose body is not a JSON object or array -- including the HTTP 200 with an empty body that is how pro.nfl.com rejects unsupported query params.
NoDataErrorThe host answered 404 -- the requested resource does not exist.

Example​

nfl_pro_players_offense_rushing_week(season=2024, season_type='REG')

nfl_pro_players_offense_receiving_season​

GET /api/secured/stats/players-offense/receiving/season — one row per receiver for the season — receiving incl. Next Gen separation, cushion and catch rate over expected.

Endpoint URL: GET https://pro.nfl.com/api/secured/stats/players-offense/receiving/season

Valid URL: https://pro.nfl.com/api/secured/stats/players-offense/receiving/season?season=2024&seasonType=REG&limit=500

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason, as the STARTING year (2024 = the 2024-25 NFL season).
seasonTypeseason_typeYSeason type code (string): PRE, REG, or POST -- not ESPN's numeric 1/2/3.
limitlimitYPage size. Responses truncate silently at this many rows; the getter pages on offset until it has them all.
offsetoffsetYZero-based row offset. The getter pages on this automatically; set it only to fetch a specific slice.
sortKeysort_keyYField name to sort by, e.g. epa.
sortValuesort_valueYSort direction: ASC or DESC.
qualifiedReceiverqualifiedYRestrict to players meeting the league qualifying threshold.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
nfl_idStringNFL player id (nflId) as a string; the key the wrappers accept as nfl_id.
display_nameStringPlayer's full display name (e.g. 'Aaron Rodgers').
short_nameStringPlayer's abbreviated name, first initial and surname (e.g. 'A.Rodgers').
headshotStringNFL headshot image URL template; the {formatInstructions} token must be replaced with a Cloudinary transform (e.g. t_headshot_desktop) before use.
team_idStringNFL team id as a zero-padded string (e.g. '0200', '3430'); casting it to a number drops the leading zero.
jersey_numberInt64Jersey number the player wore in the season.
positionStringRoster position abbreviation (e.g. QB, WR, CB).
position_groupStringPosition group the roster position rolls up to (e.g. QB, RB, WR, TE, DB).
ngs_positionStringPosition Next Gen Stats assigns from tracking data; null for players NGS has not classified.
ngs_position_groupStringPosition group of ngs_position; null when ngs_position is null.
gpInt64Games played in the season (and season type) -- the denominator of every *_pg per-game column.
gsInt64Games started in the season.
tgInt64Games the player's team played while he was on the roster; equals gp in sampled data.
total_tgInt64Total games the player's team played in the season type (17 for a full regular season).
rtInt64Routes run, season total.
tgtInt64Targets, season total.
recInt64Receptions, season total.
ydsInt64Receiving yards, season total.
tdInt64Receiving touchdowns, season total.
intInt64Interceptions thrown on passes targeting the player, season total.
ratingFloat64Passer rating on throws targeting the player (the standard formula applied to his targets).
catchFloat64Catch rate as a fraction (rec / tgt; nflverse catch_percentage / 100).
x_catchFloat64Expected catch rate as a fraction, per Next Gen Stats; catch = x_catch + croe.
croeFloat64Catch rate over expected as a fraction (catch - x_catch).
yds_recFloat64Yards per reception (yds / rec).
yds_rtFloat64Yards per route run (yds / rt).
epaFloat64Total expected points added on the player's targets.
epa_tgtFloat64Expected points added per target (epa / tgt).
epa_rtFloat64Expected points added per route run (epa / rt).
dropInt64Drops, season total.
drop_tgtFloat64Drop rate: drops per target (drop / tgt).
yacInt64Yards after the catch, season total.
x_yacInt64Expected yards after the catch, season total, per Next Gen Stats; yac = x_yac + yacoe.
yacoeInt64Yards after the catch over expected, season total (yac - x_yac).
yac_recFloat64Yards after the catch per reception (yac / rec; nflverse avg_yac).
avg_sepFloat64Average separation in yards from the nearest defender at pass arrival, per Next Gen Stats (nflverse avg_separation).
ayFloat64Total intended air yards on the player's targets.
ay_tgtFloat64Average intended air yards per target (ay / tgt; nflverse avg_intended_air_yards).
tgt_rtFloat64Target rate: targets per route run (tgt / rt).
avg_rt_depFloat64Average route depth in yards, per Next Gen Stats.
ez_tgtInt64End-zone targets, season total.
ez_recInt64End-zone receptions, season total.
deep_tgt_pctFloat64Share of targets NGS classifies as deep.
tw_pctFloat64Share of targets thrown into a tight window (defender within a yard), per Next Gen Stats.
qrBooleanWhether the player meets the league qualifying threshold for the table (the qualified filter).
rt_pgFloat64Routes run per game (rt / gp).
tgt_pgFloat64Targets per game (tgt / gp).
rec_pgFloat64Receptions per game (rec / gp).
yds_pgFloat64Receiving yards per game (yds / gp).
td_pgFloat64Receiving touchdowns per game (td / gp).
int_pgFloat64Interceptions on the player's targets per game (int / gp).
epa_pgFloat64Expected points added per game (epa / gp).
drop_pgFloat64Drops per game (drop / gp).
yac_pgFloat64Yards after the catch per game (yac / gp).
x_yac_pgFloat64Expected yards after the catch per game (x_yac / gp).
yacoe_pgFloat64Yards after the catch over expected per game (yacoe / gp).
ay_pgFloat64Intended air yards per game (ay / gp).
ez_tgt_pgFloat64End-zone targets per game (ez_tgt / gp).
ez_rec_pgFloat64End-zone receptions per game (ez_rec / gp).

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NFLProAuthErrorNo user-bound NFL Pro token could be resolved (pass token= or email=/password=, or set NFLPRO_TOKEN, or NFLPRO_EMAIL/NFLPRO_PW), or the resolved token carries no active NFL_PLUS_* plan, or pro.nfl.com answered 401 / 403 (an AssetFetchError).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help. Pro.nfl.com answered 400 / 422, or ignored offset.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. Any other non-2xx or a connection failure after retries, or a 2xx whose body is not a JSON object or array -- including the HTTP 200 with an empty body that is how pro.nfl.com rejects unsupported query params.
NoDataErrorThe host answered 404 -- the requested resource does not exist.

Example​

nfl_pro_players_offense_receiving_season(season=2024, season_type='REG')

nfl_pro_players_offense_receiving_week​

GET /api/secured/stats/players-offense/receiving/week — one row per receiver per week — receiving incl. Next Gen separation, cushion and catch rate over expected.

Endpoint URL: GET https://pro.nfl.com/api/secured/stats/players-offense/receiving/week

Valid URL: https://pro.nfl.com/api/secured/stats/players-offense/receiving/week?season=2024&seasonType=REG&limit=500

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYSeason, as the STARTING year (2024 = the 2024-25 NFL season).
seasonTypeseason_typeYSeason type code (string): PRE, REG, or POST -- not ESPN's numeric 1/2/3.
limitlimitYPage size. Responses truncate silently at this many rows; the getter pages on offset until it has them all.
offsetoffsetYZero-based row offset. The getter pages on this automatically; set it only to fetch a specific slice.
sortKeysort_keyYField name to sort by, e.g. epa.
sortValuesort_valueYSort direction: ASC or DESC.
qualifiedReceiverqualifiedYRestrict to players meeting the league qualifying threshold.
nflIdnfl_idYOptional player filter; omit for the whole league-week table. Note week is a path scope here, not a query param.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
nfl_idStringNFL player id (nflId) as a string; the key the wrappers accept as nfl_id.
display_nameStringPlayer's full display name (e.g. 'Aaron Rodgers').
short_nameStringPlayer's abbreviated name, first initial and surname (e.g. 'A.Rodgers').
headshotStringNFL headshot image URL template; the {formatInstructions} token must be replaced with a Cloudinary transform (e.g. t_headshot_desktop) before use.
team_idStringNFL team id as a zero-padded string (e.g. '0200', '3430'); casting it to a number drops the leading zero.
jersey_numberInt64Jersey number the player wore in the season.
positionStringRoster position abbreviation (e.g. QB, WR, CB).
position_groupStringPosition group the roster position rolls up to (e.g. QB, RB, WR, TE, DB).
ngs_positionStringPosition Next Gen Stats assigns from tracking data; null for players NGS has not classified.
ngs_position_groupStringPosition group of ngs_position; null when ngs_position is null.
gpInt64Games played in the season (and season type) -- the denominator of every *_pg per-game column.
gsInt64Games started in the season.
tgInt64Games the player's team played while he was on the roster; equals gp in sampled data.
total_tgInt64Total games the player's team played in the season type (17 for a full regular season).
week_slugStringWeek slug of the game (e.g. 'WEEK_1', 'WEEK_18'); the week scope of the row.
game_idInt64NFL game id as an integer (e.g. 2024090900, the date followed by a two-digit sequence).
fapi_game_idStringNFL Football API (FAPI) UUID of the game, the id api.nfl.com uses for the same game.
opponent_team_idStringOpponent's NFL team id as a zero-padded string.
is_homeBooleanWhether the player's team was the home team in the game.
final_scoreStringFinal score as 'own-opponent' (e.g. '19-32' for a 32-19 loss).
game_resultStringResult from the player's team's side: 'W', 'L' or 'T'.
rtInt64Routes run in the game.
tgtInt64Targets in the game.
recInt64Receptions in the game.
ydsInt64Receiving yards in the game.
tdInt64Receiving touchdowns in the game.
intInt64Interceptions thrown on passes targeting the player in the game.
ratingInt64Passer rating on throws targeting the player (the standard formula applied to his targets).
catchInt64Catch rate as a fraction (rec / tgt; nflverse catch_percentage / 100).
x_catchInt64Expected catch rate as a fraction, per Next Gen Stats; catch = x_catch + croe.
croeInt64Catch rate over expected as a fraction (catch - x_catch).
yds_recInt64Yards per reception (yds / rec).
yds_rtInt64Yards per route run (yds / rt).
epaInt64Total expected points added on the player's targets.
epa_tgtInt64Expected points added per target (epa / tgt).
epa_rtInt64Expected points added per route run (epa / rt).
dropInt64Drops in the game.
drop_tgtInt64Drop rate: drops per target (drop / tgt).
yacInt64Yards after the catch in the game.
x_yacInt64Expected yards after the catch in the game, per Next Gen Stats; yac = x_yac + yacoe.
yacoeInt64Yards after the catch over expected in the game (yac - x_yac).
yac_recInt64Yards after the catch per reception (yac / rec; nflverse avg_yac).
avg_sepInt64Average separation in yards from the nearest defender at pass arrival, per Next Gen Stats (nflverse avg_separation).
ayInt64Total intended air yards on the player's targets.
ay_tgtInt64Average intended air yards per target (ay / tgt; nflverse avg_intended_air_yards).
tgt_rtInt64Target rate: targets per route run (tgt / rt).
avg_rt_depInt64Average route depth in yards, per Next Gen Stats.
ez_tgtInt64End-zone targets in the game.
ez_recInt64End-zone receptions in the game.
deep_tgt_pctInt64Share of targets NGS classifies as deep.
tw_pctInt64Share of targets thrown into a tight window (defender within a yard), per Next Gen Stats.
qrBooleanWhether the player meets the league qualifying threshold for the table (the qualified filter).
rt_pgInt64Routes run per game (rt / gp).
tgt_pgInt64Targets per game (tgt / gp).
rec_pgInt64Receptions per game (rec / gp).
yds_pgInt64Receiving yards per game (yds / gp).
td_pgInt64Receiving touchdowns per game (td / gp).
int_pgInt64Interceptions on the player's targets per game (int / gp).
epa_pgInt64Expected points added per game (epa / gp).
drop_pgInt64Drops per game (drop / gp).
yac_pgInt64Yards after the catch per game (yac / gp).
x_yac_pgInt64Expected yards after the catch per game (x_yac / gp).
yacoe_pgInt64Yards after the catch over expected per game (yacoe / gp).
ay_pgInt64Intended air yards per game (ay / gp).
ez_tgt_pgInt64End-zone targets per game (ez_tgt / gp).
ez_rec_pgInt64End-zone receptions per game (ez_rec / gp).

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NFLProAuthErrorNo user-bound NFL Pro token could be resolved (pass token= or email=/password=, or set NFLPRO_TOKEN, or NFLPRO_EMAIL/NFLPRO_PW), or the resolved token carries no active NFL_PLUS_* plan, or pro.nfl.com answered 401 / 403 (an AssetFetchError).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help. Pro.nfl.com answered 400 / 422, or ignored offset.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty. Any other non-2xx or a connection failure after retries, or a 2xx whose body is not a JSON object or array -- including the HTTP 200 with an empty body that is how pro.nfl.com rejects unsupported query params.
NoDataErrorThe host answered 404 -- the requested resource does not exist.

Example​

nfl_pro_players_offense_receiving_week(season=2024, season_type='REG')