# OpenPigskin API — Complete Reference for LLMs & AI Agents Base URL: https://openpigskinapi.com Auth: Authorization: Bearer op_live_... (or X-API-Key: op_live_...) OpenAPI 3.1: https://openpigskinapi.com/openapi.json Remote MCP (Streamable HTTP): https://openpigskinapi.com/v1/mcp Archive: 7,440 NFL games (1999-09-12..2026-11-25), 98,263 PBP plays, 24,872 players. Source: nflverse (CC BY 4.0). Live scores & 14-day schedule: ESPN. ## Pricing Tiers ### Starter — $0/mo - Quota: 1,000 requests/month, 10 requests/minute - Recent NFL season games: summaries, quarter scores and full box scores - Division standings and regular-season leaderboards - All 32 franchises, stadium basics and player profiles with cross-platform IDs (GSIS, ESPN, Sleeper, Yahoo, PFR) - No credit card required; hard cap, zero surprise overages ### Developer — $19/mo or $149/yr - Quota: 250,000 requests/month, 100 requests/minute - Everything in Starter - Full NFL archive back to 1999 (regular season + playoffs + Super Bowls) - Play-by-play with EPA, WPA, air yards, YAC and win probability timelines - Drive summaries, player splits and venue scoring profiles - Built-in Fantasy Points engine (PPR, Half-PPR and Standard with published rules) - Live Sunday scores, live game center and 14-day schedule - All 19 remote MCP tools for Claude, Cursor and AI agents ### Pro — $49/mo or $390/yr - Quota: 2,000,000 requests/month, 300 requests/minute - Everything in Developer - 2,000,000 requests/month and 300 requests/minute for NFL Sunday spikes - Full commercial production rights, no automatic overage charges - Priority email support (2-business-day target) ### Scale — $149/mo or $1190/yr - Quota: 10,000,000 requests/month, 600 requests/minute - Everything in Pro - 10,000,000 requests/month and 600 requests/minute dedicated rate bucket - Predictable flat pricing — 10x cheaper than enterprise legacy feeds - Priority support and direct roadmap input ## REST Endpoints ### GET /v1/seasons (Starter) NFL seasons in the archive with regular-season and playoff game counts, play counts and Super Bowl champions. ### GET /v1/seasons/{id}/standings (Starter) Conference and division standings for a regular season: W-L-T, win percentage, points for/against, point differential, division and conference records. - Path {id}: NFL season year (from /v1/seasons). (example: 2025) - Query conference (string): Filter to AFC or NFC. - Query division (string): Exact division name, e.g. AFC West or NFC East. ### GET /v1/seasons/{id}/leaders (Starter) Regular-season statistical leaderboards: passing, rushing, receiving, sacks, interceptions and PPR fantasy leaders. - Path {id}: NFL season year (from /v1/seasons). (example: 2025) - Query category (string): Return a single leaderboard category. Default: all categories. ### GET /v1/teams (Starter) All 32 NFL franchises with conference, division, brand colors and archive records. - Query conference (string): Filter by AFC or NFC. - Query division (string): Filter by division name, e.g. NFC North. ### GET /v1/teams/{id} (Starter) Franchise profile with all-time archive record, season-by-season summary and recent games. - Path {id}: NFL franchise ID (from /v1/teams or /v1/search). (example: team_nfl_phi) ### GET /v1/games (Starter) Find NFL games by season, week, game type, team, venue or date range with cursor pagination. - Query season (integer): NFL season year, e.g. 2025. - Query week (integer): Week number (1-18 regular season, 19-22 playoffs). - Query game_type (string): REG, WC, DIV, CON or SB. - Query team (string): Team ID (team_nfl_kc) or abbreviation (KC). - Query venue (string): Venue ID, e.g. venue_nfl_arrowhead-stadium. - Query from (date): Games on or after this date (YYYY-MM-DD). - Query to (date): Games on or before this date (YYYY-MM-DD). - Query limit (integer): Games per page, newest first. - Query cursor (string): meta.next_cursor from the previous page. ### GET /v1/games/{id} (Starter) Game summary: teams, final and quarter scores, venue, roof/surface, weather, coaches, starting QBs, referee and team EPA. - Path {id}: Game ID (from /v1/games). Historical archive IDs use game_nfl_*; live ESPN IDs use game_espn_*. (example: game_nfl_2025_22_SEA_NE) ### GET /v1/games/{id}/boxscore (Starter) Full game box score: passing, rushing, receiving, defense and kicking player stat lines. - Path {id}: Game ID (from /v1/games). Historical archive IDs use game_nfl_*; live ESPN IDs use game_espn_*. (example: game_nfl_2025_22_SEA_NE) ### GET /v1/games/{id}/plays (Developer) Play-by-play snap ledger with down, distance, yardline, EPA, WPA, home win probability, air yards, YAC and player IDs. - Path {id}: Game ID (from /v1/games). Historical archive IDs use game_nfl_*; live ESPN IDs use game_espn_*. (example: game_nfl_2025_22_SEA_NE) - Query quarter (integer): Filter to a single quarter (5 = OT). - Query drive (integer): Filter to a single drive number. - Query team (string): Possession team abbreviation (e.g. KC or PHI). - Query play_type (string): Play type filter, e.g. pass, run, punt, field_goal. - Query cursor (string): meta.next_cursor from the previous page (100 plays per page). ### GET /v1/games/{id}/drives (Developer) Drive-by-drive summary: possession team, start/end yardline, plays, yards, drive EPA, result and score progression. - Path {id}: Game ID (from /v1/games). Historical archive IDs use game_nfl_*; live ESPN IDs use game_espn_*. (example: game_nfl_2025_22_SEA_NE) ### GET /v1/games/{id}/win-probability (Developer) Play-by-play win probability and EPA timeline for live momentum and win-probability charts. - Path {id}: Game ID (from /v1/games). Historical archive IDs use game_nfl_*; live ESPN IDs use game_espn_*. (example: game_nfl_2025_22_SEA_NE) ### GET /v1/games/{id}/fantasy-points (Developer) Fantasy points for every player in a game (PPR, Half-PPR or Standard) with the published ruleset and raw stat counts. - Path {id}: Game ID (from /v1/games). Historical archive IDs use game_nfl_*; live ESPN IDs use game_espn_*. (example: game_nfl_2025_22_SEA_NE) - Query ruleset (string): Scoring ruleset: ppr, half_ppr or standard. ### GET /v1/players/{id} (Starter) Player profile with cross-platform IDs (GSIS, ESPN, Sleeper, Yahoo, PFR, PFF, Rotowire), bio/draft metadata and career/season stats. - Path {id}: Player ID (nflverse GSIS-backed, e.g. player_nfl_00-0033873, from /v1/search). (example: player_nfl_00-0033873) ### GET /v1/players/{id}/splits (Developer) Player splits by home/away, regular/playoffs, indoor/outdoor stadium, plus head-to-head stats against every NFL opponent. - Path {id}: Player ID (nflverse GSIS-backed, e.g. player_nfl_00-0033873, from /v1/search). (example: player_nfl_00-0033873) - Query opponent (string): Optional opponent abbreviation or team ID (e.g. BUF or team_nfl_buf). ### GET /v1/venues/{id} (Developer) Stadium profile: roof type, playing surface, games hosted, average total points and home win rate. - Path {id}: Stadium/venue ID (from /v1/search with type=venue). (example: venue_nfl_levis-stadium) ### GET /v1/live (Developer) Live NFL scoreboard refreshed about every 20 seconds: scores, quarter, clock, possession, down and distance. - Query state (string): in: live now, pre: upcoming, post: finished, all: full scoreboard. - Query week (integer): Optional NFL week number. ### GET /v1/live/{id} (Developer) Live NFL game center: current situation (down, distance, yardline, red zone), team stats and recent scoring plays. - Path {id}: Live ESPN game ID (from /v1/live). (example: game_espn_401671793) ### GET /v1/schedule (Developer) Upcoming NFL schedule for up to 14 days: kickoff time (UTC), teams, broadcast network and venue. - Query from (date): First day (UTC). Default: today. - Query to (date): Last day (UTC), at most 13 days after from. Default: from + 6 days. ### GET /v1/search (Starter) Search NFL players (by name or cross-platform ID like Sleeper/ESPN/PFR), teams and venues. - Query q (string, required): Query text or external ID, e.g. mahomes, sleeper:4046, arrowhead or chiefs. - Query type (string): Restrict results to one entity type. - Query limit (integer): Results to return, best match first. ## MCP Tools - `search_nfl`: Find NFL players (including by Sleeper/ESPN/PFR ID), teams and stadiums. - `list_seasons`: List NFL seasons in the archive with game counts and Super Bowl champions. - `get_standings`: Conference and division standings for an NFL season. - `get_leaders`: Season leaderboards for passing, rushing, receiving, sacks, interceptions and PPR fantasy. - `list_teams`: List all 32 NFL franchises with divisions and archive records. - `get_team`: Franchise profile with all-time record, recent games and season history. - `list_games`: Find NFL games by season, week, game type, team, venue or date. - `get_game`: Game summary, quarter scores, coaches, starting QBs, weather and team EPA. - `get_boxscore`: Full passing, rushing, receiving, defense and kicking box score. - `get_plays`: Play-by-play snap ledger with down, distance, EPA, WPA, air yards and YAC. (Developer+) - `get_drives`: Drive-by-drive summaries with yards, plays, EPA and results. (Developer+) - `get_win_probability`: Play-by-play win probability and EPA momentum timeline. (Developer+) - `get_fantasy_points`: Player fantasy points (PPR, Half-PPR or Standard) with published scoring rules. (Developer+) - `get_player`: Player profile with cross-platform IDs (GSIS, ESPN, Sleeper, Yahoo, PFR) and career stats. - `get_player_splits`: Player splits (home/away, playoffs, indoor/outdoor) and opponent history. (Developer+) - `get_venue_profile`: Stadium scoring averages, home win rate, roof and turf surface. (Developer+) - `get_live_games`: Live NFL scoreboard with scores, clock, possession and down/distance. (Developer+) - `get_live_game`: Live NFL game center with situation and recent scoring plays. (Developer+) - `get_schedule`: Upcoming NFL schedule for the next 14 days. (Developer+) ## Free Interactive Tools - [NFL Fantasy Points Calculator (PPR / Half-PPR / Standard)](https://openpigskinapi.com/tools/fantasy-points-calculator): Calculate exact PPR, Half-PPR and Standard fantasy points using OpenPigskin's published scoring rules. - [NFL Passer Rating Calculator](https://openpigskinapi.com/tools/passer-rating-calculator): Compute official NFL QB passer rating (0.0 to 158.3) from completions, attempts, yards, touchdowns and interceptions. - [NFL API Quota & Sunday Polling Cost Calculator](https://openpigskinapi.com/tools/api-quota-calculator): Estimate monthly requests, peak Sunday RPM, edge-cache savings and the right OpenPigskin plan tier for live NFL apps. - [NFL Player ID Crosswalk Explorer](https://openpigskinapi.com/tools/player-id-lookup): Search verified player_nfl_* GSIS IDs, team IDs and showcase stats with ready-to-copy curl snippets for Sleeper, ESPN, Yahoo, PFR and PFF crosswalks. - [NFL Play-by-Play EPA & Drive Outcome Reference Chart](https://openpigskinapi.com/tools/epa-reference-chart): Verified EPA, WPA, yards gained and drive scoring-rate benchmarks computed directly from nflverse postseason play-by-play data. ## NFL API Comparisons - [OpenPigskin API vs Balldontlie NFL API](https://openpigskinapi.com/compare/balldontlie): Compare pricing, play-by-play EPA/WPA depth, built-in PPR fantasy scoring, cross-platform player IDs and native MCP tooling between OpenPigskin and Balldontlie. - [OpenPigskin API vs SportsDataIO NFL API](https://openpigskinapi.com/compare/sportsdataio): Self-serve $0–$149/mo NFL play-by-play, fantasy and MCP API vs. enterprise sales-quoted SportsDataIO contracts. - [OpenPigskin API vs Tank01 NFL API](https://openpigskinapi.com/compare/tank01): Direct Cloudflare Edge NFL REST + MCP with hard monthly caps vs. Tank01 on RapidAPI with daily limits and per-request overages. - [OpenPigskin API vs API-Sports NFL](https://openpigskinapi.com/compare/api-sports): Purpose-built NFL schema with EPA, drives, deterministic fantasy points and Sleeper/ESPN IDs vs. generic multi-sport API-Sports endpoints. - [OpenPigskin API vs Unofficial ESPN NFL API](https://openpigskinapi.com/compare/espn-hidden-api): Compare a documented, schema-contracted NFL API with nflverse CC BY 4.0 archive and OpenAPI/MCP specs against reverse-engineered ESPN JSON endpoints. - [OpenPigskin API vs Sportradar NFL API](https://openpigskinapi.com/compare/sportradar): Developer-first $0–$149/mo NFL REST & MCP API vs. Sportradar's official league-partner enterprise data platform. - [OpenPigskin API vs MySportsFeeds NFL API](https://openpigskinapi.com/compare/mysportsfeeds): Compare OpenPigskin's flat-rate Cloudflare Edge NFL API and MCP server against MySportsFeeds' modular add-on pricing. - [OpenPigskin API vs Sleeper NFL API](https://openpigskinapi.com/compare/sleeper-api): How OpenPigskin's NFL stats, EPA play-by-play and historical archive compare to — and pair seamlessly with — the read-only Sleeper Fantasy API. - [OpenPigskin API vs Self-Hosting nflverse](https://openpigskinapi.com/compare/nflverse-self-hosted): Compare managed Cloudflare Edge REST & MCP access on OpenPigskin vs. building and maintaining your own nflverse Parquet ETL pipeline. - [OpenPigskin API vs RapidAPI NFL APIs](https://openpigskinapi.com/compare/rapidapi-nfl): Compare OpenPigskin's direct Cloudflare Edge NFL API (hard caps, OpenAPI 3.1, MCP) against marketplace NFL feeds on RapidAPI. - [OpenPigskin API vs The Odds API & Sportsbook Feeds](https://openpigskinapi.com/compare/the-odds-api): Understand the difference between sportsbook market odds feeds (The Odds API) and NFL statistical/analytics APIs (OpenPigskin) — and how betting models pair both. - [OpenPigskin API vs StatMuse & Scraped NFL Stats](https://openpigskinapi.com/compare/statmuse): Compare structured REST + MCP endpoints with CC BY 4.0 licensing against StatMuse web queries and brittle HTML stat scrapers. ## Engineering Guides & Benchmarks - [Learning Hub](https://openpigskinapi.com/learn): Structured developer tracks across quickstart, fantasy scoring, EPA/WPA modeling and MCP. - [Querying NFL Play-by-Play EPA & Win Probability via REST (Without Managing Parquet Files)](https://openpigskinapi.com/blog/nfl-play-by-play-epa-rest-api): How to pull nflverse EPA, WPA, air yards, YAC and drive summaries over fast edge JSON endpoints instead of maintaining R or Python Parquet pipelines. - [Solving the NFL Player ID Nightmare: GSIS, Sleeper, ESPN, Yahoo & PFR in One Lookup](https://openpigskinapi.com/blog/cross-platform-nfl-player-ids-gsis-sleeper-espn): Stop maintaining fragile name-matching scripts between Sleeper, ESPN, Yahoo Fantasy, Pro Football Reference and nflverse GSIS IDs. - [Connecting Claude & Cursor to Live NFL Scores and Play-by-Play via MCP](https://openpigskinapi.com/blog/connect-claude-cursor-nfl-mcp-server): Give AI agents 19 structured NFL tools — from live Sunday scores and PPR fantasy points to EPA play-by-play — using OpenPigskin's remote Streamable HTTP MCP server. - [Building a Deterministic PPR, Half-PPR & Standard Fantasy Football Scoring Engine](https://openpigskinapi.com/blog/build-ppr-fantasy-football-scoring-engine-api): Use OpenPigskin's /v1/games/{id}/fantasy-points endpoint, published scoring weights, raw stat counts and cross-platform IDs to build auditable NFL fantasy apps. - [Polling Live NFL Scores on Sunday Without Burning Your Rate Limit](https://openpigskinapi.com/blog/nfl-live-scores-sunday-polling-architecture): Architecture patterns for /v1/live, /v1/live/{id} and /v1/schedule: 20-second refresh cadence, caching headers, game_espn_* vs. game_nfl_* IDs and explicit ESPN attribution. - [Building NFL Win Probability Curves and Drive EPA Charts from Play-by-Play JSON](https://openpigskinapi.com/blog/nfl-win-probability-drive-charts-epa-guide): Turn /v1/games/{id}/win-probability and /v1/games/{id}/drives into interactive SVG charts using real 2025 NFL playoff and Super Bowl LX data. - [Commercial NFL Data Licensing Explained: nflverse CC BY 4.0 vs. Enterprise Legacy Feeds](https://openpigskinapi.com/blog/nfl-api-pricing-and-open-data-licensing-cc-by-4): What CC BY 4.0 permits for commercial apps, caching and ML models, how OpenPigskin labels nflverse vs. ESPN sources, and why hard-cap monthly plans beat $10k+/yr contracts. - [Analyzing 28 Seasons of NFL Data (1999–2026): Player Splits, Stadium Roofs & Opponent Matchups](https://openpigskinapi.com/blog/historical-nfl-archive-1999-to-present-splits-and-venues): Query 7,440 NFL games from 1999 to present, evaluate indoor vs. outdoor and opponent player splits via /v1/players/{id}/splits, and benchmark stadium scoring profiles via /v1/venues/{id}. - [NFL Passing Efficiency API: Computing EPA, CPOE, and Air Yards in Python](https://openpigskinapi.com/blog/nfl-passing-epa-cpoe-air-yards-python-tutorial): Compute passing EPA per dropback, aDOT, YAC, and a custom air-yards CPOE baseline in Python using OpenPigskin's nflverse play-by-play REST API. - [NFL Rosters, Snap Context, and Cross-Season Player Tracking via REST API](https://openpigskinapi.com/blog/nfl-roster-depth-charts-player-crosswalks-api): Track NFL franchise moves, snap usage, and multi-season player stats across Sleeper, ESPN, Yahoo, and PFR with OpenPigskin's GSIS-backed REST API. - [Building NFL Game Projection Models with Historical Scores, Weather, and Venue Data](https://openpigskinapi.com/blog/nfl-game-projection-features-weather-venues-api): Extract historical NFL scores, team EPA, kickoff temperature, wind speed, roof type, and stadium scoring profiles for game projection models. - [Analyzing NFL 4th-Down Decisions, Red-Zone Efficiency, and Drive Outcomes via API](https://openpigskinapi.com/blog/nfl-red-zone-fourth-down-analytics-play-by-play): Measure NFL 4th-down go-for-it EPA, red-zone touchdown conversion rates, and drive outcomes from /v1/games/{id}/plays and /v1/games/{id}/drives. - [Caching NFL REST API Responses on Cloudflare Workers with Rate-Limit Headers](https://openpigskinapi.com/blog/nfl-api-edge-caching-cloudflare-workers-guide): Build a Cloudflare Workers caching layer for OpenPigskin's NFL REST API using Cache API TTLs, X-Quota-Remaining headers, and Retry-After backoff. - [NFL Division Standings, Tiebreakers, and Strength-of-Schedule Pipelines with OpenPigskin](https://openpigskinapi.com/blog/nfl-division-standings-schedule-strength-api): Build NFL division standings, conference tiebreakers, and Strength-of-Schedule pipelines using /v1/seasons/{id}/standings and /v1/games JSON. - [2026 NFL API Benchmark: Edge Latency, Schema Depth, Licensing & Cost at Scale](https://openpigskinapi.com/blog/nfl-api-latency-schema-pricing-benchmark-2026): Real curl latency measurements against OpenPigskin's Cloudflare Edge endpoints plus an engineering breakdown of schema depth, CC BY 4.0 licensing and monthly cost at 50k, 250k and 1.5M requests/month. ## 32 NFL Franchise Pages - [Arizona Cardinals](https://openpigskinapi.com/coverage/teams/arizona-cardinals) (`team_nfl_ari`, NFC West) - [Atlanta Falcons](https://openpigskinapi.com/coverage/teams/atlanta-falcons) (`team_nfl_atl`, NFC South) - [Baltimore Ravens](https://openpigskinapi.com/coverage/teams/baltimore-ravens) (`team_nfl_bal`, AFC North) - [Buffalo Bills](https://openpigskinapi.com/coverage/teams/buffalo-bills) (`team_nfl_buf`, AFC East) - [Carolina Panthers](https://openpigskinapi.com/coverage/teams/carolina-panthers) (`team_nfl_car`, NFC South) - [Chicago Bears](https://openpigskinapi.com/coverage/teams/chicago-bears) (`team_nfl_chi`, NFC North) - [Cincinnati Bengals](https://openpigskinapi.com/coverage/teams/cincinnati-bengals) (`team_nfl_cin`, AFC North) - [Cleveland Browns](https://openpigskinapi.com/coverage/teams/cleveland-browns) (`team_nfl_cle`, AFC North) - [Dallas Cowboys](https://openpigskinapi.com/coverage/teams/dallas-cowboys) (`team_nfl_dal`, NFC East) - [Denver Broncos](https://openpigskinapi.com/coverage/teams/denver-broncos) (`team_nfl_den`, AFC West) - [Detroit Lions](https://openpigskinapi.com/coverage/teams/detroit-lions) (`team_nfl_det`, NFC North) - [Green Bay Packers](https://openpigskinapi.com/coverage/teams/green-bay-packers) (`team_nfl_gb`, NFC North) - [Houston Texans](https://openpigskinapi.com/coverage/teams/houston-texans) (`team_nfl_hou`, AFC South) - [Indianapolis Colts](https://openpigskinapi.com/coverage/teams/indianapolis-colts) (`team_nfl_ind`, AFC South) - [Jacksonville Jaguars](https://openpigskinapi.com/coverage/teams/jacksonville-jaguars) (`team_nfl_jax`, AFC South) - [Kansas City Chiefs](https://openpigskinapi.com/coverage/teams/kansas-city-chiefs) (`team_nfl_kc`, AFC West) - [Las Vegas Raiders](https://openpigskinapi.com/coverage/teams/las-vegas-raiders) (`team_nfl_lv`, AFC West) - [Los Angeles Chargers](https://openpigskinapi.com/coverage/teams/los-angeles-chargers) (`team_nfl_lac`, AFC West) - [Los Angeles Rams](https://openpigskinapi.com/coverage/teams/los-angeles-rams) (`team_nfl_la`, NFC West) - [Miami Dolphins](https://openpigskinapi.com/coverage/teams/miami-dolphins) (`team_nfl_mia`, AFC East) - [Minnesota Vikings](https://openpigskinapi.com/coverage/teams/minnesota-vikings) (`team_nfl_min`, NFC North) - [New England Patriots](https://openpigskinapi.com/coverage/teams/new-england-patriots) (`team_nfl_ne`, AFC East) - [New Orleans Saints](https://openpigskinapi.com/coverage/teams/new-orleans-saints) (`team_nfl_no`, NFC South) - [New York Giants](https://openpigskinapi.com/coverage/teams/new-york-giants) (`team_nfl_nyg`, NFC East) - [New York Jets](https://openpigskinapi.com/coverage/teams/new-york-jets) (`team_nfl_nyj`, AFC East) - [Philadelphia Eagles](https://openpigskinapi.com/coverage/teams/philadelphia-eagles) (`team_nfl_phi`, NFC East) - [Pittsburgh Steelers](https://openpigskinapi.com/coverage/teams/pittsburgh-steelers) (`team_nfl_pit`, AFC North) - [San Francisco 49ers](https://openpigskinapi.com/coverage/teams/san-francisco-49ers) (`team_nfl_sf`, NFC West) - [Seattle Seahawks](https://openpigskinapi.com/coverage/teams/seattle-seahawks) (`team_nfl_sea`, NFC West) - [Tampa Bay Buccaneers](https://openpigskinapi.com/coverage/teams/tampa-bay-buccaneers) (`team_nfl_tb`, NFC South) - [Tennessee Titans](https://openpigskinapi.com/coverage/teams/tennessee-titans) (`team_nfl_ten`, AFC South) - [Washington Commanders](https://openpigskinapi.com/coverage/teams/washington-commanders) (`team_nfl_was`, NFC East)