stathead-mcp
v1.0.126Fantasy 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…
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year. Coverage: 1999 to the latest completed season (nflverse). |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows to return (default 30, max 100) |
min_games | number | Optional: minimum games played |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Optional: filter to players whose name contains this string (case-insensitive) |
position | string | Filter 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_by | string | Column 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…
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 100, max 1000). Only applies to multi-player queries. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Player name (case-insensitive partial match). Omit to return every player matching the other filters. |
position | string | Filter 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_by | string | Column to sort by, descending — any weekly column (e.g. def_sacks). Default: week, then fantasy_points_ppr. |
team | string | Filter to one team abbreviation (e.g. DAL). |
week_end | number | End week (inclusive) |
week_start | number | Start 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
season | number | Filter to specific season |
team | string | Filter to games involving this team (abbreviation like KC, SF, BUF) |
week | number | Filter 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.
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year (2012+) |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
position | string | Filter by position |
team | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 30) |
max_season | number | Latest draft year to include |
min_season | number | Earliest draft year to include |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
position | string | Filter by position (QB, RB, WR, TE, etc.) |
sort_by | string | Sort 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
position | string | Filter by position |
round | number | Filter by draft round |
season | number | Draft year |
team | string | Drafting 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…
| Parameter | Type | Description |
|---|---|---|
draft_year * | number | Draft year (= rookie NFL season). Coverage from ~2000. |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max players (default 60) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter to one player |
position | string | Filter to a position |
round | number | Filter to a draft round |
sort_by | string | Sort 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.
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year (2009+) |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50, max 500) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_ids | string | Comma-separated gsis ids — attach injury status to a specific roster in one call |
player_name | string | Filter by player name |
status | string | Filter by final game status: Out, Doubtful, Questionable |
team | string | Filter by team |
week | number | Filter 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.
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year. Coverage: 2018–present. |
stat_type * | string | Type of advanced stats |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 40) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
season_totals | boolean | Return 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…
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year |
down | number | Filter by down (1-4) |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
game_id | string | Filter 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. |
limit | number | Max 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… |
offset | number | Skip this many matched rows before returning (cursor pagination). The result header reports the next offset when more rows remain. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
play_type | string | Filter: pass, run, punt, kickoff, field_goal |
player_ids | string | Comma-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_name | string | Filter to plays involving this player (passer, rusher, or receiver). For multiple players use player_ids. |
red_zone | boolean | If true, only plays inside the 20 |
team | string | Filter by team on offense (posteam). Accepts a single team (KC) or a comma-separated list (KC,SF,BUF). |
week | number | Filter 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…
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
game_id | string | Filter to a single game (canonical nflverse game_id) |
idp | boolean | Include 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… |
limit | number | Max 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_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_ids | string | Comma-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. |
team | string | Filter to one team or a comma-separated list (matches the player's offensive team; for DST, the defending team). |
team_defense | boolean | Include team-defense events + points_allowed (default true) |
week | number | Filter 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50, max 200) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_id | string | Look up by stable id — accepts gsis_id (00-00..., matches PBP *_player_id), pfr_id, sleeper_id, or espn_id |
player_name | string | Filter by player name (fuzzy, matches any known alias) |
position | string | Filter by position (e.g. QB, RB, WR, TE) |
season | number | Filter 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Positional 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Filter to a position; adds adp_pos_rank (positional draft rank). |
season | number | Season 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…
| Parameter | Type | Description |
|---|---|---|
season * | number | Season (2020–present) |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max players (default 60) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Filter to a position |
sort_by | string | Sort column. value/ppr descending; adp/adp_pos_rank/finish_pos_rank ascending. Default: value (biggest values first). |
get_sleeper_trending
Get trending player adds or drops from Sleeper fantasy platform. Shows which players are being most added/dropped across all Sleeper leagues. Use for waiver wire analysis and league-wide sentiment. See also: get_metadata for season coverage, valid enums, and analytic caveats.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
hours | number | Lookback window in hours (default 24) |
limit | number | Number of players (default 25) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
type | string | Trending adds or drops |
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.
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Filter by position |
week | number | Week 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.
| Parameter | Type | Description |
|---|---|---|
display_name | string | Manager's in-league display or team name; requires league_id. |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
league_id | string | Alternative to username: with display_name, resolves a manager seen in a league to their user_id. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
season | number | NFL season (default 2026). |
username | string | Sleeper 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
league_id | string | Sleeper league id (from get_sleeper_user_leagues or the league URL). |
name | string | League name to match (substring); requires username. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
rosters | boolean | Include full rosters (default true). Set false for standings + format only. |
season | number | Season for username+name lookup (default 2026). |
team | string | Filter to one team by owner display name or team name (substring match). |
username | string | Alternative 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
league_id | string | Sleeper league id. |
name | string | League name to match (substring); requires username. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
season | number | Season for username+name lookup (default 2026). |
username | string | Alternative 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.
| Parameter | Type | Description |
|---|---|---|
league_id * | string | Sleeper league id. |
week * | number | Week number (1-18). |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
starters | boolean | Include 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…
| Parameter | Type | Description |
|---|---|---|
league_id * | string | Sleeper league id. |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max players (default 40). |
min_games | number | For sort_by ppg: players projected for fewer games rank below the rest (default 8). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Filter by position (QB, RB, WR, TE, K, DEF). |
sort_by | string | Sort 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.
| Parameter | Type | Description |
|---|---|---|
draft_id | string | Sleeper draft id — returns the pick board. |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max picks/drafts (default 200). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
season | number | Season for username lookup (default 2026). |
username | string | Sleeper 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.
| Parameter | Type | Description |
|---|---|---|
display_name | string | Manager's in-league display or team name; requires league_id. |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
league_id | string | Alternative to username: with display_name, resolves a manager seen in a league to their user_id. |
limit | number | Max players in the exposure table (default 40). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Filter exposure to one position (QB, RB, WR, TE). |
season | number | NFL season (default 2026). |
username | string | Sleeper 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
league_id | string | Sleeper league id. |
limit | number | Max transactions (default 40). |
name | string | League name to match (substring); requires username. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
season | number | Season for username+name lookup (default 2026). |
type | string | Filter by transaction type. |
username | string | Alternative to league_id: with name, finds the league among this user's leagues. |
week | number | Week (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.
| Parameter | Type | Description |
|---|---|---|
display_name | string | Manager's in-league display or team name; requires league_id. |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
league_id | string | Alternative to username: with display_name, resolves a manager to their user_id. |
limit | number | Max league-season rows (default 60). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
seasons | number | How many recent seasons to sweep, ending this year (default 5, max 12). |
username | string | Sleeper 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
format | string | Format |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
position | string | Filter 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated columns to return (any field on the rows) |
format | string | superflex (default) or 1qb |
include_forecast | boolean | Add the 1/3/6/12-month value forecasts (fc1m, fc3m, fc6m, fc1y; fc1yLo / fc1yHi via fields) |
limit | number | Max rows (default 50, up to 1500) |
min_trades | number | Only players in at least this many trades over 4 weeks (liquidity floor; default 0) |
output_format | string | table (default), csv or jsonl |
player_name | string | Filter by player name (required for view=history) |
position | string | QB / RB / WR / TE, or IDP for defensive players (valued from IDP leagues only) |
scoring | string | Re-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_by | string | value (default), change4w, change12w, trades4w, fromHigh |
view | string | players (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…
| Parameter | Type | Description |
|---|---|---|
lines * | string | Semicolon-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',… |
fields | string | Comma-separated columns to return |
mult | number | Payout per leg for lines that give none (default 1.78) |
output_format | string | table (default), csv or jsonl |
week | number | NFL 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.
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year (2016+) |
stat_type * | string | Type of NGS data |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 40) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
team | string | Filter by team abbreviation |
week | number | Filter 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.
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 53) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
position | string | Filter by position |
status | string | Filter by status (e.g., ACT, RES, PUP) |
team | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
active_only | boolean | Only show active contracts (default true) |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 40) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
position | string | Filter by position |
sort_by | string | Sort by: value, apy, guaranteed, apy_cap_pct |
team | string | Filter 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
group | string | Filter to one side of the chart. |
limit | number | Max rows (default 80, chart; 100, changes). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name (substring). |
position | string | Filter by position abbreviation (QB, RB, WR, TE, LT, LDE, PK...) or a slot label (WR2). |
season | number | NFL season year. Default: the current season. |
since | string | Changes 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_only | boolean | Chart view: only the first player in each slot. |
team | string | Filter by team abbreviation (e.g. LV). |
view | string | chart (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.
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year (2022+) |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
game_id | string | Filter by game ID |
limit | number | Max rows (default 100) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
week | number | Filter 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by traded player name |
season | number | Filter to trades in this season |
team | string | Filter 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…
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year (2016+ for NGS, 2022+ for FTN) |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max players to return (default 20) |
min_games | number | Minimum games played (default 4) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Player name to search for (case-insensitive partial match) |
position | string | Filter by position |
sort_by | string | Sort by any metric column (descending). Common: fantasy_points_ppr, total_epa, yprr, epa_per_dropback |
team | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
season * | number | Filter to specific season (2006+) |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
level | string | Season totals or week-by-week |
limit | number | Max rows (default 32) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name (case-insensitive partial match) |
qualified | boolean | Only show qualified QBs (default true) |
sort_by | string | Sort by column (descending). Common: qbr_total, pts_added, epa_total |
team | string | Filter by team abbreviation |
week | number | Filter 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.
| Parameter | Type | Description |
|---|---|---|
draft_year | number | Filter to specific draft year |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
include_scouting | boolean | Include scouting report text from draft profiles (default false) |
limit | number | Max rows (default 50) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
position | string | Filter by position abbreviation (QB, RB, WR, TE, etc.) |
school | string | Filter by college/school name |
sort_by | string | Sort 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…
| Parameter | Type | Description |
|---|---|---|
draft_year | Draft class. Default 2026. | |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max prospects (default 60) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter to one prospect |
position | string | Filter by position |
sort_by | string | Sort column. grade/boomProb/outperfPctile descending; projPick/projRound/bustProb ascending. Default: grade. |
tier | string | Filter 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…
| Parameter | Type | Description |
|---|---|---|
draft_year | number | Filter to one draft class (e.g. 2027, 2028). |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
format | string | League format: sf = superflex / 2QB, 1qb = single QB. Switches every value and rank. Default sf. |
limit | number | Max players (default 50, max 400). |
market_listed | boolean | true = only players on the market's devy list; false = only players beyond it. |
min_college_seasons | number | Only players with at least this many college seasons with stats (this one included); 1 drops recruits with no stats yet. |
offset | number | Skip this many rows after filtering and sorting, to page deeper (default 0). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter to one player (partial match). |
position | string | Filter by position |
school | string | Filter to one school (partial match), e.g. a team's whole devy room. |
sort_by | string | composite (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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
format | string | League format: sf = superflex / 2QB (default), 1qb = single QB. |
limit | number | Max players (default 50, max 400). |
offset | number | Skip this many rows, to page deeper (default 0). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by name (partial match). |
recruit_class | number | One high-school class (e.g. 2027). |
school | string | Filter by high school or committed college (partial match). |
state | string | Filter 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…
| Parameter | Type | Description |
|---|---|---|
player_name * | string | Player name (partial match). |
draft_year | number | Disambiguate by draft class. |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
format | string | League format for the StatHead values: sf = superflex / 2QB (default), 1qb = single QB. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Disambiguate by position. |
school | string | Disambiguate 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Limit the feature-importance section to one position (QB, RB, WR, TE). |
topic | string | nfl (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…
| Parameter | Type | Description |
|---|---|---|
player_name * | string | Player to explain (case-insensitive partial match). |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max feature drivers to show per model (default 8). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Disambiguate 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max players (default 50). |
min_games | number | Only 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_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter to one player. |
position | string | Filter by position (QB, RB, WR, TE). |
preset | string | Apply 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… |
scoring | string | Re-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_by | string | Sort 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 40). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
position | string | Filter to one position. |
sort_by | string | Sort column, descending. Default: the requested position, else team. |
team | string | Filter to one team abbreviation (e.g. KC). |
week | number | Return 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
from_week | number | Schedule view: first week shown. Default: the current week. Pass 1 to include the weeks already played (rows marked final). |
limit | number | Max rows. Defaults: 64 (week), 32 (defenses, ros, metrics), 80 (schedule). |
metric | string | Read 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_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | A 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… |
position | string | Filter 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). |
scoring | string | Scoring 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_by | string | Sort 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… |
team | string | Team 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. |
view | string | Force a view. Default: schedule when player_name, or team without week, is given; otherwise week. |
week | number | NFL week (1-18) for the week view. Default: the current week (the first week whose games are not all final). |
weeks_ahead | number | Schedule 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…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max players (default 50). |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter to one player. Without week, returns their all-18-weeks outlook. DSTs match by team name (e.g. "SEA DST"). |
position | string | Filter by position: QB, RB, WR, TE, K, DST, or the IDP buckets DL, LB, DB. |
scoring | string | Scoring format for the points columns. tep0.5/tep1.0 add a TE-premium bonus per TE reception (exact, from recPG). Default ppr. |
team | string | Filter to one NFL team abbreviation (e.g. DET). |
week | number | NFL 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max player-seasons (default 100) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter to one player. Omit for a class/cohort query (then season and/or school is required). |
position | string | Filter by position abbreviation (e.g. RB, WR, QB) |
school | string | Filter by school name/abbreviation |
season | number | College season. Required for cohort queries (when player_name is omitted). |
sort_by | string | Stat 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.
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
limit | number | Max rows (default 30) |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Filter by player name |
season | number | Filter to specific college season (2004+) |
sort_by | string | Sort 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.
| Parameter | Type | Description |
|---|---|---|
season * | number | NFL season year |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
sort_by | string | Sort by any metric (descending). Common: total_epa_per_play, ppg, success_rate, neutral_pass_rate, def_epa_per_play |
team | string | Filter 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…
| Parameter | Type | Description |
|---|---|---|
coach | string | Head coach name (case-insensitive partial match). |
fields | string | Comma-separated column names to return (projection), e.g. "player_name,games,fantasy_points_ppr". Omit to return all columns. Unknown names are ignored. |
output_format | string | Output format: "table" (default markdown), "csv", or "jsonl". Use csv/jsonl for compact, token-efficient output on large pulls. |
player_name | string | Show this player's usage under the resolved coach; or, alone, the player's coaching history. |
season | number | Season — with team, resolves that team's head coach (also scopes the reunion lookup). |
team | string | Team 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.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Which 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_year | Draft class for rookie_rankings (2026 or 2027). Default 2026. | |
limit | number | Max rows to write (default 300). |
path | string | Output file path or directory. If a directory (or omitted), a dated filename is generated there. Default dir: $STATHEAD_DIR or the current working directory. |
position | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path 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.
| Parameter | Type | Description |
|---|---|---|
kind | string | Which overrides to clear. Default: all. |