76 to retrieve MLS fixtures, live scores, historical results, standings and other available competition data through Football API. Bring Major League Soccer data into your website or application with Football API. Access upcoming fixtures, live scores, completed matches, league standings, team details, top scorers, match events, lineups and statistics through structured JSON endpoints.
Whether you're developing a football website, a mobile sports application, a statistics platform or a betting-related product, the Major League Soccer API gives you access to the data needed to build and maintain your service.
Football API brings different types of football data together on one platform. Each category has its own endpoint, so you can request the information your application needs without having to retrieve unrelated data.
| Competition | Major League Soccer |
| Country | USA |
| Competition ID | 76 |
| Competition type | Domestic league |
| API endpoint | /matches/live.json |
| HTTP method | GET |
| Authentication | API key and API secret |
| Response format | JSON |
Major League Soccer (MLS) is the highest level of professional soccer in the United States and Canada. Football API provides dedicated competition filtering, making it possible to retrieve MLS data separately from other North American leagues and cup competitions.
Simply use competition ID 76 with the relevant endpoints to access Major League Soccer data. This allows you to build MLS-specific match pages, scoreboards, statistics sections and other features without mixing information from unrelated competitions.
Different aspects of the competition are covered by separate Football API endpoints. Use them individually or combine their responses to create a more complete MLS experience for your users.
Keep track of Major League Soccer matches as they happen. Retrieve current scores and available match information for games in progress.
API endpoint: GET /matches/live.json
Filter: competition_id=76
Get the upcoming Major League Soccer schedule and display future matches in your application. Retrieve scheduled dates, kick-off times, home and away teams and available venue details. You can narrow the results by date, team or round to create specific fixture lists. Each request returns up to 30 fixtures, with pagination links available for additional results.
Fixture ID, Match date, Kick-off time, Home and away teams, Competition, Venue, Round, Group
API endpoint: GET /fixtures/list.json
Filter: competition_id=76
Look up completed Major League Soccer matches and access results from previous games. Use historical scores and match records to build team statistics, season archives, head-to-head comparisons and football history databases. Results can be narrowed using date ranges and team IDs, with pagination available when retrieving larger sets of matches.
API endpoint: GET /matches/history.json
Filter: competition_id=76
Retrieving MLS data through Football API is straightforward. Once you've created an account, you'll receive an API key and API secret for authenticating your requests. Choose the endpoint you need, include the relevant competition ID and send a standard HTTP GET request. The API returns structured JSON that you can process and integrate using any programming language with HTTP and JSON support.
curl -G "https://api.football-api.com/matches/live.json" \
--data-urlencode "key=demo_key" \
--data-urlencode "secret=demo_secret" \
--data-urlencode "competition_id=76"
curl -G "https://api.football-api.com/fixtures/list.json" \
--data-urlencode "key=demo_key" \
--data-urlencode "secret=demo_secret" \
--data-urlencode "competition_id=76"
curl -G "https://api.football-api.com/matches/history.json" \
--data-urlencode "key=demo_key" \
--data-urlencode "secret=demo_secret" \
--data-urlencode "competition_id=76"
curl -G "https://api.football-api.com/competitions/table.json" \
--data-urlencode "key=demo_key" \
--data-urlencode "secret=demo_secret" \
--data-urlencode "competition_id=76"
7' Cristiano Ronaldo
58' Sergio Ramos
62' Kevin De Bruyne In 65' Phil Foden Out
Get a detailed account of the events recorded during a Major League Soccer match. The response can include the player involved, event type, match minute, associated team and the order in which incidents occurred. Use this information to build match timelines, display important moments and give users a clearer picture of how a game unfolded. Available event types include:
- Goals
- Cards
- Substitutions
API endpoint: GET /matches/events.json
Filter: match_id
Compare the performance of both teams using statistics from individual Major League Soccer matches. Retrieve available match data and use it to build statistical breakdowns, comparison tables and detailed match reports. Statistics become available after a match has started.
API endpoint: GET /statistics/matches.json
Filter: match_id
Starters:
Cristiano Ronaldo
Sergio Ramos
Phil Foden
Substitutes:
Kevin De Bruyne
Retrieve the starting lineups and available player information for Major League Soccer matches. Access details for both the home and away teams and use the data to create match previews, formation graphics and team lineup sections.
Depending on the match, the available information includes: Home and away teams, Player name, Shirt number, Starters, Substitutes, Player photo
API endpoint: GET /matches/lineups.json
Filter: match_id
Retrieve the Major League Soccer table for a selected season and display how teams are performing throughout the competition. Access league positions and team statistics, including points and match records. Set include_form=1 to include recent form where available.
API endpoint: GET /standings.json
Filter: competition_id=76
| Name | Description |
|---|---|
| rank | Position |
| points | Points |
| matches | Matches Played |
| goal_diff | Goal Difference |
| goals_scored | Goals Scored |
| goals_conceded | Goals Conceded |
| lost | Matches Lost |
| drawn | Matches Drawn |
| won | Matches Won |
| team.id | Team ID |
| team.name | Team Name |
| team.stadium | Team Stadium |
| team.country_id | Team Country ID |
| team.logo | Team Logo |
See how the Major League Soccer standings change as matches are played. The Live Standings endpoint returns the current competition table alongside information about ongoing matches, helping you reflect their impact on team positions during matchday.
API endpoint: GET /standings/live.json
Filter: competition_id=76
| Name | Description |
|---|---|
| score | Score |
| form | Team Form in the Match |
| home.id | Home Team ID |
| home.name | Home Team Name |
| home.stadium | Home Team Stadium |
| home.country_id | Home Team Country ID |
| home.logo | Home Team Logo |
| away.id | Away Team ID |
| away.name | Away Team Name |
| away.stadium | Away Team Stadium |
| away.country_id | Away Team Country ID |
| away.logo | Away Team Logo |
Find out which players are leading the Major League Soccer scoring charts. Retrieve individual scoring records and build player rankings throughout the season. The endpoint returns up to 20 leading players for the current competition season. Depending on the available data, the response includes: Player name, Player ID, Player photo, Team data, Goals, Assists, Matches played
API endpoint: GET /competitions/topscorers.json
Filter: competition_id=76
Retrieve team records for clubs competing in Major League Soccer. Use the Teams endpoint to access club information and build dedicated team pages within your application. The returned team IDs can also be used with other Football API endpoints to retrieve fixtures, results and additional team-related data.
API endpoint: GET /teams/listing.json
Compare two MLS clubs and explore their previous meetings. Use the respective team IDs to retrieve historical head-to-head results and recent performances, making it easier to build team comparison pages and match preview sections.
API endpoint: GET /teams/head2head.json
Football API subscription plans provide access to a range of football data endpoints. Depending on your selected plan and the available match coverage, you can retrieve Major League Soccer fixtures, live scores, historical results, standings, match events, statistics, lineups and other competition information.
Create dedicated MLS score pages featuring live results, match events, team details and league standings.
Build detailed match reports, historical statistics, team comparisons and goalscorer rankings using MLS data.
Keep users up to date with upcoming fixtures, live match scores, completed results and their favourite teams.
Add match previews, post-game reports, league tables and historical MLS information to your editorial content.
The Major League Soccer API provides access to football data from MLS, the top professional soccer competition in the United States and Canada. Through Football API, developers can retrieve live scores, fixtures, historical results, standings, top goalscorers, match events, statistics, lineups and team information using REST endpoints.
Major League Soccer has competition ID 76 in Football API. Include this ID in supported competition-based requests to retrieve data specifically for MLS.
The available data covers live scores, upcoming fixtures, historical results, match events, match statistics, team lineups, league standings, live standings, top goalscorers and team information. Each type of information can be retrieved through its corresponding API endpoint.
Yes. Use the Fixtures API with competition_id=76 to retrieve the MLS schedule. The response includes scheduled match dates, participating teams and available venue information.
Yes. The History API provides access to completed matches and their final scores. You can narrow your requests by competition and date range to retrieve the historical results relevant to your application.
Yes. The Standings API returns the available MLS league table for a selected season. For matches currently being played, you can also use the Live Standings API to retrieve standings that reflect ongoing matchday developments.
Yes. The Match Statistics API provides available statistics for individual games. Depending on the match, these can include possession, shots, corners, fouls, offsides, saves and cards.
Yes. The Match Lineups API provides lineup information for both teams, including player IDs, names, shirt numbers and available player photos. The information is subject to availability for each individual match.
Yes. Use the Top Goalscorers API to retrieve up to 20 leading players for the current competition season. Available details include goals, assists, appearances and team information.
Yes. Pre-match and in-play 1X2 odds can be included in the relevant match data responses when available. Odds are provided as part of the match response rather than through a separately documented odds endpoint.
Football API uses an API key and API secret for authentication. Supply both credentials as GET parameters when making HTTP requests to the relevant endpoints. Keep your API secret secure and avoid exposing it in client-side code.
Yes. You can integrate Football API data into commercial websites, mobile applications and sports-related platforms. The available data and usage limits depend on your subscription plan and the applicable terms of service.
Give your application access to the Major League Soccer data it needs. From upcoming fixtures and live scores to historical results, league standings, match statistics and player information, Football API offers a range of structured endpoints for working with MLS data. Create your account, choose the endpoints you need and start building.
Get Your API Access View API Documentation