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
FC Barcelona 2–0 Real Madrid
May 10, 7:00 PM, Spotify Camp Nou
View match sourceHalf-time: 2–0
Goals
- 9', Marcus Rashford
FC Barcelona
- 18', Ferran Torres
FC Barcelona, Assist: Dani Olmo
Red cards
No red cards recorded.
Team statistics
FC Barcelona
- Possession
- 57%
- Shots
- 10
- Shots on target
- 7
- Expected goals
- 1.01
- Corners
- 4
- Fouls
- 18
- Passes
- 529
- Pass accuracy
- 91.9%
Real Madrid
- Possession
- 43%
- Shots
- 8
- Shots on target
- 1
- Expected goals
- 0.85
- Corners
- 8
- Fouls
- 9
- Passes
- 394
- Pass accuracy
- 86.5%
Player ratings
FC Barcelona
Player Position Minutes Rating Joan García Goalkeeper 90 7.2 Eric García Defender 90 6.9 Pau Cubarsí Defender 90 7.5 Gerard Martín Defender 90 7.3 João Cancelo Defender 90 7 Gavi Midfielder 77 6.6 Pedri Midfielder 90 7.3 Marcus Rashford Midfielder 64 7.5 Dani Olmo Midfielder 64 6.8 Fermín López Midfielder 88 6.6 Ferran Torres Forward 77 7.5 Frenkie de Jong Midfielder 26 7.2 Raphinha Forward 26 6.8 Marc Bernal Midfielder 13 6.7 Robert Lewandowski Forward 13 6.5 Alejandro Balde Defender 2 — Eder Aller Goalkeeper — — Wojciech Szczęsny Goalkeeper — — Jules Koundé Defender — — Xavi Espart Defender — — Ronald Araújo Defender — — Marc Casadó Midfielder — — Roony Bardghji Forward — — Real Madrid
Player Position Minutes Rating Thibaut Courtois Goalkeeper 90 6.9 Trent Alexander-Arnold Defender 90 7 Raúl Asencio Defender 90 6.2 Antonio Rüdiger Defender 90 6.4 Fran García Defender 90 6.3 Eduardo Camavinga Midfielder 70 7.2 Aurélien Tchouaméni Midfielder 90 6.7 Brahim Díaz Midfielder 79 7 Jude Bellingham Midfielder 90 6.5 Vinícius Júnior Midfielder 90 6 Gonzalo García Forward 79 6.5 Thiago Pitarch Midfielder 20 6.7 César Palacios Midfielder 11 6.4 Franco Mastantuono Forward 11 6.4 Sergio Mestre Goalkeeper — — Andriy Lunin Goalkeeper — — Álvaro Carreras Defender — — David Alaba Defender — — David Jiménez Defender — — Dean Huijsen Defender — — Jorge Cestero Midfielder — —
About the SofaScore tool
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 from sofascore.com. Last checked Sep 29, 2026.
Actions
Get match
1 creditGet 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 creditGet 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
Call it from your code with one request. Change the values in input to run it on new data. To get an API key, open Developers at the bottom of Studio, turn on Developer mode and go to API keys.
curl 'https://api.fous.com/v1/query' \
--fail-with-body --silent --show-error --max-time 180 \
-H "Authorization: Bearer YOUR_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 about SofaScore
Can I run it with my own inputs?
Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.
Can I call this SofaScore tool as an API?
Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.
How much does it cost?
Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. 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. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified 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.