Football · Portugal · 18 clubs
Primeira Liga API for Portugal's top flight
A Primeira Liga API for Portugal's top division, which the data files under its current name, Liga Portugal Betclic, on league id 132903: fixtures, live scores, the table, line-ups, club honours and transfers. Every season from 2007/08 to the one in play is in the archive, along with 2002/03, in the same JSON as every other football league.
- Seasons since 2002/03
- 18 clubs · 306 matches a season
- League id 132903
- Club honours on every plan
Liga Portugal Betclic
GET /v2/leagues/132903
- League id
132903- Category
- Portugal
- Tier
- 1
- Archive
- Seasons since 2002/03
- Teams
- 18 clubs
- Matches
- 306 matches a season
- Division below
- Liga Portugal 2
- Live channel
league:132903
In the data
The Primeira Liga in the API
What league id 132903 holds, and how its seasons are laid out.
One league, two labels
The word Primeira is not in the league's name: the API calls it Liga Portugal Betclic, slug liga-portugal-betclic. The season list follows only part of the way. Seasons from 2023/24 on are named Liga Portugal, as in Liga Portugal 26/27, while every older one keeps the Primeira Liga label, from Primeira Liga 22/23 back. Store id 132903 and the season ids and treat the names as display text. The card adds Portugal at tier 1, Liga Portugal 2 in lowerDivisions and the current season's dates, 7 August 2026 to 28 May 2027.
A season list with a gap
/v2/leagues/132903/seasons returns 2002/03 and then every season from 2007/08 onwards, newest first; 2003/04 to 2006/07 are not in it. A season picker built from that answer is always right, where one that counts back from the current year would offer seasons that are not there. A season is 18 clubs and 306 matches over 34 rounds: /rounds flags the round under way, /fixtures returns one round or a page of recent or upcoming matches, and /standings the table overall, at home or away, with form and zone on each row.
Porto, Benfica and the trophy cabinet
The card names FC Porto as titleHolder, with 31 league titles in titleHolderTitles, and Benfica as record champion on 38 in mostTitles. For a club page, /v2/teams/{id}/trophies lists everything a club has won, each competition typed as domestic league, domestic cup or international cup, with the winning seasons, newest first. /v2/teams/{id}/standings/seasons names each league season in which the club has a table, every pair ready for /standings, and /v2/transfers?league=132903 follows the moves into and out of the league's clubs.
Endpoints
The calls behind Primeira Liga apps
Each takes league id 132903, a season id from its seasons list, or a match or team id from those. Every row opens its page in the docs.
- GET
/LeagueThe league card: Liga Portugal Betclic, Portugal, tier 1, title holder and record champion.All plansv2/ leagues/ {id} - GET
/Seasons2002/03, then every season from 2007/08 on, newest first.All plansv2/ leagues/ {id}/ seasons - GET
/RoundsThe 34 rounds of a season, the current one flagged.All plansv2/ leagues/ {id}/ rounds - GET
/League fixturesOne round's matches, or a page of the season's recent or upcoming ones.All plansv2/ leagues/ {id}/ fixtures - GET
/StandingsThe table overall, home or away, with form and zone on each row.All plansv2/ leagues/ {id}/ standings - GET
/SeasonA season's running totals and the clubs new to the division.All plansv2/ leagues/ {id}/ seasons/ {seasonId} - GET
/TrophiesEvery title a club has won, typed domestic or international, with the winning seasons.All plansv2/ teams/ {id}/ trophies - GET
/Table seasonsEach league season in which a club has a table, ready for the standings call.All plansv2/ teams/ {id}/ standings/ seasons - GET
/Latest transfersMoves into and out of the league's clubs, newest, biggest or most followed first.All plansv2/ transfers
First request
The Primeira Liga in three calls
Every call starts from the league id, 132903. The seasons list gives the season ids, newest first, and the season id is what the tables, leaderboards and statistics ask for.
The answers use the usual { data, meta } envelope and the same field names as every other football competition, so the code works unchanged for the next league you add.
# Every season, newest first, with its season id
curl "https://api.datasportsapi.com/v2/leagues/132903/seasons" \
-H "Authorization: Bearer $DATASPORTSAPI_API_KEY"
# The table for that season
curl "https://api.datasportsapi.com/v2/leagues/132903/standings?season={seasonId}" \
-H "Authorization: Bearer $DATASPORTSAPI_API_KEY"
# The season's rounds, the current one flagged
curl "https://api.datasportsapi.com/v2/leagues/132903/rounds?season={seasonId}" \
-H "Authorization: Bearer $DATASPORTSAPI_API_KEY"{ "data": {
"id": 132903, "name": "Liga Portugal Betclic", "sport": "football",
"category": "Portugal", "tier": 1,
"titleHolder": { "name": "FC Porto", … }, "titleHolderTitles": 31,
"mostTitles": 38, "mostTitlesTeams": [ { "name": "Benfica", … } ],
"lowerDivisions": [ { "name": "Liga Portugal 2", … } ],
"currentSeasonStart": "2026-08-07", "currentSeasonEnd": "2027-05-28",
…
} }History
How much of the Primeira Liga each plan reads
The archive goes back to 2002/03. Each plan reads back a set time from today; nothing live or upcoming is ever held back.
Free
- History
- Last 7 days
- What it covers of the Primeira Liga
- Live and upcoming matches, the table and statistics of a season still being played, and finished matches from the last 7 days.
Starter
- History
- Last 14 days
- What it covers of the Primeira Liga
- Live and upcoming matches, the table and statistics of a season still being played, and finished matches from the last 14 days.
Pro
- History
- Last 30 days
- What it covers of the Primeira Liga
- Live and upcoming matches, the table and statistics of a season still being played, and finished matches from the last 30 days.
Business
- History
- Last 90 days
- What it covers of the Primeira Liga
- Live and upcoming matches, the table and statistics of a season still being played, and finished matches from the last 90 days.
Enterprise
- History
- Full history
- What it covers of the Primeira Liga
- The whole archive: seasons since 2002/03.
Questions
Primeira Liga API, answered
Anything else? The full FAQ covers quota, plans and the data in general.
Why is the Primeira Liga called Liga Portugal Betclic in the API?
Because the API carries the league's current name: name is Liga Portugal Betclic. Its seasons are labelled Liga Portugal from 2023/24 and Primeira Liga before that, so no single name works as a key across the archive. The id, 132903, does: it is issued by us and never changes.
Why does the season list jump from 2002/03 to 2007/08?
The data holds the 2002/03 season and then every season from 2007/08 on; 2003/04 to 2006/07 are not part of it. /v2/leagues/132903/seasons lists exactly what is there, newest first, with startYear and endYear on each entry, so build season menus from that answer rather than from a range of years.
Can I get the Liga Portugal 2 table as well?
Yes. The league card names Liga Portugal 2 in lowerDivisions with its id, 130289, and /v2/leagues/130289/standings serves its table in the same shape. In the other direction, /v2/leagues/132903/seasons/{seasonId} lists the clubs new to a top-flight season in newcomersLowerDivision.
Which Primeira Liga seasons are in the archive?
The archive starts with the 2002/03 season. Which part of it a key opens is set by its plan, counted back from today: 7 days for a Free key, 14 days for a Starter key, 30 days for a Pro key, 90 days for a Business key, and the whole archive on Enterprise. Live and upcoming matches, and the table and statistics of a season still being played, are open on every plan.
Can I follow Primeira Liga matches live on the free plan?
Yes. Live and upcoming matches are never held back by a plan, so a Free key follows every Primeira Liga match in play through /v2/livescores or /v2/fixtures/{id}, with a score, status and clock that are about a second old at most, inside the plan's request quota. On Business and Enterprise, the WebSocket channel league:132903 pushes every change instead.
Keep reading
Other competitions
- Premier League API
- Champions League API
- La Liga API
- Serie A API
- Bundesliga API
- Ligue 1 API
- World Cup API
- Süper Lig API
- MLS API
- Europa League API
- Conference League API
- Eredivisie API
- Brasileirão API
- NBA API
- NFL API
- NHL API
- MLB API
- IPL API
Everything in the football data Sports statistics API Live scores API
Build on the Primeira Liga today.
The Free plan answers 100 requests a day. No card, no sales call.





