stathead-mcp

v1.0.126
io.github.dachhack/stathead-mcp Checked 1 day ago Published 26 days ago

Fantasy football analytics: stats, dynasty, projections, prospects, Sleeper leagues, Excel I/O

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_metadata

Describe this server's capabilities: available tools, data sources, per-source season coverage, and valid enum values (positions, scoring formats, league sizes, ADP sources). Call this FIRST to scope a question correctly — it tells you what seasons/sources/formats are supported so you don't have to probe by trial and error. Takes no arguments.

get_player_season_stats

Get aggregated season totals for NFL players — offence, defence (IDP), kicking and punting. Returns rushing, passing, receiving, fantasy stats and 2-point conversions, and via `fields` every other counting column nflverse carries: defensive (def_tackles_solo, def_tackle_assists, def_tackles_for_loss, def_sacks, def_qb_hits, def_pass_defended, def_interceptions, def_fumbles_forced, def_tds, def_safeties), punting (pt_att, pt_yards, pt_net_yards, pt_inside_20, pt_long, pt_touchback) and kicking (fg_made/fg_att by distance band, pat_made/pat_att). Filter by position: QB/RB/WR/TE/K/P/FB, the nfl…

ParameterTypeDescription
season *numberNFL season year. Coverage: 1999 to the latest completed season (nflverse).
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows to return (default 30, max 100)
min_gamesnumberOptional: minimum games played
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringOptional: filter to players whose name contains this string (case-insensitive)
positionstringFilter by position. Offence: QB, RB, WR, TE, FB. Specialists: K, P. Defence: the nflverse codes DE, DT, LB, CB, SAF, or the IDP buckets DL (= DE+DT+NT), LB, DB (= CB+SAF+FS+SS). ALL for everything.
sort_bystringColumn to sort by (descending). Common: fantasy_points_ppr, rushing_yards, receiving_yards, passing_yards, receptions, targets, carries, rushing_tds, receiving_tds, passing_tds

get_player_weekly_stats

Get week-by-week stats — game logs — for one player or for a whole position in a season. Pass player_name for one player's log, or omit it and pass position (and optionally week_start/week_end or team) for every player at that position, which is how you get a weekly board. Covers offence, defence (IDP) and specialists: with `fields` you can project any raw nflverse weekly column, including def_tackles_solo, def_tackle_assists, def_sacks, def_qb_hits, def_pass_defended, def_interceptions, def_tackles_for_loss, def_tds, punting (pt_att, pt_yards, pt_net_yards, pt_inside_20) and returns (punt…

ParameterTypeDescription
season *numberNFL season year
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 100, max 1000). Only applies to multi-player queries.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringPlayer name (case-insensitive partial match). Omit to return every player matching the other filters.
positionstringFilter by position. Offence: QB, RB, WR, TE, FB. Specialists: K, P. Defence: DE, DT, LB, CB, SAF, or the IDP buckets DL (= DE+DT+NT), LB, DB (= CB+SAF+FS+SS). Required when player_name is omitted.
sort_bystringColumn to sort by, descending — any weekly column (e.g. def_sacks). Default: week, then fantasy_points_ppr.
teamstringFilter to one team abbreviation (e.g. DAL).
week_endnumberEnd week (inclusive)
week_startnumberStart week (inclusive)

get_games

Get NFL game results and schedules. Includes the canonical nflverse game_id (e.g. 2024_04_BUF_BAL, handles neutral-site/relocated games correctly), scheduled kickoff (gameday = date, weekday, gametime = kickoff in US Eastern HH:MM), home/away/week, scores, spreads, totals, weather, surface. Use for team records, point totals, home/away splits, deriving day/time windows, bye weeks (a team absent from a week's games is on bye), or to enumerate game_ids to feed get_play_by_play. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
seasonnumberFilter to specific season
teamstringFilter to games involving this team (abbreviation like KC, SF, BUF)
weeknumberFilter to specific week

get_snap_counts

Get offensive/defensive snap count percentages by player per week. Use for workload analysis, role changes, snap share trends. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberNFL season year (2012+)
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
positionstringFilter by position
teamstringFilter by team abbreviation

get_rookie_snap_share

Rookie snap-share RAMP tracker — weekly offensive snap % for a season's rookie class, with a ramp signal (last-3-week avg − first-3-week avg) that surfaces mid-season role expansion a static depth chart misses (the classic late-bloomer pattern, e.g. a rookie RB climbing from 30% to 70% snaps). Identifies rookies from the roster (years_exp 0 / rookie or entry year = season). For an in-progress season this is a live leading indicator; for a completed season it's the role-trajectory record. Sort by ramp (biggest risers), latest, peak, or avg. See also: get_metadata for season coverage, valid…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rookies (default 40)
min_weeksnumberMinimum weeks with snap data to include (default 4)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringFilter by position (QB, RB, WR, TE)
seasonnumberSeason (2012+). Defaults to the most recent completed season; pass the in-progress season to track live.
sort_bystringramp (default, biggest risers) | latest | peak | avg
teamstringFilter by team abbreviation

get_combine_results

Get NFL Combine athletic testing results. Includes 40-yard dash, bench press, vertical jump, broad jump, 3-cone drill, shuttle, height, weight, draft position. Use for athletic profile analysis, draft capital evaluation. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 30)
max_seasonnumberLatest draft year to include
min_seasonnumberEarliest draft year to include
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
positionstringFilter by position (QB, RB, WR, TE, etc.)
sort_bystringSort by: forty, bench, vertical, broad_jump, cone, shuttle, wt

get_draft_picks

