MLB Records and Stats
Official MLB stats: teams, standings, players and games
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.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗
On our probe schedule. Uptime charts appear after the first check lands.
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"
}
]
}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())/teams?sportId=1PROBEDOfficial MLB stats: teams, standings, players and games
/teams?limit=5Teams — documented GET route.
/teams?page=1Teams — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Not tracked yet. Shape-change history starts once this API joins our probe schedule.
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?
MLB Records and Stats is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.