REST APISports

MLB Stats API (feed/live GUMBO)

MLB Stats API (feed/live GUMBO) is a rest api from MLB Advanced Media (MLBAM) providing sports data. The official MLB Advanced Media Stats API serves authoritative, near-real-time MLB game state, including pitch-by-pitch play data via the GUMBO /feed/live endpoint. It's the source-of-truth feed a Polymarket bot would poll to drive in-game baseball markets (win probability, run-line, next-half-inning, game-outcome) with the same data MLB uses on its own apps.

At a glance

ProviderMLB Advanced Media (MLBAM)
TypeREST API
CategorySports
Real-timeYes — streaming
AuthNone — open endpoint
PricingFree for individual, non-commercial, non-bulk use; commercial/bulk use requires prior written authorization from MLBAM (custom contract) — Free: individual, non-commercial, non-bulk use of the public endpoints (no API key), Commercial/bulk: prohibited without prior written authorization from MLB Advanced Media (custom license, contact MLBAM)

What data it provides

  • Live pitch-by-pitch / play-by-play game state via /api/v1.1/game/{gamePk}/feed/live (GUMBO JSON)
  • Current count, base/out state, pitch velocity, pitch type, and at-bat outcomes
  • Live linescore, boxscore, and scoring per half-inning
  • Schedules and game PKs (/api/v1/schedule) with status (scheduled, live, final)
  • Player, team, roster, and standings data
  • Win-probability and play-event metadata within the live feed

Features

  • GUMBO live feed: ~12s latency via Stats API pull; ~1-2s via ActiveMQ push listener
  • No API key / no auth required for public endpoints
  • Comprehensive coverage of all MLB games plus minor-league/affiliate game PKs
  • Deep historical depth: boxscore/linescore retrievable for past games by gamePk
  • True JSON (GUMBO) responses; community-maintained endpoint docs widely available
  • No official SDK, but well-documented REST endpoints usable from any HTTP client

Links

Use it in a bot

Other sports data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord