MLB Records and Stats

Official MLB stats: teams, standings, players and games

🩺 Health & FoodHEALTHYchecked 9h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL

MLB's Stats API serves current and historical baseball data, teams, rosters, standings, schedules and box scores, without an API key. Responses are JSON and carry MLB Advanced Media's copyright terms.

92HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 92 · healthy
Uptime history
99.02%90 days
98.3%30 days
555P50 · ms
1293P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 18 ms, slowest 1109 ms, most recent 307 ms.
Live response samplecaptured by our last successful check
GET https://statsapi.mlb.com/api/v1/teams?sportId=1

{
  "copyright": "Copyright 2026 MLB Advanced Media, L.P.",
  "teams": [
    {
      "id": 133,
      "name": "Athletics",
      "teamName": "Athletics",
      "locationName": "Sacramento",
      "league": "American League",
      "division": "American League West",
      "venue": "Sutter Health Park"
    }
  ]
}
Call itcurl · fetch · python
curl "https://statsapi.mlb.com/api/v1/teams?sportId=1"
const res = await fetch("https://statsapi.mlb.com/api/v1/teams?sportId=1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://statsapi.mlb.com/api/v1/teams?sportId=1")
print(res.json())
Endpoints · 3HealthyFULL DOCS ↗
Monitored path responding — GET /teams?sportId=1555 mschecked 9h ago
GET/teams?sportId=1PROBED

Official MLB stats: teams, standings, players and games

GET/teams?limit=5

Teams — documented GET route.

GET/teams?page=1

Teams — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

MLB Records and Stats: common questions

Is MLB Records and Stats free to use?

Yes — MLB Records and Stats is a free health & food API. Free tier: Free — no key; subject to MLB copyright terms. The free tier is for non-commercial use.

Does MLB Records and Stats need an API key?

No — MLB Records and Stats needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call MLB Records and Stats from the browser?

Yes — MLB Records and Stats returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is MLB Records and Stats up right now?

As of our last scheduled check, MLB Records and Stats is healthy with 99.02% uptime over 90 days and a 555 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.