Get historical NFL draft picks with career outcomes. Includes round, pick, team, college, career approximate value (car_av), Pro Bowls, All-Pro selections, Hall of Fame status. Note: career columns (car_av, pro_bowls, etc.) are cumulative and are blank/low for recent draftees who are still active — they populate as careers progress. Use for draft analysis, career success by pick, team drafting history. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
positionstringFilter by position
roundnumberFilter by draft round
seasonnumberDraft year
teamstringDrafting team abbreviation

get_rookie_class

One-call rookie-class join: NFL draft picks for a draft year + combine testing + that player's rookie-season (same year) production — so you don't have to join draft, combine, and stats by hand. Skill positions (QB/RB/WR/TE) by default. Each row carries pfr_id for joining to other tools. Great for prospect/dynasty evaluation and hit-rate analysis. Anti-pattern: do not multiply marginal factors (athleticism × age × draft slot) into a "P(Hit)" — the factors are correlated and the product is over-confident; use as ordinal ranking or compare similar-player (joint) comps instead. See also: ge…

ParameterTypeDescription
draft_year *numberDraft year (= rookie NFL season). Coverage from ~2000.
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax players (default 60)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter to one player
positionstringFilter to a position
roundnumberFilter to a draft round
sort_bystringSort column. Lower-is-better fields (pick, round, forty) sort ascending; production fields (rookie_ppr, rookie_rush_yds, …) descending. Default: pick.

get_injuries

Get weekly NFL injury reports (nflverse, 2009+). Per player-week: gsis_id (joinable to get_play_by_play / get_player_crosswalk), primary + secondary injury, practice participation (primary/secondary injury + practice_status), and final game report_status (Out/Doubtful/Questionable). Use for injury impact analysis, weekly availability, and attaching injury status to a roster. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberNFL season year (2009+)
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50, max 500)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_idsstringComma-separated gsis ids — attach injury status to a specific roster in one call
player_namestringFilter by player name
statusstringFilter by final game status: Out, Doubtful, Questionable
teamstringFilter by team
weeknumberFilter by week

get_advanced_stats

Get PFR advanced stats: passing (pressure rate, drop rate, bad throws), rushing (yards before/after contact, broken tackles), receiving (drops, YAC). Use for efficiency and process metrics beyond box score. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberNFL season year. Coverage: 2018–present.
stat_type *stringType of advanced stats
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 40)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
season_totalsbooleanReturn one row per player of PFR season totals (default true). Set false for per-game rows.

get_play_by_play

Get play-by-play data with EPA, WPA, win probability, air yards, YAC, and stable player IDs (passer/rusher/receiver_player_id = nflverse gsis_id, joinable to get_player_crosswalk). Default view is lean; pass `fields` to project any of these slim columns — including kicker/defense/special-teams columns for K & DST fantasy scoring: kicker_player_id, kicker_player_name, kick_distance, extra_point_result; sack, interception, fumble, fumble_lost, fumble_recovery_1_team, safety; td_player_id, td_team, return_touchdown (separates defensive/ST TDs from offensive); two_point_attempt, two_point_conv_r…

ParameterTypeDescription
season *numberNFL season year
downnumberFilter by down (1-4)
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
game_idstringFilter to a single game by its canonical nflverse game_id (e.g. 2024_04_BUF_BAL). Returns the complete game (~130-170 plays). Get valid ids from get_games.
limitnumberMax rows (default 50, max 60000). Set ~3000 for a full week, ~50000 for a whole season. For large pulls use output_format=jsonl/csv (+ fields) to keep the payload compact; offset still works for chunk…
offsetnumberSkip this many matched rows before returning (cursor pagination). The result header reports the next offset when more rows remain.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
play_typestringFilter: pass, run, punt, kickoff, field_goal
player_idsstringComma-separated stable gsis ids (e.g. 00-0033077,00-0037247). Returns only plays where one of these is the passer, rusher, receiver, kicker, kickoff/punt returner, or TD scorer — the cheap way to bu…
player_namestringFilter to plays involving this player (passer, rusher, or receiver). For multiple players use player_ids.
red_zonebooleanIf true, only plays inside the 20
teamstringFilter by team on offense (posteam). Accepts a single team (KC) or a comma-separated list (KC,SF,BUF).
weeknumberFilter by week

get_fantasy_pbp

Week-level fantasy play log: returns per-player ordered scoring/touch events already reduced to fantasy shape (gsis-attributed), so consumers don't need the crosswalk or a client-side play reducer. One small call per week. Offensive events: {kind: pass|rush|rec|incomplete, yards, td, is_reception, is_target, two_point}. Committed-turnover events (attributed to the offensive player, not the defense): {kind: int_thrown (passer) | fumble_lost (ball carrier), turnover: 1}. Return events: {kind: kr|pr, yards, td} (kickoff/punt returns, attributed to the returner). Kicker events: {kind: fg|xp, dista…

