Getting started
Introduction
One API for sports data. Players, teams, games, stats and standings across 23 leagues, with IDs that never change.
- sports
- 5
- leagues and cups
- 23
- players
- 57,000
- teams
- 6,100
- games
- 48,000
- venues
- 860
Why Margus
Six reasons to build on it
p34945 is Erling Haaland at every club, in every competition, every season. Store it once.
An NFL quarterback and a Serie A striker come back in the same structure. Write your parser once.
Every stat line belongs to a game, a season and a competition. Build your own totals and splits.
Each row says where it came from and when we fetched it. Corrections are flagged.
We don’t estimate. If we don’t have a number, the field is null.
This site runs on the same database. Every number the API returns is on a public page.
What you get
name, position, number, team and photo.
a line per game, and season totals split by competition.
name, abbreviation, crest and the roster for each season.
schedules and results by league, team or date, with team stats.
league tables by season.
who played where, season by season.
stadiums and arenas, with city and country.
Not yet
What isn’t in the API
Live scores, play-by-play and odds aren’t in the API.