Besta deild API
Besta deild is a top-flight league in Iceland, and every match in it is served as JSON. It runs through a single calendar year, spring to autumn, so a season is named by one year — 2026, never 2025/2026. The competition is currently at 2026.
What you can request for Besta deild
Every endpoint accepts the same league and match IDs, so a client written for one competition runs against Besta deild without a single change.
- /v1/leagues/{id}/matchesMatches and resultsScore, status, referee and stadium for every fixture in the competition.
- /v1/matches/{id}/shotsShots with xG and xGOTEvery attempt with its strike point and the place it crossed the goal line.
- /v1/matches/{id}/lineupsLineups and formationsStarters, substitutes and the coach, confirmed or predicted.
- /v1/matches/{id}/playersPlayer statsPassing, shooting, duels and defensive actions, per player, per match.
- /v1/matches/{id}/statsTeam statsPossession, shots, xG and the rest of the match totals, both sides.
- /v1/matches/{id}/momentumMomentumA minute-by-minute read of which side was on top, as a signed value.
- /v1/matches/{id}/advancedAdvanced analyticsxT, VAEP, PPDA and pass networks, derived from the event feed.
- /v1/matches/{id}/liveLive snapshotScore, cards and the on-pitch XI while the match is being played.
Finding the Besta deild 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 "Besta deild"Season and coverage
The archive holds 2026, 2025, 2024, 2023, 2022 and 2021. A season is named by the year it starts: 2025 for Besta deild, 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 Besta deild?
No. Every competition is on the same plan: the free tier covers Besta deild 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 Besta deild responses?
It runs through a single calendar year, spring to autumn, so a season is named by one year — 2026, never 2025/2026. The API returns the same string either way, so a client can group by season without guessing the format.
How current is Besta deild 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 Besta deild
One key covers Besta deild 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.