ParameterTypeDescription
season *numberNFL season year
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
game_idstringFilter to a single game (canonical nflverse game_id)
idpbooleanInclude per-defender IDP events (tackles, sacks, TFL, QB hits, INTs, passes defended, forced fumbles, recoveries, def TDs), each keyed to the defender's gsis (default false). Filter to a roster with p…
limitnumberMax events (default 5000 — covers a full week; max 80000. A whole season is ~62k offense events; with idp=true it's much larger, so page by week).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_idsstringComma-separated gsis ids — emit only events for these players (offensive/kicker). Team-defense events are emitted for the teams these players are on if team_defense is true.
teamstringFilter to one team or a comma-separated list (matches the player's offensive team; for DST, the defending team).
team_defensebooleanInclude team-defense events + points_allowed (default true)
weeknumberFilter to a single week (recommended — keeps the call small)

get_player_crosswalk

Player ID crosswalk: maps the stable nflverse gsis_id (the *_player_id in get_play_by_play) to a canonical full name and cross-source IDs (pfr_id, sleeper_id, espn_id, pff_id, yahoo_id, sportradar_id, rotowire_id, fantasy_data_id, esb_id), plus ready-to-use headshot URLs: espn_headshot (ESPN CDN, when espn_id is known) and headshot (best available — falls back to the roster headshot_url for fresh/in-season rookies ESPN hasn't indexed yet). espn_id and sleeper_id are backfilled from the season rosters when the static crosswalk lags. Use to resolve the abbreviated PBP names (e.g. J.Allen) to a…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50, max 200)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_idstringLook up by stable id — accepts gsis_id (00-00..., matches PBP *_player_id), pfr_id, sleeper_id, or espn_id
player_namestringFilter by player name (fuzzy, matches any known alias)
positionstringFilter by position (e.g. QB, RB, WR, TE)
seasonnumberFilter to players active in this season (earliest_season <= season <= latest_season)

get_fantasy_rankings

Get StatHead's redraft rankings: each player ordered by the average of two StatHead ranks — StatHead ADP (StatHead's blend of the draft markets, which include the FantasyPros expert consensus, Sleeper and FantasyFootballCalculator) and StatHead's own season projection (PPR points above a 12-team replacement level: QB13/RB30/WR42/TE13; within a position, plain projected points). Pass position for a positional board. Third-party rankings are inputs only; no expert or market rank is shown. Columns: rank (StatHead), pos_rank, adp_rank and proj_rank (the two StatHead ranks behind it), proj_pts, a…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringPositional board (QB/RB/WR/TE); default the overall board

get_adp

Get StatHead ADP: StatHead's blend of the draft markets (FantasyPros expert consensus, Sleeper draft ADP, FantasyFootballCalculator), each weighted by freshness and confidence, for players priced by at least two of them. Third-party rankings and ADP are inputs only: no single source's number is returned. Includes a disagreement spread (max minus min across sources) and the number of sources. Use for draft value analysis. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringFilter to a position; adds adp_pos_rank (positional draft rank).
seasonnumberSeason year. Defaults to the current draft season. Past seasons blend the archived Sleeper and FantasyFootballCalculator boards (2020 onward).

get_adp_with_results

Join preseason StatHead ADP (StatHead's blend of the archived Sleeper and FantasyFootballCalculator draft boards; players on both) to actual season-end fantasy production in one call — find draft-day values and busts without joining ADP and stats yourself. For a season, returns each drafted skill player's StatHead ADP alongside their actual PPR points, positional ADP rank, positional PPR finish (among drafted players), and value = adp_pos_rank − finish_pos_rank (positive = beat draft slot). Skill positions (QB/RB/WR/TE). Coverage 2020–present. No single source's ADP is shown. Note: value…

ParameterTypeDescription
season *numberSeason (2020–present)
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax players (default 60)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringFilter to a position
sort_bystringSort column. value/ppr descending; adp/adp_pos_rank/finish_pos_rank ascending. Default: value (biggest values first).

get_sleeper_projections

Kept for compatibility: returns StatHead's own projections, not Sleeper's (third-party projections are inputs only, never shown raw). Pass week for StatHead's weekly projection (same as get_weekly_projections), or omit week for StatHead's season projection (same as get_projections). See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberNFL season year
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringFilter by position
weeknumberWeek number (omit for season-long totals summed across weeks 1–18)

get_sleeper_user_leagues

Look up a Sleeper user's fantasy leagues. Identify the user by username/user_id, OR by display_name + league_id (to scout a manager you just saw in get_sleeper_league). Returns each league's id, name, size, status, and format (Dynasty/Keeper/Redraft, Superflex/2QB/1QB, Best Ball, IDP), plus the resolved user_id. This is the entry point of the Sleeper graph: take a league_id from here into get_sleeper_league / get_sleeper_matchups / get_sleeper_waiver_wire. Source: Sleeper public API. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
display_namestringManager's in-league display or team name; requires league_id.
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
league_idstringAlternative to username: with display_name, resolves a manager seen in a league to their user_id.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
seasonnumberNFL season (default 2026).
usernamestringSleeper username or user_id.

get_sleeper_league

Open a Sleeper league: format/settings, standings (W-L, points for/against, each manager's owner_id), and every team's roster with starters (by lineup slot) and bench, resolved to player names. Identify the league by league_id, OR by username + name (e.g. "the Football Warriors league") — no id needed. Each manager's owner_id is emitted so you can walk to get_sleeper_user_leagues / get_sleeper_user_snooper for that manager. Source: Sleeper public API. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
league_idstringSleeper league id (from get_sleeper_user_leagues or the league URL).
namestringLeague name to match (substring); requires username.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
rostersbooleanInclude full rosters (default true). Set false for standings + format only.
seasonnumberSeason for username+name lookup (default 2026).
teamstringFilter to one team by owner display name or team name (substring match).
usernamestringAlternative to league_id: with name, finds the league among this user's leagues.

get_sleeper_league_users

List the managers in a Sleeper league — display name, team name, owner_id, roster_id, and record — without pulling full rosters (a cheap hop). Identify the league by league_id, OR username + name. Use each manager's owner_id (or display_name + this league_id) to walk to get_sleeper_user_leagues / get_sleeper_user_snooper. Source: Sleeper public API. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
league_idstringSleeper league id.
namestringLeague name to match (substring); requires username.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
seasonnumberSeason for username+name lookup (default 2026).
usernamestringAlternative to league_id: with name, finds the league among this user's leagues.

get_sleeper_matchups

Get head-to-head matchups and scores for a Sleeper league in a given week. Pairs teams by matchup, with each team's points and (optionally) starters. Source: Sleeper public API. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
league_id *stringSleeper league id.
week *numberWeek number (1-18).
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
startersbooleanInclude each team's starting lineup (default false).

get_sleeper_waiver_wire

Find the best available (un-rostered) free agents in a Sleeper league. Cross-references the league's rostered players against all NFL players, then joins Sleeper trending-add counts and StatHead's projections: projected PPG, projected games, and rest-of-season points (ros_pts, the in-season ranking column). Sort by trending (default), ros, or ppg — ppg ranks players projected for at least min_games first, because a backup's ppg is a per-game rate conditional on playing (sorting on it alone returned thirty backup quarterbacks). Use for waiver-wire and streaming decisions. Source: Sleeper publ…

ParameterTypeDescription
league_id *stringSleeper league id.
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax players (default 40).
min_gamesnumberFor sort_by ppg: players projected for fewer games rank below the rest (default 8).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringFilter by position (QB, RB, WR, TE, K, DEF).
sort_bystringSort column: trending (default, recent add count), ros (StatHead rest-of-season projected points — the right ranking in-season), or ppg (StatHead projected points per game, ranked among players proj…

get_sleeper_draft

Get Sleeper draft data. Pass draft_id for that draft's full pick board (round, pick, team, player, position). Or pass username (+ season) to list that user's drafts and their ids. Use for draft recaps, keeper/rookie draft analysis. Source: Sleeper public API. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
draft_idstringSleeper draft id — returns the pick board.
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax picks/drafts (default 200).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
seasonnumberSeason for username lookup (default 2026).
usernamestringSleeper username — lists the user's drafts (use instead of draft_id).

get_sleeper_user_snooper

Scout a Sleeper user across all their leagues for a season: their league list plus cross-league player exposure — which players they roster in the most leagues (and start most), with the league names. Identify the user by username/user_id, OR by display_name + league_id (to scout a manager you just saw in get_sleeper_league). Use to see who a manager is heavily invested in. Source: Sleeper public API. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
display_namestringManager's in-league display or team name; requires league_id.
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
league_idstringAlternative to username: with display_name, resolves a manager seen in a league to their user_id.
limitnumberMax players in the exposure table (default 40).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringFilter exposure to one position (QB, RB, WR, TE).
seasonnumberNFL season (default 2026).
usernamestringSleeper username or user_id.

get_sleeper_transactions

Get a Sleeper league's transactions — trades, waiver claims, and free-agent adds/drops — with players and teams resolved to names. Pass a week, or omit it to sweep the season (weeks 1-18). Filter by type. Identify the league by league_id OR username + name. Use for trade history, waiver activity, and roster churn. Source: Sleeper public API. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
league_idstringSleeper league id.
limitnumberMax transactions (default 40).
namestringLeague name to match (substring); requires username.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
seasonnumberSeason for username+name lookup (default 2026).
typestringFilter by transaction type.
usernamestringAlternative to league_id: with name, finds the league among this user's leagues.
weeknumberWeek (1-18). Omit to sweep the whole season.

get_sleeper_user_history

Multi-season Sleeper career history for a user: every league they fielded across recent seasons with record, points, regular-season finish, and championship/runner-up result, plus a career summary (total record, titles, leagues). Identify the user by username/user_id, OR display_name + league_id. Source: Sleeper public API. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
display_namestringManager's in-league display or team name; requires league_id.
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
league_idstringAlternative to username: with display_name, resolves a manager to their user_id.
limitnumberMax league-season rows (default 60).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
seasonsnumberHow many recent seasons to sweep, ending this year (default 5, max 12).
usernamestringSleeper username or user_id.

get_dynasty_values

Get StatHead's dynasty trade values and rankings: StatHead's blend of two dynasty markets (the geometric mean of FantasyCalc's value and KeepTradeCut's value calibrated to the same scale), shown in tens. Third-party values and ranks are inputs only; no field is a market's raw number or rank (position ranks are on StatHead value). Includes 1QB and SuperFlex values, position ranks, age, and stable ids (gsis_id, sleeper_id) for joining without name-string matching. Board depth is the market source's top ~500; a player absent from the board is a market judgment (valued below the top 500), not miss…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
formatstringFormat
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
positionstringFilter by position

get_trade_values

StatHead TRADE values: what managers actually pay, fitted to millions of completed two-team trades in public Sleeper dynasty and keeper leagues (every trade read as an even swap; values additive: two 50s trade for one 100; 100 = a mid 1st in the next rookie draft, the same week). StatHead model output only — no trade, league or manager is ever shown, and no third-party ranking is involved; this is a separate StatHead number from get_dynasty_values (a list price blended from dynasty markets): the gap between the two is where the trade market disagrees with the list. Every value is AS OF its w…

ParameterTypeDescription
fieldsstringComma-separated columns to return (any field on the rows)
formatstringsuperflex (default) or 1qb
include_forecastbooleanAdd the 1/3/6/12-month value forecasts (fc1m, fc3m, fc6m, fc1y; fc1yLo / fc1yHi via fields)
limitnumberMax rows (default 50, up to 1500)
min_tradesnumberOnly players in at least this many trades over 4 weeks (liquidity floor; default 0)
output_formatstringtable (default), csv or jsonl
player_namestringFilter by player name (required for view=history)
positionstringQB / RB / WR / TE, or IDP for defensive players (valued from IDP leagues only)
scoringstringRe-price TEs / QBs for a league's scoring: standard (default: no TE premium, 4-pt pass TD), tep0.5 (TE premium under 0.75 a catch), tep1.0 (0.75+ a catch), passTd6 (6-pt passing TDs)
sort_bystringvalue (default), change4w, change12w, trades4w, fromHigh
viewstringplayers (default), picks, or history (one player's weekly as-of values)

price_lines

Price pick lines (player prop lines from a pick'em or sportsbook app) against StatHead's week projections: for each player + stat + line, the week's projected stat, the simulation median, the lean (over / under), P(lean), the edge against the payout's break-even (1 / multiplier) and the expected value per unit. The raw share of 20,000 draws of the player's week stat line past the line (pRaw; pOver via fields) comes from the same stat-line simulation that makes the confidence bands; P(lean) is that share CALIBRATED, 0.5 + 0.5 x (raw - 0.5) capped at 62%, because on a proxy back test (weeks 1-6…

ParameterTypeDescription
lines *stringSemicolon-separated lines, each 'Player stat number [@mult]' (e.g. 'Germie Bernard recYds 54.5 @1.78; Jaylin Noel rec yds 27.5; Josh Allen pass yds 260.5'). Aliases like 'rec yds', 'receiving yards',…
fieldsstringComma-separated columns to return
multnumberPayout per leg for lines that give none (default 1.78)
output_formatstringtable (default), csv or jsonl
weeknumberNFL week (default: the current week)

get_next_gen_stats

Get NFL Next Gen Stats — advanced tracking data powered by AWS. Passing: time to throw, air yards, aggressiveness, completion probability (CPOE). Receiving: separation, cushion, YAC above expectation, target share. Rushing: efficiency, rush yards over expected (RYOE), time to LOS, stacked box rate. Use for elite efficiency analysis beyond box score stats. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberNFL season year (2016+)
stat_type *stringType of NGS data
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 40)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
teamstringFilter by team abbreviation
weeknumberFilter by week (omit for all weeks)

get_rosters

Get NFL team rosters with player details: position, status, height, weight, college, birth date, years of experience, draft info, headshot URL. Use for player biographical info, roster composition, experience levels. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberNFL season year
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 53)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
positionstringFilter by position
statusstringFilter by status (e.g., ACT, RES, PUP)
teamstringFilter by team abbreviation

get_contracts

Get NFL player contract details from OverTheCap. Includes total value, APY, guaranteed money, cap percentage, inflation-adjusted values. Use for salary analysis, team cap situations, player investment vs production. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
active_onlybooleanOnly show active contracts (default true)
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 40)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
positionstringFilter by position
sort_bystringSort by: value, apy, guaranteed, apy_cap_pct
teamstringFilter by team

get_depth_charts

NFL team depth charts: each team's newest published chart (nflverse, twice-daily snapshots) for offense, defense and special teams, every slot and rank, with roster status and StatHead's own depth-order rank for QB/RB/WR/TE. Slot-aware: a chart lists three receiver slots that all carry WR, so rows are keyed by slot and labelled WR1 / WR2 / WR3 (first, second, third receiver slot). The chart's rank runs across a position (the WR slots carry 1/4/7, 2/5/8, 3/6, so a team's receiver order is the rank order); slotRank is the order within the slot and starter marks the first in each slot. view=chang…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
groupstringFilter to one side of the chart.
limitnumberMax rows (default 80, chart; 100, changes).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name (substring).
positionstringFilter by position abbreviation (QB, RB, WR, TE, LT, LDE, PK...) or a slot label (WR2).
seasonnumberNFL season year. Default: the current season.
sincestringChanges view: previous = since each team's previous snapshot (about 8-12 hours), 7d = since its newest snapshot at least 7 days old. Default previous.
starters_onlybooleanChart view: only the first player in each slot.
teamstringFilter by team abbreviation (e.g. LV).
viewstringchart (default) or changes (moves since a reference snapshot; current season only).

get_ftn_charting

Get FTN play-level charting data (2022+). Includes play-action, RPO, screen pass, motion, blitzers, pass rushers, drops, contested catches, QB pocket movement. Use for scheme analysis, play-calling tendencies, process-over-results evaluation. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberNFL season year (2022+)
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
game_idstringFilter by game ID
limitnumberMax rows (default 100)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
weeknumberFilter by week

get_trades

Get historical NFL trades. Shows which teams gave/received players and draft picks, including pick round, number, and conditional status. Use for trade history, draft capital analysis, team-building strategies. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by traded player name
seasonnumberFilter to trades in this season
teamstringFilter to trades involving this team (gave or received)

get_player_metrics

Get a comprehensive analytics profile for a player. Combines weekly stats, play-by-play, NGS tracking data, PFR advanced stats, FTN charting, and snap counts into a single metrics object. QB metrics: comp%, Y/A, AY/A, passer rating, EPA/dropback, CPOE, pressure rate, time to throw, play-action rate, scramble rate, designed rush rate. Skill (RB/WR/TE) metrics: YPC, catch rate, YPRR, target share, WOPR, separation, YAC above expected, RYOE, snap%, opportunity rate, drop rate. Use for in-depth player evaluation, cross-position comparisons, efficiency analysis. Returns one row per player matching…

ParameterTypeDescription
season *numberNFL season year (2016+ for NGS, 2022+ for FTN)
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax players to return (default 20)
min_gamesnumberMinimum games played (default 4)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringPlayer name to search for (case-insensitive partial match)
positionstringFilter by position
sort_bystringSort by any metric column (descending). Common: fantasy_points_ppr, total_epa, yprr, epa_per_dropback
teamstringFilter by team abbreviation

get_qbr

Get ESPN QBR (Total Quarterback Rating) — a comprehensive QB efficiency metric from ESPN. Season-level or week-by-week data from 2006 onward. Includes QBR total, points added, EPA breakdown (pass, run, expected sack, penalty), and raw QBR. Use for QB evaluation, comparing efficiency across eras, weekly performance tracking. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberFilter to specific season (2006+)
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
levelstringSeason totals or week-by-week
limitnumberMax rows (default 32)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name (case-insensitive partial match)
qualifiedbooleanOnly show qualified QBs (default true)
sort_bystringSort by column (descending). Common: qbr_total, pts_added, epa_total
teamstringFilter by team abbreviation
weeknumberFilter by week (weekly level only)

get_draft_prospect_data

Get historical draft prospect profiles: school, draft slot, physical measurements, and scouting report text (strengths/weaknesses). ESPN's own grades and prospect ranks are not shown (third-party rankings are never shown raw). Coverage: draft classes 1967–2021 only (this ESPN/JackLich10 source is not updated for 2022+). For recent/2022+ classes use get_rookie_class or get_college_stats. Use for prospect evaluation, draft class comparisons, historical draft analysis. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
draft_yearnumberFilter to specific draft year
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
include_scoutingbooleanInclude scouting report text from draft profiles (default false)
limitnumberMax rows (default 50)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
positionstringFilter by position abbreviation (QB, RB, WR, TE, etc.)
schoolstringFilter by college/school name
sort_bystringSort by: overall (actual draft pick, ascending)

get_prospect_outcomes

StatHead's own prospect model: draft grade, tier, projected draft slot, and CALIBRATED boom/bust probabilities. IMPORTANT — boomProb/bustProb/outperfPctile are RELATIVE to the player's draft slot, not absolute fantasy outcomes. boomProb = P(the player OUTPERFORMS the model's draft-slot-informed PPG expectation for a profile like this); bustProb = P(underperforms it); outperfPctile = percentile of that outperformance vs slot. So a Day-3 pick with a high boomProb is likely to beat Day-3 expectations — NOT likely to be an absolute fantasy star. For absolute expected value use grade / tier / p…

ParameterTypeDescription
draft_yearDraft class. Default 2026.
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax prospects (default 60)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter to one prospect
positionstringFilter by position
sort_bystringSort column. grade/boomProb/outperfPctile descending; projPick/projRound/bustProb ascending. Default: grade.
tierstringFilter by tier label (substring match)

get_devy_rankings

StatHead devy (college player) rankings for dynasty leagues. The headline is StatHead's COMPOSITE value and rank: the devy market's price blended with StatHead's NFL career projection in rank space, priced on a smooth 0-9999 value curve. composite_weight = the career projection's share, set by the career model's own held-out accuracy at that position and distance from the draft (0.75 x Spearman, halved where it does not beat last-season production: about 0.11-0.17 for QBs, 0.17-0.25 for TEs, 0.26-0.35 for RBs and WRs), except where a backtest on the 2010-2022 classes found a better weight on h…

ParameterTypeDescription
draft_yearnumberFilter to one draft class (e.g. 2027, 2028).
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
formatstringLeague format: sf = superflex / 2QB, 1qb = single QB. Switches every value and rank. Default sf.
limitnumberMax players (default 50, max 400).
market_listedbooleantrue = only players on the market's devy list; false = only players beyond it.
min_college_seasonsnumberOnly players with at least this many college seasons with stats (this one included); 1 drops recruits with no stats yet.
offsetnumberSkip this many rows after filtering and sorting, to page deeper (default 0).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter to one player (partial match).
positionstringFilter by position
schoolstringFilter to one school (partial match), e.g. a team's whole devy room.
sort_bystringcomposite (default), market (the value model's price), dynasty_value, hit_pct, p_day1, or career_vs_market (biggest career-over-market first).

get_hs_prospects

StatHead's high-school devy board: QB / RB / WR / TE / ATH recruits in classes not yet in college, ranked ACROSS positions by NFL fantasy outlook. hit_pct = chance (percent) of at least one fantasy-starter season in his first four NFL seasons (6+ games above replacement PPR PPG for a 12-team league in the chosen format); the rank weighs it by what a hit is worth at his position; p_drafted = chance he is drafted at a skill position. Calibrated on every high-school skill recruit in the 2007-2016 classes. The model's input is the recruiting composite rating, which is never shown; held out by clas…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
formatstringLeague format: sf = superflex / 2QB (default), 1qb = single QB.
limitnumberMax players (default 50, max 400).
offsetnumberSkip this many rows, to page deeper (default 0).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by name (partial match).
recruit_classnumberOne high-school class (e.g. 2027).
schoolstringFilter by high school or committed college (partial match).
statestringFilter by home state (e.g. TX).

get_devy_player

One devy (college) player's card: his StatHead devy numbers (composite value and rank, value-model price, NFL career projection, dynasty value / pick equivalent, estimated age, breakout age), his college season stat lines (the last five seasons plus the current season to date) and the current season's game log (week, opponent, result and his passing / rushing / receiving line). Covers every player on the devy board (get_devy_rankings, ~6,100). College stats from CollegeFootballData.com; the season to date and game log run through the last completed week (refreshed weekly in season). If the nam…

ParameterTypeDescription
player_name *stringPlayer name (partial match).
draft_yearnumberDisambiguate by draft class.
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
formatstringLeague format for the StatHead values: sf = superflex / 2QB (default), 1qb = single QB.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringDisambiguate by position.
schoolstringDisambiguate by school (partial match).

get_model_docs

How StatHead's models work and what drives them: a methodology overview (scored-player VOR hit/bust model, season projection pipeline, dynasty value, share models), the hit/bust thresholds and share-model cross-validation fit, and the TOP FEATURE IMPORTANCE per position (each feature's category, weight, and the direction of its relationship to the projection). Use to understand or explain the model. For one player's feature breakdown use get_player_features. topic=devy: the devy (college) models instead (validation, calibration, feature importance, backtest, data checks). Coverage: 2026. See a…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringLimit the feature-importance section to one position (QB, RB, WR, TE).
topicstringnfl (default): the NFL projection and hit/bust models. devy: the devy (college) models behind get_devy_rankings and get_hs_prospects: career-model held-out accuracy vs baselines, competition calibrati…

get_player_features

Feature evaluation for a SCORED player, broken out PER MODEL that scores them: Hit/Bust (VOR), Season Projection (PPG), Rookie Career/Prospect (rookies), Usage Share (RB/WR/TE), and a market-derived Dynasty Value note. Each model shows its prediction plus the top feature 'drivers' — where the player lands vs the positional cohort FOR THAT MODEL (percentile band) and which way the feature pushes that model's prediction. Proprietary/paid-sourced features are shown only as a qualitative magnitude band + direction (never a raw value or source). Use to explain WHY a player is scored the way they…

ParameterTypeDescription
player_name *stringPlayer to explain (case-insensitive partial match).
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax feature drivers to show per model (default 8).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringDisambiguate by position if the name matches several.

get_projections

StatHead's first-party season fantasy projections: in-house projected fantasy points-per-game for the upcoming season — veterans via a prior-year-actual / 2-year-average / age-curve blend, rookies via the rookie career model. This is the season-level companion to get_prospect_outcomes (rookies) and get_dynasty_values (long-horizon value), and the answer to "what does StatHead project for a veteran." Coverage: 2026, QB/RB/WR/TE plus kickers (position K), team defenses (position DST) and individual defensive players (positions DL, LB, DB — or IDP for all three), each projected separately wit…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax players (default 50).
min_gamesnumberOnly return players projected for at least this many games. Use it to drop the small-denominator backups whose ppg outranks real starters (e.g. min_games: 8).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter to one player.
positionstringFilter by position (QB, RB, WR, TE).
presetstringApply one of the site's "Quick Preset" tilts (all derived StatHead outputs). "vegas-weighted": regress 25% toward position mean. "consensus"/"consensus-ml": blend toward market consensus via internal…
scoringstringRe-score ppg/projPts server-side from the projected component line. half/std subtract 0.5/1.0 per reception; tep0.5/tep1.0 ADD a TE-premium bonus per TE reception (exact, from the rec component, not a…
sort_bystringSort column, descending. Default: projPts (season total), which is the right ranking for a draft board. In-season pass rosPts to rank on what is left. ppg is conditional on playing, so sorting by it p…

get_schedule_strength

Strength of schedule per team, per position, for every game of 2026 — how easy or hard each team's slate is for QB/RB/WR/TE/K/DST. A factor above 1 means an easier schedule (that position's opponents concede more than league average); below 1 means harder. Season factors are the mean over a team's games; per-game factors name the opponent and venue. CRITICAL, read before using: these factors are ALREADY APPLIED to StatHead's K and DST projections (their season lines are built alongside these numbers), so re-applying them there double-counts. They are deliberately NOT applied to QB/RB/WR/TE…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 40).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
positionstringFilter to one position.
sort_bystringSort column, descending. Default: the requested position, else team.
teamstringFilter to one team abbreviation (e.g. KC).
weeknumberReturn per-game rows for this week instead of season factors.

get_matchups

Weekly strength of matchup by offensive fantasy position (QB/RB/WR/TE) for 2026: what each defense has ALLOWED per game to a position this season, ranked 1-32 (1 = most allowed = softest matchup for the offense), laid over the schedule so every team's upcoming opponent reads as a matchup, in your scoring. Every table also carries OVER EXPECTED (oe): points or a metric allowed per game minus what the offenses faced produce in their other games this season (leave-one-out), i.e. the schedule-adjusted ledger — a defense that only looks soft because it met Detroit's tight ends has a high raw rank…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
from_weeknumberSchedule view: first week shown. Default: the current week. Pass 1 to include the weeks already played (rows marked final).
limitnumberMax rows. Defaults: 64 (week), 32 (defenses, ros, metrics), 80 (schedule).
metricstringRead one component metric instead of fantasy points (week, schedule, defenses and metrics views; needs position or player_name). QB: passPts, passAtt, passYds, passTD, int, rushPts, carries, rushYds,…
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringA QB/RB/WR/TE's name: returns his team's matchup strip at his position from the current week on (schedule view). Resolved through the weekly projections feed; add team or position if two players share…
positionstringFilter to one offensive position. Required for the metrics view; selects the single-position table in the defenses and ros views (without it they show all four positions side by side).
scoringstringScoring for points allowed, over expected, ranks and league average. tep0.5/tep1.0 add a TE-premium bonus per reception allowed to TEs. Default ppr. Ignored when metric is set.
sort_bystringSort column (descending for numbers; ascending for rank columns). Defaults: week view oppFPA (or oppMetric); defenses fpa; ros rosFPA; metrics the metric or pg; all-position tables team; schedule view…
teamstringTeam abbreviation (e.g. LV). With week: that team's row(s) for the week. Without week: that team's upcoming matchup strip (schedule view). In defenses/metrics/ros views: filter to that team.
viewstringForce a view. Default: schedule when player_name, or team without week, is given; otherwise week.
weeknumberNFL week (1-18) for the week view. Default: the current week (the first week whose games are not all final).
weeks_aheadnumberSchedule view: how many weeks from from_week to show. Default: the rest of the season.

get_weekly_projections

StatHead's first-party PER-WEEK fantasy projections for 2026 — the season projection (get_projections) split across the schedule: each week = season PPG × a scoring-environment term × the opponent's position-specific deviation, normalized so the 17 games sum back to the season line. Where a market line is published, the environment term is the implied team total (blended 60% against def-vs-pos team strength, home field already priced in); elsewhere it is def-vs-pos team strength × a home/away nudge. An implied total predicts a team's actual points at RMSE 9.13 versus 10.16 for prior-seaso…

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax players (default 50).
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter to one player. Without week, returns their all-18-weeks outlook. DSTs match by team name (e.g. "SEA DST").
positionstringFilter by position: QB, RB, WR, TE, K, DST, or the IDP buckets DL, LB, DB.
scoringstringScoring format for the points columns. tep0.5/tep1.0 add a TE-premium bonus per TE reception (exact, from recPG). Default ppr.
teamstringFilter to one NFL team abbreviation (e.g. DET).
weeknumberNFL week (1-18) to rank. Omit together with player_name for a player's full-season strip; omitting both defaults to the current week (the first week whose games are not all final).

get_college_stats

Get college football statistics for individual players OR a whole class/cohort. Counting stats (passing, rushing, receiving, tackles, sacks, INTs, etc.) by season. Source: CollegeFootballData (CFBD); coverage 2005–present. For one player, pass player_name. For a cohort (e.g. "all 2023 RBs"), omit player_name and pass season (optionally position/school) and sort_by to rank. Use for evaluating college production, dominator rating, market share analysis. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax player-seasons (default 100)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter to one player. Omit for a class/cohort query (then season and/or school is required).
positionstringFilter by position abbreviation (e.g. RB, WR, QB)
schoolstringFilter by school name/abbreviation
seasonnumberCollege season. Required for cohort queries (when player_name is omitted).
sort_bystringStat column to rank a cohort by, descending (e.g. "Rushing Yards", "Receiving Yards", "Receptions", "Passing Yards"). Case- and spacing-insensitive, so "rushing_yards" also works. Unknown values retur…

get_college_qbr

Get ESPN college QBR ratings for quarterback prospects. Includes total QBR, points added, EPA, and breakdown by pass/run/sack. Coverage: 2004–2020 only (historical; the upstream source is not updated for recent seasons — use get_college_stats for current college production). Use for evaluating college QB efficiency, comparing draft prospect QBs across classes. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
limitnumberMax rows (default 30)
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringFilter by player name
seasonnumberFilter to specific college season (2004+)
sort_bystringSort by: total_qbr, points_added, total_epa

get_team_metrics

Get comprehensive team-level analytics for a season. Computed from play-by-play data. Offense: pass rate, neutral-script pass rate, EPA/play (total/pass/rush), success rate, yards/play, red zone TD rate, shotgun rate, deep pass rate, pace. Defense: EPA/play allowed (total/pass/rush), defensive success rate. Context: points scored/allowed, point differential, turnovers. Returns one row per team (32 teams). Use for team evaluation, matchup analysis, scheme identification. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
season *numberNFL season year
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
sort_bystringSort by any metric (descending). Common: total_epa_per_play, ppg, success_rate, neutral_pass_rate, def_epa_per_play
teamstringFilter to a specific team abbreviation

get_coach_tendencies

Head-coach scheme + usage tendencies and a coach×player reunion lookup — so you don't have to hand-reconstruct what a coach does or how he used a player. Per coach (career + last-3-season averages): neutral-script pass rate, pass rate, plays/game (pace), shotgun rate, RZ TD rate, PPG, target concentration (HHI), and WR1 / RB / TE target share (the WR1's name per season). Pass a coach by name, or a team+season to resolve that team's coach. Add player_name to see that player's target share / PPG / games UNDER this coach (the reunion signal, e.g. A.J. Brown under Mike Vrabel), or player_name a…

ParameterTypeDescription
coachstringHead coach name (case-insensitive partial match).
fieldsstringComma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored.
output_formatstringOutput format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls.
player_namestringShow this player's usage under the resolved coach; or, alone, the player's coaching history.
seasonnumberSeason — with team, resolves that team's head coach (also scopes the reunion lookup).
teamstringTeam abbreviation — with season, resolves that team's head coach.

export_excel

Export StatHead projections, rankings, or rookie rankings to a styled .xlsx workbook on the local disk — the same boards the website lets you download. Edit the highlighted columns in Excel/Sheets (Proj PPG for projections; My Rank for rankings/rookies), then feed the file back with import_excel so YOUR numbers drive every later analysis. Returns the absolute path of the written file. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
kind *stringWhich board to export. projections = StatHead season PPG (edit Proj PPG). rankings = redraft ECR board (edit My Rank). rookie_rankings = prospect grades/board (edit My Rank). by_team = first-party by-…
draft_yearDraft class for rookie_rankings (2026 or 2027). Default 2026.
limitnumberMax rows to write (default 300).
pathstringOutput file path or directory. If a directory (or omitted), a dated filename is generated there. Default dir: $STATHEAD_DIR or the current working directory.
positionstringFilter to one position (QB, RB, WR, TE).

import_excel

Read back an .xlsx workbook that you exported with export_excel and (optionally) edited, and save your custom values as overrides. After import, get_projections / get_fantasy_rankings / get_prospect_outcomes automatically use YOUR Proj PPG and rankings (flagged in the output) until you run clear_overrides. The workbook kind is auto-detected from its Meta sheet. Returns a summary of what was applied. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
path *stringPath to the .xlsx file to import (the one you exported and edited).

clear_overrides

Remove custom projections/rankings overrides previously saved via import_excel, so analysis tools revert to StatHead's own model. Optionally clear just one kind. See also: get_metadata for season coverage, valid enums, and analytic caveats.

ParameterTypeDescription
kindstringWhich overrides to clear. Default: all.