SofaScore
Football match scores and football player stats
SofaScore provides live sports scores and match statistics, plus football match details for the most recent played or live match and player season statistics.
Your information
First football team, for example Barcelona.
Second football team, for example Real Madrid.
More options
Match date in YYYY-MM-DD, for example 2025-10-26. Omit for the latest played or live match.
Example results
- Venue
- Spotify Camp Nou
- Status
- Ended
- Event ID
- 14083562
- Away Team
- Real Madrid
- Date Time
- 2026-05-10T19:00:00+00:00
- Home Team
- FC Barcelona
- Match Link
- sofascore.com
- Competition
- LaLiga
- Goals
Goals Team Assist Minute Scorer FC Barcelona—9Marcus RashfordFC BarcelonaDani Olmo18Ferran Torres- Score
- Away
- 0
- Home
- 2
- Players
Players Name Team Rating Position Player ID Minutes Played Joan GarcíaFC Barcelona7.2Goalkeeper93026790Eric GarcíaFC Barcelona6.9Defender87621490Pau CubarsíFC Barcelona7.5Defender140291390Gerard MartínFC Barcelona7.3Defender109482790João CanceloFC Barcelona7Defender13889290GaviFC Barcelona6.6Midfielder110369377PedriFC Barcelona7.3Midfielder99258790Marcus RashfordFC Barcelona7.5Midfielder81459064Dani OlmoFC Barcelona6.8Midfielder78907164Fermín LópezFC Barcelona6.6Midfielder115327088Ferran TorresFC Barcelona7.5Forward85583377Frenkie de JongFC Barcelona7.2Midfielder79522226RaphinhaFC Barcelona6.8Forward83100526Marc BernalFC Barcelona6.7Midfielder152661813Robert LewandowskiFC Barcelona6.5Forward4178913Alejandro BaldeFC Barcelona—Defender9970352Eder AllerFC Barcelona—Goalkeeper1929977—Wojciech SzczęsnyFC Barcelona—Goalkeeper50490—Jules KoundéFC Barcelona—Defender827212—Xavi EspartFC Barcelona—Defender1546073—Ronald AraújoFC Barcelona—Defender925097—Marc CasadóFC Barcelona—Midfielder1000483—Roony BardghjiFC Barcelona—Forward1162107—Thibaut CourtoisReal Madrid6.9Goalkeeper7098890Trent Alexander-ArnoldReal Madrid7Defender79506490Raúl AsencioReal Madrid6.2Defender115664590Antonio RüdigerReal Madrid6.4Defender14262290Fran GarcíaReal Madrid6.3Defender85127190Eduardo CamavingaReal Madrid7.2Midfielder97388770Aurélien TchouaméniReal Madrid6.7Midfielder85902590Brahim DíazReal Madrid7Midfielder83548579Jude BellinghamReal Madrid6.5Midfielder99101190Vinícius JúniorReal Madrid6Midfielder86881290Gonzalo GarcíaReal Madrid6.5Forward140271679Thiago PitarchReal Madrid6.7Midfielder223779520César PalaciosReal Madrid6.4Midfielder140268811Franco MastantuonoReal Madrid6.4Forward140355911Sergio MestreReal Madrid—Goalkeeper1403015—Andriy LuninReal Madrid—Goalkeeper857574—Álvaro CarrerasReal Madrid—Defender1085081—David AlabaReal Madrid—Defender66492—David JiménezReal Madrid—Defender1142689—Dean HuijsenReal Madrid—Defender1176744—Jorge CesteroReal Madrid—Midfielder1590121—- Red Cards
- None
- Away Stats
- Team
- Real Madrid
- Fouls
- 9
- Passes
- 394
- Corners
- 8
- Total Shots
- 8
- Expected Goals
- 0.85
- Shots On Target
- 1
- Possession (%)
- 43
- Pass Accuracy (%)
- 86.5
- Home Stats
- Team
- FC Barcelona
- Fouls
- 18
- Passes
- 529
- Corners
- 4
- Total Shots
- 10
- Expected Goals
- 1.01
- Shots On Target
- 7
- Possession (%)
- 57
- Pass Accuracy (%)
- 91.9
- Half Time Score
- Away
- 0
- Home
- 2
About SofaScore
SofaScore returns football match scores, incidents, team statistics, and player ratings from two team names and an optional date.
Get player season stats returns a football player’s season statistics from a player name and optional competition and season.
Built by Fous from sofascore.com and checked automatically; it last passed a check on Sep 29, 2026. Fous is not affiliated with SofaScore.
Actions
Get match
1 credit per runGet a football match’s score, incidents, team statistics and player ratings from two team names. Without a date, returns their most recent played or live match; some matches do not have all statistics or ratings.
What you provide
| Field | Type | Required | Description |
|---|---|---|---|
Datedate | Date | Optional | Match date in YYYY-MM-DD, for example 2025-10-26. Omit for the latest played or live match.Example: 2025-10-26 |
Team 1team_1 | Text | Required | First football team, for example Barcelona.Example: Barcelona |
Team 2team_2 | Text | Required | Second football team, for example Real Madrid.Example: Real Madrid |
What you get
| Field | Type | Description |
|---|---|---|
Goalsgoals | List | |
Teamgoals[].team | Text | Example: FC Barcelona |
Assistgoals[].assist | Text | Example: Dani Olmo |
Minutegoals[].minute | Text | Example: 9 |
Scorergoals[].scorer | Text | Example: Marcus Rashford |
Scorescore | Details | |
Awayscore.away | Number | Example: 0 |
Homescore.home | Number | Example: 2 |
Venuevenue | Text | Example: Spotify Camp Nou |
Statusstatus | Text | Example: Ended |
Playersplayers | List | |
Nameplayers[].name | Text | Example: Joan García |
Teamplayers[].team | Text | Example: FC Barcelona |
Ratingplayers[].rating | Number | Example: 7.2 |
Positionplayers[].position | Text | Example: Goalkeeper |
Player IDplayers[].player_id | Number | Example: 930267 |
Minutes Playedplayers[].minutes_played | Number | Example: 90 |
Event IDevent_id | Number | Example: 14083562 |
Away Teamaway_team | Text | Example: Real Madrid |
Date Timedate_time | Date | Example: 2026-05-10T19:00:00+00:00 |
Home Teamhome_team | Text | Example: FC Barcelona |
Red Cardsred_cards | List | |
Teamred_cards[].team | Text | Example: Real Madrid |
Minutered_cards[].minute | Text | Example: -5 |
Playerred_cards[].player | Text | Example: Andriy Lunin |
Reasonred_cards[].reason | Text | Example: Red card |
Away Statsaway_stats | Details | |
Teamaway_stats.team | Text | Example: Real Madrid |
Foulsaway_stats.fouls | Number | Example: 9 |
Passesaway_stats.passes | Number | Example: 394 |
Cornersaway_stats.corners | Number | Example: 8 |
Total Shotsaway_stats.total_shots | Number | Example: 8 |
Expected Goalsaway_stats.expected_goals | Number | Example: 0.85 |
Shots On Targetaway_stats.shots_on_target | Number | Example: 1 |
Possession (%)away_stats.possession_percent | Number | Example: 43 |
Pass Accuracy (%)away_stats.pass_accuracy_percent | Number | Example: 86.5 |
Home Statshome_stats | Details | |
Teamhome_stats.team | Text | Example: FC Barcelona |
Foulshome_stats.fouls | Number | Example: 18 |
Passeshome_stats.passes | Number | Example: 529 |
Cornershome_stats.corners | Number | Example: 4 |
Total Shotshome_stats.total_shots | Number | Example: 10 |
Expected Goalshome_stats.expected_goals | Number | Example: 1.01 |
Shots On Targethome_stats.shots_on_target | Number | Example: 7 |
Possession (%)home_stats.possession_percent | Number | Example: 57 |
Pass Accuracy (%)home_stats.pass_accuracy_percent | Number | Example: 91.9 |
Match Linkmatch_link | Text | Example: https://www.sofascore.com/football/match/real-madrid-barcelona/rgbsEgb#id:14083… |
Competitioncompetition | Text | Example: LaLiga |
Half Time Scorehalf_time_score | Details | |
Awayhalf_time_score.away | Number | Example: 0 |
Homehalf_time_score.home | Number | Example: 2 |
Example result
For Team 1: Barcelona, Team 2: Real Madrid
{
"goals": [
{
"team": "FC Barcelona",
"assist": null,
"minute": "9",
"scorer": "Marcus Rashford"
},
{
"team": "FC Barcelona",
"assist": "Dani Olmo",
"minute": "18",
"scorer": "Ferran Torres"
}
],
"score": {
"away": 0,
"home": 2
},
"venue": "Spotify Camp Nou",
"status": "Ended",
"players": [
{
"name": "Joan García",
"team": "FC Barcelona",
"rating": 7.2,
"position": "Goalkeeper",
"player_id": 930267,
"minutes_played": 90
},
{
"name": "Eric García",
"team": "FC Barcelona",
"rating": 6.9,
"position": "Defender",
"player_id": 876214,
"minutes_played": 90
},
{
"name": "Pau Cubarsí",
"team": "FC Barcelona",
"rating": 7.5,
"position": "Defender",
"player_id": 1402913,
"minutes_played": 90
}
],
"event_id": 14083562,
"away_team": "Real Madrid",
"date_time": "2026-05-10T19:00:00+00:00",
"home_team": "FC Barcelona",
"red_cards": [],
"away_stats": {
"team": "Real Madrid",
"fouls": 9,
"passes": 394,
"corners": 8,
"total_shots": 8,
"expected_goals": 0.85,
"shots_on_target": 1,
"possession_percent": 43,
"pass_accuracy_percent": 86.5
},
"home_stats": {
"team": "FC Barcelona",
"fouls": 18,
"passes": 529,
"corners": 4,
"total_shots": 10,
"expected_goals": 1.01,
"shots_on_target": 7,
"possession_percent": 57,
"pass_accuracy_percent": 91.9
},
"match_link": "https://www.sofascore.com/football/match/real-madrid-barcelona/rgbsEgb#id:14083562",
"competition": "LaLiga",
"half_time_score": {
"away": 0,
"home": 2
}
}Get player season stats
1 credit per runGet a football player’s season statistics by name, with an optional competition and season. Unavailable statistics are null.
What you provide
| Field | Type | Required | Description |
|---|---|---|---|
Playerplayer | Text | Required | Football player name, for example Erling Haaland.Example: Alisson |
Seasonseason | Text | Optional | Season, for example 2025/26. Defaults to the current season.Example: 2025/26 |
Competitioncompetition | Text | Optional | Competition name, for example Premier League. Defaults to the player’s main league.Example: Premier League |
What you get
| Field | Type | Description |
|---|---|---|
Ageage | Number | Age in years.Example: 33 |
Teamteam | Text | Team for this competition and season.Example: Liverpool FC |
Goalsgoals | Number | Goals.Example: 0 |
Savessaves | Number | Saves for goalkeepers.Example: 14 |
Playerplayer | Text | Player name.Example: Alisson |
Seasonseason | Text | Season used.Example: 2026/27 |
Startsstarts | Number | Matches started.Example: 5 |
Assistsassists | Number | Assists.Example: 0 |
Positionposition | Text | Playing position.Example: Goalkeeper |
Player IDplayer_id | Number | SofaScore player ID.Example: 243609 |
Red Cardsred_cards | Number | Red cards.Example: 0 |
Appearancesappearances | Number | Appearances in the season.Example: 5 |
Competitioncompetition | Text | Competition used.Example: Premier League |
Nationalitynationality | Text | Country of nationality.Example: Brazil |
Clean Sheetsclean_sheets | Number | Clean sheets for goalkeepers.Example: 3 |
Yellow Cardsyellow_cards | Number | Yellow cards.Example: 1 |
Expected Goalsexpected_goals | Number | Expected goals.Example: 25.4326 |
Minutes Playedminutes_played | Number | Minutes played.Example: 450 |
Sofascore Linksofascore_link | Text | Player page link on SofaScore.Example: https://www.sofascore.com/football/player/alisson/243609 |
Photo Image Linkphoto_image_link | Text | Player photo image link.Example: https://img.sofascore.com/api/v1/player/243609/image |
Average Sofascore Ratingaverage_sofascore_rating | Number | Average SofaScore rating from 0 to 10.Example: 7.36 |
Example result
For Player: Alisson
{
"age": 33,
"team": "Liverpool FC",
"goals": 0,
"saves": 14,
"player": "Alisson",
"season": "2026/27",
"starts": 5,
"assists": 0,
"position": "Goalkeeper",
"player_id": 243609,
"red_cards": 0,
"appearances": 5,
"competition": "Premier League",
"nationality": "Brazil",
"clean_sheets": 3,
"yellow_cards": 1,
"expected_goals": null,
"minutes_played": 450,
"sofascore_link": "https://www.sofascore.com/football/player/alisson/243609",
"photo_image_link": "https://img.sofascore.com/api/v1/player/243609/image",
"average_sofascore_rating": 7.36
}For developers
Run this workflow from your own code. In Studio, turn on Developer mode and create an API key.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"
curl 'https://api.fous.com/v1/query' \
--fail-with-body --silent --show-error --max-time 120 \
-H "Authorization: Bearer $FOUS_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"api": "@sofascore",
"visibility": "public",
"operation": "get_match",
"version": 1,
"input": {
"team_1": "Barcelona",
"team_2": "Real Madrid"
},
"response": {
"format": "json"
}
}'What you can do with it
- Track scores and incidents for recent or dated football matches
- Compare player ratings and minutes played across a match
- Review player goals, assists, and appearances by season
- Analyze expected goals and goalkeeper saves for a competition
- Monitor cards and clean sheets across a player’s season
Questions
Is Fous affiliated with SofaScore?
No. Fous is not affiliated with SofaScore. This workflow reads the public sofascore.com website and returns its data.
How much does it cost?
Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.
Do I need a SofaScore account?
No. You only need a Fous account.
How current is the data?
Fous gets the data from sofascore.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.
What was the score between two football teams?
Get match returns the score for two named teams, using the most recent played or live match unless you provide a date.
Who scored and assisted in a match?
Get match returns goal scorers, assists, teams, and minutes when that incident data is available.
How many goals did a player score this season?
Get player season stats returns goals and other season statistics for a named player, with optional competition and season.