Spain · UEFA

LaLiga2 API

LaLiga2 is a league in Spain, 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
2
Tier

What you can request for LaLiga2

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

Finding the LaLiga2 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 "LaLiga2"

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 LaLiga2, 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 LaLiga2?

No. Every competition is on the same plan: the free tier covers LaLiga2 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 LaLiga2 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 LaLiga2 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.

More from Spain

Start with LaLiga2

One key covers LaLiga2 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.