Sofascore Scraper

ENDPOINTS
GET/players/ratings

Player Ratings

Per-match ratings across a season with the match card for each.

QUERY PARAMS

Sofascore player id or any sofascore.com player URL.

Examples:

  • ID: 934235 (Bukayo Saka)
  • URL: https://www.sofascore.com/football/player/bukayo-saka/934235

Sofascore tournament id or URL to scope the statistics.

Default: the current main competition

Season id from /tournaments/seasons or /tournaments/details.

Default: the current season

{
  "player_id": 934235,
  "tournament_id": 17,
  "season_id": 96668,
  "count": 3,
  "ratings": [
    {
      "match_id": 16363257,
      "match": {
        "id": 16363257,
        "custom_id": "NR",
        "slug": "arsenal-chelsea",
        "link": "https://www.sofascore.com/football/match/arsenal-chelsea/NR#id:16363257",
        "start_time": "2026-09-06T15:30:00Z",
        "status": {
          "code": 100,
          "type": "finished",
          "description": "Ended"
        },
        "is_live": false,
        "is_finished": true,
        "winner_code": 1,
        "home_team": {
          "id": 42,
          "name": "Arsenal",
          "short_name": "Arsenal",
          "code": "ARS",
          "slug": "arsenal",
          "link": "https://www.sofascore.com/team/football/arsenal/42",
          "image_link": "https://img.sofascore.com/api/v1/team/42/image",
          "sport": {
            "id": 1,
            "name": "Football",
            "slug": "football"
          },
          "country": null,
          "gender": "M",
          "is_national": false,
          "colors": {
            "primary": "#cc0000",
            "secondary": "#ffffff",
            "text": "#ffffff"
          },
          "followers_count": 4194250
        },
        "away_team": {
          "id": 38,
          "name": "Chelsea",
          "short_name": "Chelsea",
          "code": "CHE",
          "slug": "chelsea",
          "link": "https://www.sofascore.com/team/football/chelsea/38",
          "image_link": "https://img.sofascore.com/api/v1/team/38/image",
          "sport": {
            "id": 1,
            "name": "Football",
            "slug": "football"
          },
          "country": null,
          "gender": "M",
          "is_national": false,
          "colors": {
            "primary": "#0310a7",
            "secondary": "#ffffff",
            "text": "#ffffff"
          },
          "followers_count": 3549341
        },
        "home_score": {
          "current": 2,
          "display": 2,
          "periods": {
            "period1": 1,
            "period2": 1,
            "normaltime": 2
          }
        },
        "away_score": {
          "current": 1,
          "display": 1,
          "periods": {
            "period1": 1,
            "period2": 0,
            "normaltime": 1
          }
        },
        "round": {
          "number": 3,
          "name": null,
          "slug": null,
          "cup_round_type": null
        },
        "tournament": {
          "id": 17,
          "name": "Premier League",
          "slug": "premier-league",
          "link": "https://www.sofascore.com/tournament/football/england/premier-league/17",
          "image_link": "https://img.sofascore.com/api/v1/unique-tournament/17/image",
          "dark_image_link": "https://img.sofascore.com/api/v1/unique-tournament/17/image/dark",
          "colors": {
            "primary": "#3c1c5a",
            "secondary": "#f80158"
          },
          "followers_count": 1356594,
          "category": {
            "id": 1,
            "name": "England",
            "slug": "england",
            "link": "https://www.sofascore.com/football/england",
            "sport": {
              "id": 1,
              "name": "Football",
              "slug": "football"
            },
            "country": null,
            "flag_image_link": "https://img.sofascore.com/api/v1/country/EN/flag"
          },
          "group": null,
          "is_live": false
        },
        "season": null,
        "has_xg": true,
        "is_final_result_only": false
      },
      "start_time": "2026-09-06T15:30:00Z",
      "rating": 6.7,
      "opponent": {
        "name": "Chelsea",
        "slug": "chelsea",
        "short_name": "Chelsea",
        "gender": "M",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "followers_count": 3549341,
        "code": "CHE",
        "is_national": false,
        "type": 0,
        "id": 38,
        "colors": {
          "primary": "#0310a7",
          "secondary": "#ffffff",
          "text": "#ffffff"
        }
      },
      "is_home": true
    },
    {
      "match_id": 16363245,
      "match": {
        "id": 16363245,
        "custom_id": "PR",
        "slug": "arsenal-aston-villa",
        "link": "https://www.sofascore.com/football/match/arsenal-aston-villa/PR#id:16363245",
        "start_time": "2026-08-31T19:00:00Z",
        "status": {
          "code": 100,
          "type": "finished",
          "description": "Ended"
        },
        "is_live": false,
        "is_finished": true,
        "winner_code": 2,
        "home_team": {
          "id": 40,
          "name": "Aston Villa",
          "short_name": "Aston Villa",
          "code": "AVL",
          "slug": "aston-villa",
          "link": "https://www.sofascore.com/team/football/aston-villa/40",
          "image_link": "https://img.sofascore.com/api/v1/team/40/image",
          "sport": {
            "id": 1,
            "name": "Football",
            "slug": "football"
          },
          "country": null,
          "gender": "M",
          "is_national": false,
          "colors": {
            "primary": "#670e36",
            "secondary": "#94bee5",
            "text": "#94bee5"
          },
          "followers_count": 1091289
        },
        "away_team": {
          "id": 42,
          "name": "Arsenal",
          "short_name": "Arsenal",
          "code": "ARS",
          "slug": "arsenal",
          "link": "https://www.sofascore.com/team/football/arsenal/42",
          "image_link": "https://img.sofascore.com/api/v1/team/42/image",
          "sport": {
            "id": 1,
            "name": "Football",
            "slug": "football"
          },
          "country": null,
          "gender": "M",
          "is_national": false,
          "colors": {
            "primary": "#cc0000",
            "secondary": "#ffffff",
            "text": "#ffffff"
          },
          "followers_count": 4194250
        },
        "home_score": {
          "current": 0,
          "display": 0,
          "periods": {
            "period1": 0,
            "period2": 0,
            "normaltime": 0
          }
        },
        "away_score": {
          "current": 1,
          "display": 1,
          "periods": {
            "period1": 0,
            "period2": 1,
            "normaltime": 1
          }
        },
        "round": {
          "number": 2,
          "name": null,
          "slug": null,
          "cup_round_type": null
        },
        "tournament": {
          "id": 17,
          "name": "Premier League",
          "slug": "premier-league",
          "link": "https://www.sofascore.com/tournament/football/england/premier-league/17",
          "image_link": "https://img.sofascore.com/api/v1/unique-tournament/17/image",
          "dark_image_link": "https://img.sofascore.com/api/v1/unique-tournament/17/image/dark",
          "colors": {
            "primary": "#3c1c5a",
            "secondary": "#f80158"
          },
          "followers_count": 1356594,
          "category": {
            "id": 1,
            "name": "England",
            "slug": "england",
            "link": "https://www.sofascore.com/football/england",
            "sport": {
              "id": 1,
              "name": "Football",
              "slug": "football"
            },
            "country": null,
            "flag_image_link": "https://img.sofascore.com/api/v1/country/EN/flag"
          },
          "group": null,
          "is_live": false
        },
        "season": null,
        "has_xg": true,
        "is_final_result_only": false
      },
      "start_time": "2026-08-31T19:00:00Z",
      "rating": 7.8,
      "opponent": {
        "name": "Aston Villa",
        "slug": "aston-villa",
        "short_name": "Aston Villa",
        "gender": "M",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "followers_count": 1091289,
        "code": "AVL",
        "is_national": false,
        "type": 0,
        "id": 40,
        "colors": {
          "primary": "#670e36",
          "secondary": "#94bee5",
          "text": "#94bee5"
        }
      },
      "is_home": false
    },
    {
      "match_id": 16363633,
      "match": {
        "id": 16363633,
        "custom_id": "lsR",
        "slug": "arsenal-coventry-city",
        "link": "https://www.sofascore.com/football/match/arsenal-coventry-city/lsR#id:16363633",
        "start_time": "2026-08-21T19:00:00Z",
        "status": {
          "code": 100,
          "type": "finished",
          "description": "Ended"
        },
        "is_live": false,
        "is_finished": true,
        "winner_code": 1,
        "home_team": {
          "id": 42,
          "name": "Arsenal",
          "short_name": "Arsenal",
          "code": "ARS",
          "slug": "arsenal",
          "link": "https://www.sofascore.com/team/football/arsenal/42",
          "image_link": "https://img.sofascore.com/api/v1/team/42/image",
          "sport": {
            "id": 1,
            "name": "Football",
            "slug": "football"
          },
          "country": null,
          "gender": "M",
          "is_national": false,
          "colors": {
            "primary": "#cc0000",
            "secondary": "#ffffff",
            "text": "#ffffff"
          },
          "followers_count": 4194250
        },
        "away_team": {
          "id": 11,
          "name": "Coventry City",
          "short_name": "Coventry",
          "code": "COC",
          "slug": "coventry-city",
          "link": "https://www.sofascore.com/team/football/coventry-city/11",
          "image_link": "https://img.sofascore.com/api/v1/team/11/image",
          "sport": {
            "id": 1,
            "name": "Football",
            "slug": "football"
          },
          "country": null,
          "gender": "M",
          "is_national": false,
          "colors": {
            "primary": "#0099cc",
            "secondary": "#999999",
            "text": "#999999"
          },
          "followers_count": 115665
        },
        "home_score": {
          "current": 3,
          "display": 3,
          "periods": {
            "period1": 2,
            "period2": 1,
            "normaltime": 3
          }
        },
        "away_score": {
          "current": 0,
          "display": 0,
          "periods": {
            "period1": 0,
            "period2": 0,
            "normaltime": 0
          }
        },
        "round": {
          "number": 1,
          "name": null,
          "slug": null,
          "cup_round_type": null
        },
        "tournament": {
          "id": 17,
          "name": "Premier League",
          "slug": "premier-league",
          "link": "https://www.sofascore.com/tournament/football/england/premier-league/17",
          "image_link": "https://img.sofascore.com/api/v1/unique-tournament/17/image",
          "dark_image_link": "https://img.sofascore.com/api/v1/unique-tournament/17/image/dark",
          "colors": {
            "primary": "#3c1c5a",
            "secondary": "#f80158"
          },
          "followers_count": 1356594,
          "category": {
            "id": 1,
            "name": "England",
            "slug": "england",
            "link": "https://www.sofascore.com/football/england",
            "sport": {
              "id": 1,
              "name": "Football",
              "slug": "football"
            },
            "country": null,
            "flag_image_link": "https://img.sofascore.com/api/v1/country/EN/flag"
          },
          "group": null,
          "is_live": false
        },
        "season": null,
        "has_xg": true,
        "is_final_result_only": false
      },
      "start_time": "2026-08-21T19:00:00Z",
      "rating": 7.9,
      "opponent": {
        "name": "Coventry City",
        "slug": "coventry-city",
        "short_name": "Coventry",
        "gender": "M",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "followers_count": 115665,
        "code": "COC",
        "is_national": false,
        "type": 0,
        "id": 11,
        "colors": {
          "primary": "#0099cc",
          "secondary": "#999999",
          "text": "#999999"
        }
      },
      "is_home": true
    }
  ]
}