Sports & FitnessPublic API
MLB Records and Stats
Current and historical MLB statistics
Before you call it
What this listing means in practice
No key to obtain
You can make a request immediately. Be considerate with volume anyway: open APIs often publish informal rate limits, and some will block clients that hammer them.
Listed as HTTP only
Prefer a provider endpoint with TLS before shipping this to production. Calling over plain HTTP exposes request and response data in transit.
CORS not confirmed
If CORS is not enabled, call this API from a server, serverless function or build step and proxy the response to your frontend.
Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.
https://appac.github.io/mlb-data-api-docs/No API calls are proxied by this directory. Links go directly to the provider.
API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.
Overview
About MLB Records and Stats
MLB Records and Stats needs no API key. That puts it among 28 of the 66 sports & fitness APIs we list that you can try without signing up.
It is listed as HTTP only. 64 of 66 sports & fitness APIs support HTTPS, so look at those first if this is going into production.
The documentation is hosted on GitHub (appac.github.io), which usually means an open-source or community-run project. Check the repository's recent commits and open issues to see whether it is still maintained.
Sports & Fitness APIs in general
Sports APIs give fixtures, live scores, standings and player stats, while fitness APIs sync workouts from apps and devices.
What people build with them
- Live score widgets
- Fantasy league tools
- Importing runs and rides into a training log
Watch out for
Live sports data is expensive to license. Free APIs are often delayed or limited to a few leagues.
First request
Calling MLB Records and Stats
Run this on a server or in a serverless function, because CORS is not confirmed.
JavaScript// Replace the path with an endpoint from the MLB Records and Stats docs
const res = await fetch("https://appac.github.io/mlb-data-api-docs/<endpoint>");
if (!res.ok) throw new Error(`MLB Records and Stats returned ${res.status}`);
const data = await res.json();Compare
MLB Records and Stats vs similar APIs
| API | Auth | HTTPS | CORS |
|---|---|---|---|
| MLB Records and Stats | No key | No | Unknown |
| Bet Better | No key | Yes | Yes |
| balldontlie | No key | Yes | Yes |
| Ball Ranks | No key | Yes | Yes |
| WhensTheRace | No key | Yes | Yes |
| Squiggle | No key | Yes | Yes |
FAQ
Common questions about MLB Records and Stats
Does MLB Records and Stats need an API key?
No. MLB Records and Stats is listed with no authentication, so you can send a request without registering.
Can I call MLB Records and Stats from the browser?
CORS is not confirmed, so the browser may block direct calls. Call it from your server or a serverless function and pass the result to your frontend.
Is MLB Records and Stats free?
No key is required, which usually means free access, but providers can still limit volume. Check MLB Records and Stats's docs for rate limits and fair-use terms.
What are some alternatives to MLB Records and Stats?
Other sports & fitness APIs in the directory include Bet Better (no key), balldontlie (no key), Ball Ranks (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.
Same category
More Sports & Fitness APIs
Next step
Keep looking until the constraints fit.
Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.