Query any player's season aggregates or individual match stat lines, with expected goals, ratings, transfer history and national-team records — for football and 30+ other sports on a single API key.
Discover the player, discover which seasons have data, then pull the stat line. Three calls, plain JSON, ready to join into a dataframe.
# 1. Find the player curl "https://api.sportsapipro.com/v2/football/api/search?q=haaland" \ -H "x-api-key: $SPORTS_API_KEY" # 2. Discover which seasons have stats curl "https://api.sportsapipro.com/v2/football/api/players/839956/statistics/seasons" \ -H "x-api-key: $SPORTS_API_KEY" # 3. Pull the season stat line curl "https://api.sportsapipro.com/v2/football/api/players/839956/tournament/17/season/61627/statistics" \ -H "x-api-key: $SPORTS_API_KEY"
Name, position, nationality, height, preferred foot, market value, contract, and attribute overviews.
Per-competition season aggregates plus career totals: goals, assists, xG, xA, shots, key passes, duels, tackles, minutes and ratings.
Individual match stat lines and game-by-game ratings, ideal for form models and player-level time series.
Full transfer history with fees where published, plus international appearances and national-team statistics.
Goals, assists, expected goals and expected assists, shots and shots on target, key passes, pass accuracy, duels won, tackles, interceptions, saves for keepers, minutes played, cards, and per-match ratings — as season aggregates and as individual match lines.
Yes. The same key works across 30+ sports, including basketball, hockey, baseball, tennis and cricket, each with sport-appropriate stat sets. Football has the deepest coverage.
Never hardcode IDs. Use the search endpoint, or read them from match lineups and team squads. Then call the statistics/seasons endpoint to see which seasons actually have data for that player.
Yes, by iterating team squads or the season top-players endpoint. Bulk backfills need quota headroom — the Mega plan or a temporary quota increase from support is the usual route.
Start on the free key, upgrade when your quota needs it.