Pull MLB schedule and live game feed data from the public statsapi.mlb.com endpoints

domain: statsapi.mlb.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Call GET https://statsapi.mlb.com/api/v1/schedule with sportId and date params to get scheduled games — no API key or registration is required
  2. Extract the gamePk from the schedule response for any game you want details on
  3. Call the live game feed at GET https://statsapi.mlb.com/api/v1.1/game/{gamePk}/feed/live (note the v1.1 path, which differs from most other v1 endpoints) for play-by-play and near-real-time updates
  4. Poll the live feed at a reasonable interval during in-progress games rather than continuously hammering it
  5. Treat the API as free only for individual, non-commercial, non-bulk use — commercial or bulk applications require prior written authorization from MLB Advanced Media

Known gotchas

Related routes

Pull NHL schedule and boxscore data from the current api-web.nhle.com endpoints
api-web.nhle.com · 5 steps · unrated
Pull labor statistics series data from the BLS Public Data API
bls.gov · 5 steps · unrated
Pull fixtures and league standings from API-Football (api-sports.io) and stay within rate limits
api-sports.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans