The 30 MLB clubs
API · /mlb-api
MLB Baseball Stats API
Major League Baseball as an API, from the official MLB Stats API. Get the 30 clubs, live division standings (wins, losses, win pct, games back, current streak, run differential), the full schedule and final scores for any date, team rosters, player profiles with complete season hitting and pitching stats (HR, AVG, OPS, RBI, ERA, strikeouts, W-L and more), and inning-by-inning line scores for any game. Resolve teams by abbreviation (NYY), id (147) or name (Yankees), and players by name (Aaron Judge) or MLB id. Perfect for building scoreboards and standings widgets, fantasy-baseball tools, stat dashboards, Discord/Slack bots, and sports-data apps. No key for the upstream, no accounts to manage.
API health
unhealthy- Uptime
- 33.33%
- Server probes · 24h
- Avg latency
- 190 ms
- Server probes · 24h
- Subscribers
- 3,371
- active
- Total calls
- 133
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 3,500 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 3,500 calls/month
- 2 req/sec
- Teams, standings, schedule & rosters
- No credit card
Starter
€5.90 /month
- 45,000 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- 45k calls/month
- 6 req/sec
- Player season hitting & pitching stats
- Email support
Pro
€16.90 /month
- 220,000 calls / month
- 16 requests / second
- Hard cap (429 above quota, no overage)
- 220k calls/month
- 16 req/sec
- Live scores & line scores
- Priority support
Mega
€44.90 /month
- 1,100,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 1.1M calls/month
- 40 req/sec
- Stat apps, bots & dashboards
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Baseball Stats API
Baseball sabermetrics as an API, computed locally and deterministically — turn raw counting numbers into the rate stats that actually rank players. The batting endpoint takes at-bats, hits, doubles, triples, home runs, walks, hit-by-pitch and sacrifice flies and returns the batting average (H/AB), on-base percentage ((H+BB+HBP)/(AB+BB+HBP+SF)), slugging percentage (total bases/AB), OPS (on-base plus slugging), isolated power (SLG−AVG) and, when strikeouts are supplied, BABIP — a classic .300/.366/.530 line comes straight out. The pitching endpoint takes innings pitched, earned runs, hits, walks, strikeouts and home runs and returns the earned run average (9·ER/IP), WHIP ((BB+H)/IP), strikeouts and walks per nine innings, the strikeout-to-walk ratio and FIP, the fielding-independent pitching estimator (13·HR + 3·(BB+HBP) − 2·K)/IP + constant. Innings pitched is a true decimal, with an exact "outs" input for the 6.1/6.2 box-score convention. Everything is computed locally and deterministically, so it is instant and private. Ideal for fantasy-baseball, sports-analytics, sabermetrics and box-score app developers, scouting and stat-line tools, and teaching material. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 2 compute endpoints. This computes the stats from your numbers; for live scores, standings, teams and players use a sports-data API.
api.oanor.com/baseball-api
Olympic Medals API
The all-time Olympic medal table as an API — cumulative Summer and Winter Olympic results for every National Olympic Committee. For each country: its NOC code and, split into Summer / Winter / Combined, the number of Games attended and the gold, silver, bronze and total medals won. Look a country up by name or NOC code, rank countries by any medal metric (all-time gold, winter gold, totals and more), or search. A stable sports reference for quiz, media, sports and data-viz apps. Distinct from single-Games results.
api.oanor.com/olympicmedals-api
Rio 2016 Olympics API
Every athlete who competed at the 2016 Summer Olympic Games in Rio de Janeiro as an API — a self-contained historical reference for sports apps, quizzes, dashboards and data-journalism. For each of 11,500+ athletes the API returns their name, nationality (with the ISO 3166-1 alpha-2 code and flag emoji), sex, date of birth, height, weight, sport and the medals won (gold, silver, bronze). Look an athlete up by name, search, list the athletes of a country or a sport (28 sports), or RANK athletes by their Rio 2016 medal haul — the most decorated competitors of the Games. Served from memory — always fast.
api.oanor.com/rio2016-api
Fantasy Premier League API
The official Fantasy Premier League (FPL) data as an API — the game played by over 13 million managers. List every player with their price, total points, form, ownership percentage and underlying stats (goals, assists, clean sheets, bonus, expected goals and assists, minutes and injury news). Browse the 20 Premier League clubs with their league record and fixture strength, the full gameweek calendar with deadlines and average scores, and fixtures with live and final results. Pull per-player detail with recent gameweek-by-gameweek history and upcoming fixtures with difficulty ratings. Real data, no key needed upstream. Ideal for FPL tools and draft assistants, fantasy-football apps, stat dashboards and Premier League widgets.
api.oanor.com/fpl-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for MLB Baseball Stats API?
What's the rate limit for MLB Baseball Stats API?
How much does MLB Baseball Stats API cost?
Can I cancel my subscription anytime?
Is MLB Baseball Stats API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/mlb-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/mlb-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/mlb-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/mlb-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.