Skip to content

La Liga 2 Odds API ​

The Odds API covers La Liga 2 (La Liga 2 (Segunda División)) odds for live and upcoming matches in a simple JSON API.

Not a developer? Current La Liga 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 ​

  • La Liga 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.

  • La Liga 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 La Liga 2 odds data is available from Jun 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 La Liga 2 Odds ​

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

Parameters

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

  • sport   In this case soccer_spain_segunda_division
  • 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_spain_segunda_division/odds?regions=eu&markets=h2h,spreads,totals&oddsFormat=decimal&apiKey=YOUR_API_KEY

Example API Response

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

json
[{
    "id": "fed29050dc7e99c7dd6b3b4580f142b7",
    "sport_key": "soccer_spain_segunda_division",
    "sport_title": "La Liga 2 - Spain",
    "commence_time": "2026-11-13T19:30:00Z",
    "home_team": "Leganés",
    "away_team": "Burgos CF",
    "bookmakers": [
        {
            "key": "pinnacle",
            "title": "Pinnacle",
            "last_update": "2026-11-12T06:19:13Z",
            "markets": [
                {
                    "key": "h2h",
                    "last_update": "2026-11-12T06:19:13Z",
                    "outcomes": [
                        {"name": "Burgos CF", "price": 3.32},
                        {"name": "Leganés", "price": 2.33},
                        {"name": "Draw", "price": 3.16}
                    ]
                },
                {
                    "key": "spreads",
                    "last_update": "2026-11-12T06:19:13Z",
                    "outcomes": [
                        {"name": "Burgos CF", "price": 1.87, "point": 0.25},
                        {"name": "Leganés", "price": 1.99, "point": -0.25}
                    ]
                },
                {
                    "key": "totals",
                    "last_update": "2026-11-12T06:19:13Z",
                    "outcomes": [
                        {"name": "Over", "price": 2, "point": 2.25},
                        {"name": "Under", "price": 1.84, "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.