Major League Soccer API
The top professional soccer league in North America. Rapidly growing in quality and viewership with clubs like Inter Miami, LA Galaxy, and Atlanta United.
Sample Major League Soccer API call
Fetch Major League Soccer matches with competition_id=8. The same ID works across every endpoint.
GET /football/matches?competition_id=8
GET https://api.thestatsapi.com/api/football/matches
?competition_id=8
&season=2025
Authorization: Bearer YOUR_API_KEY{
"data": [
{
"match_id": "mt_80481",
"competition_id": 8,
"competition": "Major League Soccer",
"season": "2025/26",
"status": "finished",
"kickoff_utc": "2025-09-14T14:00:00Z",
"home": { "name": "Inter Miami", "score": 2 },
"away": { "name": "LA Galaxy", "score": 1 },
"odds": { "home": "2.10", "draw": "3.40", "away": "3.30" }
}
],
"meta": { "page": 1, "per_page": 25, "total": 380 }
}competition_id=8 for Major League Soccer in fixtures, standings, player-stats and odds requests.What data is available for Major League Soccer
What you can build with Major League Soccer data
Stats dashboards
Power a live Major League Soccer table, fixtures, and form widgets with a single endpoint.
Betting & prediction models
Train models on 25 seasons of results, and closing odds.
Fantasy & content apps
Fetch player stats and match events to drive fantasy scoring and editorial content.
Research & analytics
Bulk-export historical Major League Soccer data for academic and commercial analysis.
TheStatsAPI provides Major League Soccer data including match results, player statistics, and historical records across 25 seasons. Access comprehensive Major League Soccer data alongside 1,195 other competitions through a single REST API, with plans starting at $50/month and a 7-day free trial.
Major League Soccer API resources
Upcoming and historical fixtures with kickoff times and venues.
Live league tables with points, goal difference, and form.
Goals, assists, minutes, cards and shots for every player.
Bet365, Pinnacle, Betfair & Kambi prices joined by match ID.
Step-by-step guide to pulling league data in Python.
See every competition, country, and data type we cover.
Frequently Asked Questions
Does TheStatsAPI cover Major League Soccer?
Yes. TheStatsAPI provides full coverage of Major League Soccer including match fixtures, results, player statistics, team data, and historical records across 25 seasons.
How many seasons of Major League Soccer data are available?
TheStatsAPI has 25 seasons of Major League Soccer data, going back to the 2001 season, including match results, player stats, and team performance data.
Can I get player stats for Major League Soccer?
Yes. Player statistics for Major League Soccer include goals, assists, appearances, minutes played, yellow cards, red cards, and shots, available for all players across all 25 seasons.
Are betting odds available for Major League Soccer?
Yes. Pre-match odds for Major League Soccer are available from Bet365, Pinnacle, Betfair Exchange, and Kambi across 1X2, over/under, BTTS, and Asian handicap markets, joined to fixtures by match ID.
How do I get a Major League Soccer API key?
Sign up for a 7-day free trial, generate an API key from your dashboard, and call the matches endpoint with competition_id=8. Every plan includes all endpoints and all competitions.
What does Major League Soccer data cost?
Major League Soccer data is included on every TheStatsAPI plan, starting at $50/month with a 7-day free trial. There are no per-competition add-ons.
Get Major League Soccer Data & 1,195 Other Competitions
Start your 7-day free trial. All endpoints included on every plan.