Skip to content

Liga MX Odds API ​

The Odds API covers Liga MX odds for live and upcoming matches in a simple JSON API.

Not a developer? Current Liga MX odds can also be accessed in Excel or Google Sheets. For website owners, the odds widget brings bookmaker odds into websites with a simple HTML tag.

Features ​

  • Liga MX odds are covered for live and upcoming matches.

  • Featured markets, including 3-way moneyline, totals are covered for several bookmakers. See the full list of bookmakers.

  • Odds are refreshed at regular intervals. More information on update intervals can be found here.

  • Liga MX scores are covered, with final scores available for matches completed up to 3 days ago.

  • Current odds data and scores are available on all usage plans, including the free usage plan.

  • Historical Liga MX odds data is available from Jul 2020 on paid usage plans. More information on historical odds data can be found here.

  • The API response includes deep links to bookmaker websites.

Querying Liga MX Odds ​

Featured markets (3-way moneyline and totals) can be queried using the odds endpoint.

Parameters

To query current Liga MX odds for featured markets, the following parameters need to be provided:

  • sport   In this case soccer_mexico_ligamx
  • regions   Regions of bookmakers to return, for example us
  • markets   For example, h2h for 3-way moneyline, totals
  • oddsFormat   decimal or american. This example uses american
  • apiKey   Get a free API key

See the documentation for more options

Example API Request

https://api.the-odds-api.com/v4/sports/soccer_mexico_ligamx/odds?regions=us&markets=h2h,totals&oddsFormat=american&apiKey=YOUR_API_KEY

Example API Response

The API will return live and upcoming Liga MX matches, including start times, home and away teams, and odds from bookmakers for the specified regions and markets.

json
[{
    "id": "0380db9fc7de24aed0c27138c02467e5",
    "sport_key": "soccer_mexico_ligamx",
    "sport_title": "Liga MX",
    "commence_time": "2026-11-14T23:00:00Z",
    "home_team": "Querétaro",
    "away_team": "Monterrey",
    "bookmakers": [
        {
            "key": "betmgm",
            "title": "BetMGM",
            "last_update": "2026-11-12T06:17:39Z",
            "markets": [
                {
                    "key": "h2h",
                    "last_update": "2026-11-12T06:17:39Z",
                    "outcomes": [
                        {"name": "Monterrey", "price": -102},
                        {"name": "Querétaro", "price": 240},
                        {"name": "Draw", "price": 260}
                    ]
                },
                {
                    "key": "totals",
                    "last_update": "2026-11-12T06:17:39Z",
                    "outcomes": [
                        {"name": "Over", "price": -185, "point": 2.5},
                        {"name": "Under", "price": 125, "point": 2.5}
                    ]
                }
            ]
        },
        ...

The usage cost of the API call in this example is

usage cost = [number of markets] x [number of regions] = 2 x 1 = 2 credits

See the API documentation for details.

Other Sports ​

See the full list of sports covered by The Odds API.

Stay Updated ​

Follow us on X.com or Bluesky to stay updated on new sports, bookmakers, markets and features.