Mexico · CONCACAF

Liga MX API

Liga MX is a top-flight league in Mexico, and every match in it is served as JSON. It runs from August to May, so a season is named by both years it spans — 2025/2026, never 2025. The competition is currently at 2026/2027.

6
Seasons
39
Endpoints
2026/2027
Current
1
Tier

What you can request for Liga MX

Every endpoint accepts the same league and match IDs, so a client written for one competition runs against Liga MX without a single change.

Finding the Liga MX league ID

IDs are opaque and stable — never a name, never an upstream identifier you could guess. Fetch the catalogue once and keep the value; it does not change between seasons.

curl "https://api.pitchapi.dev/v1/leagues" \
  -H "X-API-KEY: $PITCH_KEY"

# then match on the name, which is exactly "Liga MX"

Season and coverage

The archive holds 2026/2027, 2025/2026, 2024/2025, 2023/2024, 2022/2023 and 2021/2022. A season is named by the year it starts: 2025/2026 for Liga MX, which is what the API returns in a match's league object and what a season filter accepts.

Coverage is the whole competition, not a highlight package: every fixture, every shot, every lineup. Matches added to the archive after a season has finished are backfilled with the same fields, so a historical query and a query from last weekend return the same shape.

Questions

Do I need a separate plan for Liga MX?

No. Every competition is on the same plan: the free tier covers Liga MX and the other 76 competitions with 15,000 requests a day, for the current season and the one before it. Older seasons are in the archive on Pro.

How is the season written in Liga MX responses?

It runs from August to May, so a season is named by both years it spans — 2025/2026, never 2025. The API returns the same string either way, so a client can group by season without guessing the format.

How current is Liga MX data?

Finished matches are picked up automatically within a few hours of the final whistle, and /v1/matches/{id}/live serves a snapshot during the match itself.

Start with Liga MX

One key covers Liga MX and every other competition on this site: 15,000 requests a day, no card, for the current season and the one before it. The reference documents all 39 endpoints.