EUROPE · DOMESTIC LEAGUE

La Liga 2 API

Spain's second tier (Segunda División). A famously competitive promotion race feeding clubs into La Liga.

18
Seasons
22
Teams
Spain
Country
17
Competition ID
Get this via API

Sample La Liga 2 API call

Fetch La Liga 2 matches with competition_id=17. The same ID works across every endpoint.

GET /football/matches?competition_id=17

Request
GET https://api.thestatsapi.com/api/football/matches
  ?competition_id=17
  &season=2025
Authorization: Bearer YOUR_API_KEY
JSON response
{
  "data": [
    {
      "match_id": "mt_170481",
      "competition_id": 17,
      "competition": "La Liga 2",
      "season": "2025/26",
      "status": "finished",
      "kickoff_utc": "2025-09-14T14:00:00Z",
      "home": { "name": "Real Zaragoza", "score": 2 },
      "away": { "name": "Sporting Gijón", "score": 1 }
    }
  ],
  "meta": { "page": 1, "per_page": 25, "total": 380 }
}
Use competition_id=17 for La Liga 2 in fixtures, standings, player-stats and odds requests.

What data is available for La Liga 2

Match fixtures and results
Final scores and live status
Historical seasons back to 2008
Match events (goals, cards, substitutions)
Player statistics (goals, assists, minutes, cards, shots)
Team season stats (possession, shots, passes, corners)

What you can build with La Liga 2 data

Stats dashboards

Power a live La Liga 2 table, fixtures, and form widgets with a single endpoint.

Betting & prediction models

Train models on 18 seasons of results.

Fantasy & content apps

Fetch player stats and match events to drive fantasy scoring and editorial content.

Research & analytics

Bulk-export historical La Liga 2 data for academic and commercial analysis.

TheStatsAPI provides La Liga 2 data including match results, player statistics, and historical records across 18 seasons. Access comprehensive La Liga 2 data alongside 1,195 other competitions through a single REST API, with plans starting at $50/month and a 7-day free trial.

Frequently Asked Questions

Does TheStatsAPI cover La Liga 2?

Yes. TheStatsAPI provides full coverage of La Liga 2 including match fixtures, results, player statistics, team data, and historical records across 18 seasons.

How many seasons of La Liga 2 data are available?

TheStatsAPI has 18 seasons of La Liga 2 data, going back to the 2008 season, including match results, player stats, and team performance data.

Can I get player stats for La Liga 2?

Yes. Player statistics for La Liga 2 include goals, assists, appearances, minutes played, yellow cards, red cards, and shots, available for all players across all 18 seasons.

Is live data available for La Liga 2?

Live and final scores, fixtures, and match events for La Liga 2 are available through the matches endpoint, with finalized stats settling within 1 to 2 hours of full time.

How do I get a La Liga 2 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=17. Every plan includes all endpoints and all competitions.

What does La Liga 2 data cost?

La Liga 2 data is included on every TheStatsAPI plan, starting at $50/month with a 7-day free trial. There are no per-competition add-ons.

Start building today

Get La Liga 2 Data & 1,195 Other Competitions

Start your 7-day free trial. All endpoints included on every plan.