EndzoneAPI
Pro football play-by-play, stats, injuries, and odds. REST API and MCP server. Free to start.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"endzoneapi": {
"url": "https://football-mcp-production.up.railway.app/mcp"
}
}
}Remote endpoints
https://football-mcp-production.up.railway.app/mcpstreamable-httphttps://mcp.endzoneapi.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (17)
🟢list_teams(conference, division)
Use when you need team codes, or all 32 current teams with conference, division, colours, and logo URLs. Team codes are nflverse spelling (LA for the Rams, WAS for Washington). Cheapest tool at 1 credit.
Input Schema
{
"type": "object",
"properties": {
"conference": {
"description": "Filter by conference",
"type": "string",
"enum": [
"AFC",
"NFC"
]
},
"division": {
"description": "Filter by division, e.g. 'AFC East' or 'NFC West'",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"teams": {
"type": "array",
"items": {
"type": "object",
"properties": {
"abbrev": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"conference": {
"type": [
"string",
"null"
]
},
"division": {
"type": [
"string",
"null"
]
},
"logo": {
"type": [
"string",
"null"
]
}
},
"required": [
"abbrev"
],
"additionalProperties": {}
}
},
"count": {
"type": "number"
}
},
"required": [
"teams",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_standings(season, conference, division)
Use for regular-season standings and playoff seeding: record, win%, points for/against, home/away/division/conference records, streak, division rank, and conference seed. Ranks apply the real NFL tiebreaking procedure and report which step decided each one. Computed from final scores. Defaults to the current season. Costs 2 credits.
Input Schema
{
"type": "object",
"properties": {
"season": {
"description": "Season year the regular season starts (e.g. 2025). Defaults to current.",
"type": [
"string",
"number"
]
},
"conference": {
"description": "Filter by conference",
"type": "string",
"enum": [
"AFC",
"NFC"
]
},
"division": {
"description": "Filter by division, e.g. 'NFC North'",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"season": {
"type": "number"
},
"standings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"team": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"conference": {
"type": [
"string",
"null"
]
},
"division": {
"type": [
"string",
"null"
]
},
"wins": {
"type": "number"
},
"losses": {
"type": "number"
},
"ties": {
"type": "number"
},
"win_pct": {
"type": [
"number",
"null"
]
},
"points_for": {
"type": [
"number",
"null"
]
},
"points_against": {
"type": [
"number",
"null"
]
},
"point_diff": {
"type": [
"number",
"null"
]
},
"streak": {
"type": [
"string",
"null"
]
},
"division_rank": {
"type": [
"number",
"null"
]
},
"conference_rank": {
"type": [
"number",
"null"
]
},
"division_tiebreaker": {
"type": [
"string",
"null"
]
},
"conference_tiebreaker": {
"type": [
"string",
"null"
]
}
},
"required": [
"team",
"wins",
"losses",
"ties"
],
"additionalProperties": {}
}
},
"count": {
"type": "number"
},
"note": {
"type": "string"
}
},
"required": [
"season",
"standings",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_team_stats(team, season, season_type)
Use for one team's season: totals (passing, rushing, receiving, defense, kicking, penalties), EPA per play, yards per attempt/carry, the standings row, and every weekly stat line. Costs 5 credits.
Input Schema
{
"type": "object",
"properties": {
"team": {
"type": "string",
"description": "Team code (e.g. KC, BUF, PHI)"
},
"season": {
"description": "Season year (e.g. 2025). Defaults to current.",
"type": [
"string",
"number"
]
},
"season_type": {
"description": "Regular season (default) or postseason",
"type": "string",
"enum": [
"REG",
"POST"
]
}
},
"required": [
"team"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"team": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"season": {
"type": "number"
},
"season_type": {
"type": "string"
},
"record": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"totals": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"weeks": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"count": {
"type": "number"
}
},
"required": [
"team",
"season",
"season_type",
"record",
"totals",
"weeks",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_games(season, week, team, date_from, date_to, ...)
Use when querying past or future games with filters: season, week, team, date range, game type, status. Returns scores, kickoff (UTC), venue, rest days, starting QBs, coaches, referee, and the consensus closing spread, total, and moneylines. For upcoming-only games prefer get_schedule (2 cr). Costs 5 credits.
Input Schema
{
"type": "object",
"properties": {
"season": {
"description": "Season year (e.g. 2025)",
"type": [
"string",
"number"
]
},
"week": {
"description": "Week number (1-18 regular season; 19+ postseason)",
"type": "integer",
"minimum": 1,
"maximum": 22
},
"team": {
"description": "Team code (home or away)",
"type": "string"
},
"date_from": {
"description": "Start date YYYY-MM-DD",
"type": "string"
},
"date_to": {
"description": "End date YYYY-MM-DD",
"type": "string"
},
"game_type": {
"description": "REG, WC, DIV, CON, SB, or POST for any playoff game",
"type": "string",
"enum": [
"REG",
"WC",
"DIV",
"CON",
"SB",
"POST"
]
},
"status": {
"description": "Game status",
"type": "string",
"enum": [
"FUT",
"LIVE",
"FINAL"
]
},
"limit": {
"description": "Max results (default 100)",
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"games": {
"type": "array",
"items": {
"type": "object",
"properties": {
"game_id": {
"type": "string"
},
"season": {
"type": "number"
},
"week": {
"type": "number"
},
"game_type": {
"type": "string"
},
"home_team": {
"type": "string"
},
"away_team": {
"type": "string"
},
"home_score": {
"type": [
"number",
"null"
]
},
"away_score": {
"type": [
"number",
"null"
]
},
"status": {
"type": "string"
},
"kickoff": {
"type": [
"string",
"null"
]
},
"gameday": {
"type": [
"string",
"null"
]
},
"spread_line": {
"type": [
"number",
"null"
]
},
"total_line": {
"type": [
"number",
"null"
]
},
"home_moneyline": {
"type": [
"number",
"null"
]
},
"away_moneyline": {
"type": [
"number",
"null"
]
},
"stadium": {
"type": [
"string",
"null"
]
},
"roof": {
"type": [
"string",
"null"
]
},
"surface": {
"type": [
"string",
"null"
]
},
"home_qb_name": {
"type": [
"string",
"null"
]
},
"away_qb_name": {
"type": [
"string",
"null"
]
}
},
"required": [
"game_id",
"season",
"week",
"game_type",
"home_team",
"away_team",
"home_score",
"away_score",
"status",
"kickoff"
],
"additionalProperties": {}
}
},
"count": {
"type": "number"
},
"filters": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"games",
"count",
"filters"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_schedule(team, week, days)
Use to see what is coming up: unplayed games in the next N days (default 7), or a specific week of the current season. Includes consensus lines where posted. Costs 2 credits.
Input Schema
{
"type": "object",
"properties": {
"team": {
"description": "Team code to filter",
"type": "string"
},
"week": {
"description": "A specific week of the current season (returns all games that week, played or not)",
"type": "integer",
"minimum": 1,
"maximum": 22
},
"days": {
"description": "Days ahead to look when week is not set (default 7)",
"type": "integer",
"minimum": 1,
"maximum": 30
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"season": {
"type": "number"
},
"week": {
"type": [
"number",
"null"
]
},
"days": {
"type": [
"number",
"null"
]
},
"upcoming_games": {
"type": "array",
"items": {
"type": "object",
"properties": {
"game_id": {
"type": "string"
},
"season": {
"type": "number"
},
"week": {
"type": "number"
},
"game_type": {
"type": "string"
},
"home_team": {
"type": "string"
},
"away_team": {
"type": "string"
},
"home_score": {
"type": [
"number",
"null"
]
},
"away_score": {
"type": [
"number",
"null"
]
},
"status": {
"type": "string"
},
"kickoff": {
"type": [
"string",
"null"
]
},
"gameday": {
"type": [
"string",
"null"
]
},
"spread_line": {
"type": [
"number",
"null"
]
},
"total_line": {
"type": [
"number",
"null"
]
},
"home_moneyline": {
"type": [
"number",
"null"
]
},
"away_moneyline": {
"type": [
"number",
"null"
]
},
"stadium": {
"type": [
"string",
"null"
]
},
"roof": {
"type": [
"string",
"null"
]
},
"surface": {
"type": [
"string",
"null"
]
},
"home_qb_name": {
"type": [
"string",
"null"
]
},
"away_qb_name": {
"type": [
"string",
"null"
]
}
},
"required": [
"game_id",
"season",
"week",
"game_type",
"home_team",
"away_team",
"home_score",
"away_score",
"status",
"kickoff"
],
"additionalProperties": {}
}
},
"count": {
"type": "number"
}
},
"required": [
"season",
"week",
"days",
"upcoming_games",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_game_detail(game_id)
Use when you need everything about one game: both teams, full team box-score stats (EPA, success, drives), consensus closing line, per-bookmaker opening/closing/latest odds, weather, surface, and officials. Requires a game id from get_games or get_schedule. Costs 10 credits.
Input Schema
{
"type": "object",
"properties": {
"game_id": {
"type": "string",
"description": "Game id, e.g. 2025_01_KC_BUF"
}
},
"required": [
"game_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"game": {
"type": "object",
"properties": {
"game_id": {
"type": "string"
},
"season": {
"type": "number"
},
"week": {
"type": "number"
},
"game_type": {
"type": "string"
},
"home_team": {
"type": "string"
},
"away_team": {
"type": "string"
},
"home_score": {
"type": [
"number",
"null"
]
},
"away_score": {
"type": [
"number",
"null"
]
},
"status": {
"type": "string"
},
"kickoff": {
"type": [
"string",
"null"
]
},
"gameday": {
"type": [
"string",
"null"
]
},
"spread_line": {
"type": [
"number",
"null"
]
},
"total_line": {
"type": [
"number",
"null"
]
},
"home_moneyline": {
"type": [
"number",
"null"
]
},
"away_moneyline": {
"type": [
"number",
"null"
]
},
"stadium": {
"type": [
"string",
"null"
]
},
"roof": {
"type": [
"string",
"null"
]
},
"surface": {
"type": [
"string",
"null"
]
},
"home_qb_name": {
"type": [
"string",
"null"
]
},
"away_qb_name": {
"type": [
"string",
"null"
]
}
},
"required": [
"game_id",
"season",
"week",
"game_type",
"home_team",
"away_team",
"home_score",
"away_score",
"status",
"kickoff"
],
"additionalProperties": {}
},
"home_team": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"away_team": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"consensus_closing": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"team_stats": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"odds": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"officials": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"required": [
"game",
"home_team",
"away_team",
"consensus_closing",
"team_stats",
"odds",
"officials"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_head_to_head(team1, team2, season, limit)
Use to compare two teams' history: recent meetings with scores, the win/loss record between them, and average margin. Filter by season or get all-time. Costs 10 credits.
Input Schema
{
"type": "object",
"properties": {
"team1": {
"type": "string",
"description": "First team code"
},
"team2": {
"type": "string",
"description": "Second team code"
},
"season": {
"description": "Season year. Omit for all-time.",
"type": [
"string",
"number"
]
},
"limit": {
"description": "Max games (default 20)",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"team1",
"team2"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"team1": {
"type": "string"
},
"team2": {
"type": "string"
},
"record": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
"total_games": {
"type": "number"
},
"avg_margin_team1": {
"type": [
"number",
"null"
]
},
"games": {
"type": "array",
"items": {
"type": "object",
"properties": {
"game_id": {
"type": "string"
},
"season": {
"type": "number"
},
"week": {
"type": "number"
},
"game_type": {
"type": "string"
},
"home_team": {
"type": "string"
},
"away_team": {
"type": "string"
},
"home_score": {
"type": [
"number",
"null"
]
},
"away_score": {
"type": [
"number",
"null"
]
},
"status": {
"type": "string"
},
"kickoff": {
"type": [
"string",
"null"
]
},
"gameday": {
"type": [
"string",
"null"
]
},
"spread_line": {
"type": [
"number",
"null"
]
},
"total_line": {
"type": [
"number",
"null"
]
},
"home_moneyline": {
"type": [
"number",
"null"
]
},
"away_moneyline": {
"type": [
"number",
"null"
]
},
"stadium": {
"type": [
"string",
"null"
]
},
"roof": {
"type": [
"string",
"null"
]
},
"surface": {
"type": [
"string",
"null"
]
},
"home_qb_name": {
"type": [
"string",
"null"
]
},
"away_qb_name": {
"type": [
"string",
"null"
]
}
},
"required": [
"game_id",
"season",
"week",
"game_type",
"home_team",
"away_team",
"home_score",
"away_score",
"status",
"kickoff"
],
"additionalProperties": {}
}
},
"count": {
"type": "number"
}
},
"required": [
"team1",
"team2",
"record",
"total_games",
"avg_margin_team1",
"games",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢search_players(query, team, position, active, limit)
Use to find a player by name (partial match). Searches ~25,000 players back to 1999; returns current-season players by default, falling back to all players back to 1999 when none match. Returns the GSIS player id needed by get_player_stats. Costs 2 credits.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "Player name or part of it"
},
"team": {
"description": "Filter by current team code",
"type": "string"
},
"position": {
"description": "Filter by position (e.g. QB, RB, WR, TE, OL, DL, LB, DB)",
"type": "string"
},
"active": {
"description": "Default true, but an active-only search that finds nobody automatically falls back to all players and says so. Set false to search everyone outright.",
"type": "boolean"
},
"limit": {
"description": "Max results (default 10)",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"players": {
"type": "array",
"items": {
"type": "object",
"properties": {
"player_id": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"position": {
"type": [
"string",
"null"
]
},
"team": {
"type": [
"string",
"null"
]
},
"active": {
"type": [
"boolean",
"null"
]
},
"pfr_id": {
"type": [
"string",
"null"
]
},
"espn_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
}
},
"count": {
"type": "number"
},
"included_inactive": {
"type": "boolean"
},
"note": {
"type": "string"
}
},
"required": [
"players",
"count",
"included_inactive"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_player_stats(player_id, season, season_type)
Use for one player: bio, draft, physicals, headshot, id crosswalk (PFR, ESPN), summed season totals across passing, rushing, receiving, defense, kicking, returns, and fantasy points, every weekly stat line for the season, and games played per season. Defaults to the player's latest season. Costs 5 credits.
Input Schema
{
"type": "object",
"properties": {
"player_id": {
"type": "string",
"description": "GSIS player id from search_players (e.g. 00-0033873)"
},
"season": {
"description": "Season year. Defaults to the player's latest season.",
"type": [
"string",
"number"
]
},
"season_type": {
"description": "Regular season (default) or postseason",
"type": "string",
"enum": [
"REG",
"POST"
]
}
},
"required": [
"player_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"player": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"season": {
"type": "number"
},
"season_type": {
"type": "string"
},
"season_totals": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"weeks": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"seasons": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"count": {
"type": "number"
}
},
"required": [
"player",
"season",
"season_type",
"season_totals",
"weeks",
"seasons",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_player_leaders(stat, season, season_type, position, team, ...)
Use to rank players on any weekly stat over a season: passing_yards, passing_tds, rushing_yards, receiving_yards, receptions, targets, def_sacks, def_interceptions, fantasy_points_ppr, passing_epa, rushing_epa, receiving_epa, and ~130 more. Counting stats are summed, rate stats averaged. Filter by position, team, minimum games. Costs 5 credits.
Input Schema
{
"type": "object",
"properties": {
"stat": {
"type": "string",
"description": "Weekly stat column to rank by (e.g. passing_yards, receiving_epa, def_sacks)"
},
"season": {
"description": "Season year. Defaults to current.",
"type": [
"string",
"number"
]
},
"season_type": {
"description": "Regular season (default) or postseason",
"type": "string",
"enum": [
"REG",
"POST"
]
},
"position": {
"description": "Position filter, e.g. QB, RB, WR, TE",
"type": "string"
},
"team": {
"description": "Team code filter",
"type": "string"
},
"min_games": {
"description": "Minimum games with a stat line (default 1)",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Max results (default 20)",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"stat"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"stat": {
"type": "string"
},
"aggregation": {
"type": "string"
},
"season": {
"type": "number"
},
"season_type": {
"type": "string"
},
"leaders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rank": {
"type": "number"
},
"player_id": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"position": {
"type": [
"string",
"null"
]
},
"team": {
"type": [
"string",
"null"
]
},
"games": {
"type": [
"number",
"null"
]
},
"value": {
"type": [
"number",
"null"
]
}
},
"required": [
"rank"
],
"additionalProperties": {}
}
},
"count": {
"type": "number"
}
},
"required": [
"stat",
"aggregation",
"season",
"season_type",
"leaders",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_injuries(team, season, week, status)
Use for the official injury report: game status (Out, Doubtful, Questionable) and practice participation with the injury named, by team and week. Defaults to the latest reported week of the current season. Costs 2 credits.
Input Schema
{
"type": "object",
"properties": {
"team": {
"description": "Team code",
"type": "string"
},
"season": {
"description": "Season year. Defaults to current.",
"type": [
"string",
"number"
]
},
"week": {
"description": "Week. Defaults to the latest week with a report.",
"type": "integer",
"minimum": 1,
"maximum": 22
},
"status": {
"description": "Filter by game status: Out, Doubtful, Questionable",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"season": {
"type": "number"
},
"week": {
"type": "number"
},
"injuries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"team": {
"type": [
"string",
"null"
]
},
"player_id": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"position": {
"type": [
"string",
"null"
]
},
"report_status": {
"type": [
"string",
"null"
]
},
"report_primary_injury": {
"type": [
"string",
"null"
]
},
"practice_status": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
}
},
"count": {
"type": "number"
}
},
"required": [
"season",
"week",
"injuries",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_depth_chart(team, season, week, formation)
Use for a team's depth chart by week: formation, position, depth rank, player. Defaults to the latest week available. Costs 2 credits.
Input Schema
{
"type": "object",
"properties": {
"team": {
"type": "string",
"description": "Team code"
},
"season": {
"description": "Season year. Defaults to current.",
"type": [
"string",
"number"
]
},
"week": {
"description": "Week. Defaults to latest.",
"type": "integer",
"minimum": 1,
"maximum": 22
},
"formation": {
"description": "Filter by formation/unit, e.g. Offense, Defense, Special Teams",
"type": "string"
}
},
"required": [
"team"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"team": {
"type": "string"
},
"season": {
"type": "number"
},
"week": {
"type": "number"
},
"depth_chart": {
"type": "array",
"items": {
"type": "object",
"properties": {
"formation": {
"type": [
"string",
"null"
]
},
"position": {
"type": [
"string",
"null"
]
},
"depth_rank": {
"type": [
"number",
"null"
]
},
"player_id": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
}
},
"count": {
"type": "number"
}
},
"required": [
"team",
"season",
"week",
"depth_chart",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_snap_counts(game_id, player_id, team, season, week, ...)
Use for playing time: offensive, defensive, and special-teams snaps and snap shares, for one game, one player (PFR id), or a team's season. Costs 5 credits.
Input Schema
{
"type": "object",
"properties": {
"game_id": {
"description": "Game id, e.g. 2025_01_KC_BUF",
"type": "string"
},
"player_id": {
"description": "PFR player id (from search_players pfr_id)",
"type": "string"
},
"team": {
"description": "Team code",
"type": "string"
},
"season": {
"description": "Season year (with team or player)",
"type": [
"string",
"number"
]
},
"week": {
"description": "Week filter",
"type": "integer",
"minimum": 1,
"maximum": 22
},
"limit": {
"description": "Max rows (default 200)",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"filters": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"snap_counts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"game_id": {
"type": [
"string",
"null"
]
},
"season": {
"type": [
"number",
"null"
]
},
"week": {
"type": [
"number",
"null"
]
},
"team": {
"type": [
"string",
"null"
]
},
"player": {
"type": [
"string",
"null"
]
},
"pfr_player_id": {
"type": [
"string",
"null"
]
},
"position": {
"type": [
"string",
"null"
]
},
"offense_snaps": {
"type": [
"number",
"null"
]
},
"offense_pct": {
"type": [
"number",
"null"
]
},
"defense_snaps": {
"type": [
"number",
"null"
]
},
"defense_pct": {
"type": [
"number",
"null"
]
},
"st_snaps": {
"type": [
"number",
"null"
]
},
"st_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
}
},
"count": {
"type": "number"
},
"note": {
"type": "string"
}
},
"required": [
"filters",
"snap_counts",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_plays(game_id, season, week, posteam, defteam, ...)
Use for play-by-play with nflfastR metrics: EPA, WPA, win probability, success, CPOE, air yards, formation flags, and the players involved. Filter by game, or by season plus week/team/player, plus play type, down, quarter, win-probability band, red zone, third down. Set include_charting for FTN manual charting from 2022 on -- alignment, pre-snap motion, play action, screens, run-pass options, blitzer counts, drops -- or filter directly on those flags. Returns a per-query EPA and success-rate summary. Paginate with offset. Costs 10 credits.
Input Schema
{
"type": "object",
"properties": {
"game_id": {
"description": "Game id, e.g. 2025_01_KC_BUF",
"type": "string"
},
"season": {
"description": "Season year (required when game_id is not set)",
"type": [
"string",
"number"
]
},
"week": {
"description": "Week",
"type": "integer",
"minimum": 1,
"maximum": 22
},
"posteam": {
"description": "Offense team code",
"type": "string"
},
"defteam": {
"description": "Defense team code",
"type": "string"
},
"play_type": {
"description": "Play type",
"type": "string",
"enum": [
"pass",
"run",
"punt",
"kickoff",
"field_goal",
"extra_point",
"qb_kneel",
"qb_spike",
"no_play"
]
},
"down": {
"description": "Down",
"type": "integer",
"minimum": 1,
"maximum": 4
},
"quarter": {
"description": "Quarter (5+ = overtime)",
"type": "integer",
"minimum": 1,
"maximum": 6
},
"passer_id": {
"description": "GSIS id of the passer",
"type": "string"
},
"rusher_id": {
"description": "GSIS id of the rusher",
"type": "string"
},
"receiver_id": {
"description": "GSIS id of the receiver",
"type": "string"
},
"min_wp": {
"description": "Minimum pre-play win probability for the offense",
"type": "number",
"minimum": 0,
"maximum": 1
},
"max_wp": {
"description": "Maximum pre-play win probability",
"type": "number",
"minimum": 0,
"maximum": 1
},
"red_zone": {
"description": "Only plays inside the 20",
"type": "boolean"
},
"third_down": {
"description": "Only third downs",
"type": "boolean"
},
"include_charting": {
"description": "Attach FTN manual charting to each play (2022+): alignment, motion, play action, screens, RPO, blitzers, drops",
"type": "boolean"
},
"is_play_action": {
"description": "Charting filter: play action (2022+)",
"type": "boolean"
},
"is_motion": {
"description": "Charting filter: pre-snap motion (2022+)",
"type": "boolean"
},
"is_rpo": {
"description": "Charting filter: run-pass option (2022+)",
"type": "boolean"
},
"is_screen_pass": {
"description": "Charting filter: screen pass (2022+)",
"type": "boolean"
},
"is_no_huddle": {
"description": "Charting filter: no huddle (2022+)",
"type": "boolean"
},
"is_trick_play": {
"description": "Charting filter: trick play (2022+)",
"type": "boolean"
},
"is_qb_out_of_pocket": {
"description": "Charting filter: quarterback out of the pocket (2022+)",
"type": "boolean"
},
"is_drop": {
"description": "Charting filter: charted drop (2022+)",
"type": "boolean"
},
"min_blitzers": {
"description": "Charting filter: at least this many blitzers (2022+). FTN counts rushers beyond the base rush, so this is typically 0-3; 5+ is almost never charted.",
"type": "integer",
"minimum": 0,
"maximum": 11
},
"limit": {
"description": "Max plays (default 200)",
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"offset": {
"description": "Pagination offset",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"plays": {
"type": "array",
"items": {
"type": "object",
"properties": {
"game_id": {
"type": "string"
},
"play_id": {
"type": "number"
},
"season": {
"type": [
"number",
"null"
]
},
"week": {
"type": [
"number",
"null"
]
},
"posteam": {
"type": [
"string",
"null"
]
},
"defteam": {
"type": [
"string",
"null"
]
},
"qtr": {
"type": [
"number",
"null"
]
},
"down": {
"type": [
"number",
"null"
]
},
"ydstogo": {
"type": [
"number",
"null"
]
},
"yardline_100": {
"type": [
"number",
"null"
]
},
"play_type": {
"type": [
"string",
"null"
]
},
"desc": {
"type": [
"string",
"null"
]
},
"yards_gained": {
"type": [
"number",
"null"
]
},
"epa": {
"type": [
"number",
"null"
]
},
"wpa": {
"type": [
"number",
"null"
]
},
"wp": {
"type": [
"number",
"null"
]
},
"success": {
"type": [
"number",
"null"
]
},
"touchdown": {
"type": [
"number",
"null"
]
},
"passer_player_name": {
"type": [
"string",
"null"
]
},
"rusher_player_name": {
"type": [
"string",
"null"
]
},
"receiver_player_name": {
"type": [
"string",
"null"
]
},
"charting": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"required": [
"game_id",
"play_id"
],
"additionalProperties": {}
}
},
"summary": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"count": {
"type": "number"
},
"charted_plays": {
"type": "number"
},
"next_offset": {
"type": [
"number",
"null"
]
},
"note": {
"type": "string"
}
},
"required": [
"plays",
"summary",
"count",
"next_offset"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_advanced_stats(source, season, week, player_id, team, ...)
Use for tracking and charting metrics the box score does not carry. Next Gen Stats (2016+): time to throw, air yards, completion percentage above expectation, separation, cushion, rush yards over expected. Pro Football Reference advanced (2018+): pressures, hurries, blitzes, drops, bad throws, missed tackles, coverage yards allowed. Pick a source, then filter by season, week, player or team. Costs 5 credits.
Input Schema
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"ngs_passing",
"ngs_rushing",
"ngs_receiving",
"pfr_passing",
"pfr_rushing",
"pfr_receiving",
"pfr_defense"
],
"description": "Which dataset: ngs_passing, ngs_rushing, ngs_receiving, pfr_passing, pfr_rushing, pfr_receiving, pfr_defense"
},
"season": {
"description": "Season year. Defaults to current. NGS from 2016, PFR from 2018.",
"type": [
"string",
"number"
]
},
"week": {
"description": "Week. NGS also publishes week 0 as the season aggregate.",
"type": "integer",
"minimum": 0,
"maximum": 22
},
"player_id": {
"description": "GSIS id for an ngs_* source, PFR id for a pfr_* source; both are on search_players",
"type": "string"
},
"team": {
"description": "Team code",
"type": "string"
},
"limit": {
"description": "Max rows (default 50)",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"source"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"season": {
"type": "number"
},
"player_id_kind": {
"type": "string"
},
"metric_keys": {
"type": "array",
"items": {
"type": "string"
}
},
"stats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"season": {
"type": [
"number",
"null"
]
},
"week": {
"type": [
"number",
"null"
]
},
"player_id": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"team": {
"type": [
"string",
"null"
]
},
"metrics": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"metrics"
],
"additionalProperties": {}
}
},
"count": {
"type": "number"
},
"note": {
"type": "string"
}
},
"required": [
"source",
"season",
"player_id_kind",
"metric_keys",
"stats",
"count"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_odds(game_id, season, team, bookmaker, snapshot_type, ...)
Use for betting lines. Pass game_id for one game (10 credits): the consensus closing spread/total/moneyline (every game since 1999) plus per-bookmaker opening, closing and latest lines (DraftKings, FanDuel, BetMGM, ESPN BET) from September 2026. Or pass season (optionally team) for a season of per-book closing lines in one call, with final scores and the consensus close, at 10 credits per game returned, 100 games a page by default (up to 500); each book's line is an array in the order given by columns. For consensus closing lines only, get_games returns a whole season for 5 credits. Set estimate_only to get the price without being charged.
Input Schema
{
"type": "object",
"properties": {
"game_id": {
"description": "Game id, e.g. 2026_01_KC_BUF. Omit and pass season for a whole season.",
"type": "string"
},
"season": {
"description": "Season year for a whole season of per-book lines, e.g. 2026. Used when game_id is not set.",
"type": [
"string",
"number"
]
},
"team": {
"description": "With season: only this team's games (e.g. KC).",
"type": "string"
},
"bookmaker": {
"description": "Bookmaker key (draftkings, fanduel, betmgm, espnbet)",
"type": "string"
},
"snapshot_type": {
"description": "Single game: one snapshot type (default all). Season: opening or closing (default closing).",
"type": "string",
"enum": [
"opening",
"closing",
"latest"
]
},
"limit": {
"description": "With season: games per page (default 100, max 500).",
"type": "integer",
"minimum": 1,
"maximum": 500
},
"offset": {
"description": "With season: page offset; use next_offset from the previous page.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"estimate_only": {
"description": "Return what this call would cost, without charging or running it.",
"type": "boolean"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"game_id": {
"type": "string"
},
"home_team": {
"type": "string"
},
"away_team": {
"type": "string"
},
"kickoff": {
"type": [
"string",
"null"
]
},
"consensus_closing": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"books": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"bookmaker_count": {
"type": "number"
},
"count": {
"type": "number"
},
"note": {
"type": "string"
},
"season": {
"type": "string"
},
"games": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"total_games": {
"type": "number"
},
"next_offset": {
"type": [
"number",
"null"
]
},
"credits_per_game": {
"type": "number"
},
"snapshot_type": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "string"
}
},
"estimate_only": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"credits": {
"type": "number"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_line_movement(game_id, bookmaker)
Use to see how a game's lines moved: the full time series of hourly snapshots grouped by bookmaker. Most expensive tool (25 cr); use get_odds (10 cr) if you only need opening, closing, or current lines.
Input Schema
{
"type": "object",
"properties": {
"game_id": {
"type": "string",
"description": "Game id"
},
"bookmaker": {
"description": "Bookmaker key filter",
"type": "string"
}
},
"required": [
"game_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"game_id": {
"type": "string"
},
"home_team": {
"type": "string"
},
"away_team": {
"type": "string"
},
"kickoff": {
"type": [
"string",
"null"
]
},
"movement": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bookmaker": {
"type": "string"
},
"snapshot_type": {
"type": "string"
},
"ml_home": {
"type": [
"number",
"null"
]
},
"ml_away": {
"type": [
"number",
"null"
]
},
"spread_home": {
"type": [
"number",
"null"
]
},
"spread_away": {
"type": [
"number",
"null"
]
},
"total": {
"type": [
"number",
"null"
]
},
"captured_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"bookmaker",
"snapshot_type"
],
"additionalProperties": {}
}
}
},
"snapshots": {
"type": "number"
}
},
"required": [
"game_id",
"home_team",
"away_team",
"kickoff",
"movement",
"snapshots"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Community
Evidence