# SofaScore API

> 2 public methods for SofaScore (sofascore.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by SofaScore.

- Page: https://fous.com/methods/sofascore.com

## Methods

### [Get player season stats](https://fous.com/methods/sofascore.com/get-player-season-stats.md)

`sofascore.com/get_player_season_stats`, read. Gets a football player's season statistics on SofaScore by name, with an optional competition and season (defaults: the player's main league and the current season). Unavailable statistics are null.

Returns: player, team, position, nationality, age, competition, season, appearances, starts, minutes, goals, assists, xG, rating, cards, saves, clean sheets

### [Get football match](https://fous.com/methods/sofascore.com/get-match.md)

`sofascore.com/get_match`, read. Finds a football match between two teams on SofaScore (on a given date, or their latest played or live match) and returns its score, goals, red cards, team statistics and player ratings.

Returns: competition, date, venue, status, teams, score, half-time score, goals, red cards, team stats, player ratings, match link
