EUROPE · DOMESTIC LEAGUE

Ligue 2 API

France's second professional division. Full season coverage of the clubs competing for promotion to Ligue 1.

16
Seasons
18
Teams
France
Country
19
Competition ID
Get this via API

Sample Ligue 2 API call

Fetch Ligue 2 matches with competition_id=19. The same ID works across every endpoint.

GET /football/matches?competition_id=19

Request
GET https://api.thestatsapi.com/api/football/matches
  ?competition_id=19
  &season=2025
Authorization: Bearer YOUR_API_KEY
JSON response
{
  "data": [
    {
      "match_id": "mt_190481",
      "competition_id": 19,
      "competition": "Ligue 2",
      "season": "2025/26",
      "status": "finished",
      "kickoff_utc": "2025-09-14T14:00:00Z",
      "home": { "name": "Saint-Étienne", "score": 2 },
      "away": { "name": "Bordeaux", "score": 1 }
    }
  ],
  "meta": { "page": 1, "per_page": 25, "total": 380 }
}
Use competition_id=19 for Ligue 2 in fixtures, standings, player-stats and odds requests.

What data is available for Ligue 2

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

What you can build with Ligue 2 data

Stats dashboards

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

Betting & prediction models

Train models on 16 seasons of results.

Fantasy & content apps

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

Research & analytics

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

TheStatsAPI provides Ligue 2 data including match results, player statistics, and historical records across 16 seasons. Access comprehensive Ligue 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 Ligue 2?

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

How many seasons of Ligue 2 data are available?

TheStatsAPI has 16 seasons of Ligue 2 data, going back to the 2010 season, including match results, player stats, and team performance data.

Can I get player stats for Ligue 2?

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

Is live data available for Ligue 2?

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

How do I get a Ligue 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=19. Every plan includes all endpoints and all competitions.

What does Ligue 2 data cost?

Ligue 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 Ligue 2 Data & 1,195 Other Competitions

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