Skip to content

Ligue 2 Odds API ​

The Odds API covers Ligue 2 odds for live and upcoming matches in a simple JSON API.

Not a developer? Current Ligue 2 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 ​

  • Ligue 2 odds are covered for live and upcoming matches.

  • Featured markets, including 1X2, handicap, over/under 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.

  • Ligue 2 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 Ligue 2 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 Ligue 2 Odds ​

Featured markets (1X2, handicap and over/under) can be queried using the odds endpoint.

Parameters

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

  • sport   In this case soccer_france_ligue_two
  • regions   Regions of bookmakers to return, for example eu
  • markets   For example, h2h for 1X2, spreads for handicap, totals for over/under
  • oddsFormat   decimal or american. This example uses decimal
  • apiKey   Get a free API key

See the documentation for more options

Example API Request

https://api.the-odds-api.com/v4/sports/soccer_france_ligue_two/odds?regions=eu&markets=h2h,spreads,totals&oddsFormat=decimal&apiKey=YOUR_API_KEY

Example API Response

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

json
[{
    "id": "57fc8cfc03a9f7081a2d90bbaf77e899",
    "sport_key": "soccer_france_ligue_two",
    "sport_title": "Ligue 2 - France",
    "commence_time": "2026-11-06T19:00:00Z",
    "home_team": "Boulogne",
    "away_team": "Annecy FC",
    "bookmakers": [
        {
            "key": "pinnacle",
            "title": "Pinnacle",
            "last_update": "2026-11-06T11:55:22Z",
            "markets": [
                {
                    "key": "h2h",
                    "last_update": "2026-11-06T11:55:22Z",
                    "outcomes": [
                        {"name": "Annecy FC", "price": 3.42},
                        {"name": "Boulogne", "price": 2.48},
                        {"name": "Draw", "price": 2.94}
                    ]
                },
                {
                    "key": "spreads",
                    "last_update": "2026-11-06T11:55:22Z",
                    "outcomes": [
                        {"name": "Annecy FC", "price": 1.83, "point": 0.25},
                        {"name": "Boulogne", "price": 2.08, "point": -0.25}
                    ]
                },
                {
                    "key": "totals",
                    "last_update": "2026-11-06T11:55:22Z",
                    "outcomes": [
                        {"name": "Over", "price": 2.09, "point": 2.25},
                        {"name": "Under", "price": 1.81, "point": 2.25}
                    ]
                }
            ]
        },
        ...

The usage cost of the API call in this example is

usage cost = [number of markets] x [number of regions] = 3 x 1 = 3 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.