# Statpad > Live scores, play-by-play and box scores for the NFL, NBA, WNBA, NHL, college football and basketball, and five European soccer leagues. One schema over REST, on a free plan or from $19 a month, and WebSocket from $49. Statpad is a real-time sports data API: one JSON schema across 11 leagues, REST at https://api.statpad.dev and one WebSocket at wss://stream.statpad.dev/v1/stream. Every change carries a seq, so a client that reconnects resumes exactly where it stopped. Requests need an API key, sent as `Authorization: Bearer` from a server, never from a browser. ## Docs - [Docs index](https://statpad.dev/docs/llms.txt): every docs page and the API reference, each with a one-line summary - [Quickstart](https://statpad.dev/docs/quickstart.md): the first request, then a live game over the stream, resumed after a disconnect - [Use Statpad from a coding agent](https://statpad.dev/docs/coding-agent.md): get a key, keep it on the server, make the first request, connect the MCP servers, and the mistakes to avoid - [Sample responses](https://statpad.dev/docs/replay.md): untrimmed responses and a full change journal from real games, free without a key ## API specs - [OpenAPI spec (JSON)](https://statpad.dev/openapi.json): the REST API at https://api.statpad.dev as OpenAPI 3.1: every endpoint, parameter and schema, for generating a client or checking a request - [OpenAPI spec (YAML)](https://statpad.dev/openapi.yaml): the same spec as YAML - [AsyncAPI spec](https://statpad.dev/asyncapi.yaml): the WebSocket stream as AsyncAPI 3.0: subscribe, resume, and every message the server sends - [API catalog](https://statpad.dev/.well-known/api-catalog): an RFC 9727 linkset pointing to both specs, the docs and the status page ## Libraries - [TypeScript SDK](https://statpad.dev/docs/sdk.md): @statpad/sdk, `npm install @statpad/sdk`: a typed method for every REST endpoint, with errors, retries, pagination and conditional requests - [Python SDK](https://statpad.dev/docs/python-sdk.md): statpad, `pip install statpad`: sync and async clients with a method for every REST endpoint and a type for every schema, with errors, retries, pagination and conditional requests ## MCP servers and agent tools - [Docs MCP server](https://statpad.dev/docs/_mcp/server): a remote MCP server over Streamable HTTP with no key, whose searchDocs tool answers from these docs with links to its sources - [@statpad/mcp](https://statpad.dev/docs/mcp.md): a local stdio MCP server, `npx -y @statpad/mcp` with STATPAD_API_KEY set, whose read-only tools (list_leagues, find_teams, find_games, get_game, get_box_score, get_plays) read live games - [Statpad agent skill](https://statpad.dev/.well-known/agent-skills/statpad/SKILL.md): the integration rules coding agents most often get wrong ## League APIs - [NFL API](https://statpad.dev/nfl-api.md): An NFL API with live scores, every play, drives, box scores and the injury report. A free REST plan, paid REST from $19 a month and WebSocket from $49. See a real Bills at Vikings response, untrimmed. - [NCAAF API](https://statpad.dev/college-football-api.md): A college football API for NCAA Division I FBS: live scores, every play, drives and box scores in the same JSON as the NFL. A free REST plan, paid REST from $19 a month and WebSocket from $49. - [NBA API](https://statpad.dev/nba-api.md): An NBA API with live scores, every play with shot type and court position, box scores and game rosters. A free REST plan, paid REST from $19 a month and WebSocket from $49. See a real Lakers at Hawks response. - [NCAAB API](https://statpad.dev/college-basketball-api.md): A college basketball API for NCAA Division I men's games: live scores, every play with shot type and court position, and box scores, in the same JSON as the NBA. A free REST plan, paid REST from $19 and WebSocket from $49. - [WNBA API](https://statpad.dev/wnba-api.md): A WNBA API with live scores, every play, shot type and court position on field goals, box scores and game rosters, in the same JSON as the NBA. A free REST plan, paid REST from $19 a month and WebSocket from $49. - [NHL API](https://statpad.dev/nhl-api.md): An NHL API with live scores, every play with strength and rink position, penalties, skater and goalie box scores, and the injury report. A free REST plan, paid REST from $19 a month and WebSocket from $49. - [EPL API](https://statpad.dev/premier-league-api.md): A Premier League API with live scores, every goal, shot, card and substitution with pitch position, lineups and player stats. A free REST plan, paid REST from $19 a month and WebSocket from $49. See Man United 4, Aston Villa 4. - [LaLiga API](https://statpad.dev/laliga-api.md): A LaLiga API with live scores, every goal, shot, card and substitution with pitch position, formations, lineups and player stats. A free REST plan, paid REST from $19 a month and WebSocket from $49. - [Bundesliga API](https://statpad.dev/bundesliga-api.md): A Bundesliga API with live scores, every goal, shot, card and substitution with pitch position, formations, lineups and player stats. A free REST plan, paid REST from $19 a month and WebSocket from $49. - [Serie A API](https://statpad.dev/serie-a-api.md): A Serie A API with live scores, every goal, shot, card and substitution with pitch position, formations, lineups and player stats. A free REST plan, paid REST from $19 a month and WebSocket from $49. - [Ligue 1 API](https://statpad.dev/ligue-1-api.md): A Ligue 1 API with live scores, every goal, shot, card and substitution with pitch position, formations, lineups and player stats. A free REST plan, paid REST from $19 a month and WebSocket from $49. ## Use cases - [Fantasy sports API with live player box scores](https://statpad.dev/fantasy-sports-api.md): Live player box scores for the NFL, NBA, WNBA, NHL, college football and basketball and five soccer leagues, in one schema. A free REST plan, paid REST from $19 a month and WebSocket from $49. - [Sports API for Discord bots: live scores and plays](https://statpad.dev/discord-bot-sports-api.md): Post live scores and plays to Discord or Slack from one stream, edit the message when replay changes a call, and resume after a restart without missing a play. A free REST plan, paid REST from $19 and WebSocket from $49. - [Live scoreboard API: scores, clock and situation over REST and WebSocket](https://statpad.dev/live-scoreboard-api.md): Build a live scoreboard or second-screen app with one schema for 11 leagues. A page load over REST and a live update over WebSocket return the same entities and agree. A free REST plan, paid REST from $19 and WebSocket from $49. - [Sports data for prediction markets and pick'em apps](https://statpad.dev/prediction-market-sports-data.md): Live plays in seq order to price markets during a game, and a final status to settle on. NFL, NBA, WNBA, NHL, college and five soccer leagues, a free REST plan, paid REST from $19 and WebSocket from $49. - [Sports data MCP server for Claude, Cursor and any MCP client](https://statpad.dev/sports-mcp-server.md): @statpad/mcp gives Claude, Cursor and any MCP client find_games, get_game and get_plays over live data for 11 leagues, with a seq on every result so the agent reads only what changed. - [Free NFL API: live games on the free plan, no card](https://statpad.dev/free-nfl-api.md): Statpad's Free plan reads live NFL data over REST with no card: 2,500 requests a month, enough to follow one whole game. A recorded NFL game replays play by play with no key or account. - [Play-by-play API: every play, live, with corrections by version](https://statpad.dev/play-by-play-api.md): Live play-by-play for the NFL, NBA, NHL, college football, Division I men's college basketball and five soccer leagues, in one schema: drives and down and distance, shot type and court position, strength and rink position, pitch position. The WNBA returns in May 2027. On every plan, Free included. - [WebSocket sports API: live game and league streams that resume](https://statpad.dev/websocket-sports-api.md): One WebSocket for live sports data across 11 leagues: subscribe to game and league streams, resume from the last seq after a disconnect, and get the same JSON as REST. On Pro from $49 a month and Business. Free and Developer are REST only. ## Embeds - [Embeds](https://statpad.dev/embeds.md): a live scoreboard or scores list on any page from a script tag and one element, for the NFL, NBA, college football and men's college basketball, on a free plan with no cap on views ## Pricing - [Pricing](https://statpad.dev/pricing.md): every plan's price, request and stream limits, keys and support, side by side ## Blog - [Test that your live client gets a real game right](https://statpad.dev/blog/journal-client-tests.md): A six-test node:test file sends all 1,277 changes of a recorded NFL game through your change handler and checks what your app would show at the moments that break live clients. - [Ask Claude about an NFL game while it replays on your laptop](https://statpad.dev/blog/claude-mcp-replay.md): A small Node server replays the recorded Bills at Vikings game on localhost. Point @statpad/mcp at it, ask Claude who has the ball, then move the game forward and watch the answer change when replay overturns a fumble. - [A shot map of Manchester United 4–4 Aston Villa in 125 lines of TypeScript](https://statpad.dev/blog/epl-shot-map.md): Every shot in Statpad's Premier League play-by-play has pitch coordinates. This script turns one 8-goal draw into an SVG shot map and a score timeline, and covers the two coordinate traps. - [A live NFL scoreboard in SwiftUI, and the small server that holds the key](https://statpad.dev/blog/swiftui-live-scoreboard.md): A Node server on @statpad/sdk holds the Statpad key and one stream subscription, and a SwiftUI app resumes from it by seq, tested against a recorded Bills at Vikings game. - [A fantasy football scoreboard for your Discord channel](https://statpad.dev/blog/discord-fantasy-scoreboard.md): A first project with the Statpad API. One small Node script scores a fantasy matchup from NFL box scores and keeps a single Discord message up to date through a channel webhook. ## Optional - [Home page](https://statpad.dev/index.md): the product overview - [Blog index](https://statpad.dev/blog.md): every post, newest first - [Privacy](https://statpad.dev/privacy.md): the privacy policy - [Terms](https://statpad.dev/terms.md): the terms of service