Sofascore Scraper

ENDPOINTS
GET/matches/best-players

Best Players

Best-rated player of each team and the full rating leaderboard for the match.

QUERY PARAMS

Sofascore match id or any sofascore.com match URL (the #id: fragment is the id).

Examples:

  • ID: 14023961
  • URL: https://www.sofascore.com/football/match/…#id:14023961
{
  "match_id": 14023961,
  "best_home_team_player": {
    "value": "7.5",
    "label": "rating",
    "player": {
      "id": 954056,
      "name": "Nico González",
      "short_name": "N. González",
      "slug": "nico-gonzalez",
      "first_name": "Nicolas",
      "last_name": "Gonzalez",
      "link": "https://www.sofascore.com/player/nico-gonzalez/954056",
      "image_link": "https://img.sofascore.com/api/v1/player/954056/image",
      "position": "M",
      "jersey_number": 6,
      "height_cm": 186,
      "date_of_birth": "2002-01-03",
      "gender": "M",
      "country": null,
      "market_value": {
        "amount": 43000000,
        "currency": "EUR"
      },
      "followers_count": 25745
    },
    "team": {
      "id": 17,
      "name": "Manchester City",
      "short_name": "Man City",
      "code": "MCI",
      "slug": "manchester-city",
      "link": "https://www.sofascore.com/team/football/manchester-city/17",
      "image_link": "https://img.sofascore.com/api/v1/team/17/image",
      "sport": {
        "id": 1,
        "name": "Football",
        "slug": "football"
      },
      "country": null,
      "gender": "M",
      "is_national": false,
      "colors": {
        "primary": "#66ccff",
        "secondary": "#ffffff",
        "text": "#ffffff"
      },
      "followers_count": 4753278
    }
  },
  "best_away_team_player": {
    "value": "9.2",
    "label": "rating",
    "player": {
      "id": 555386,
      "name": "Ollie Watkins",
      "short_name": "O. Watkins",
      "slug": "ollie-watkins",
      "first_name": "Ollie",
      "last_name": "Watkins",
      "link": "https://www.sofascore.com/player/ollie-watkins/555386",
      "image_link": "https://img.sofascore.com/api/v1/player/555386/image",
      "position": "F",
      "jersey_number": 11,
      "height_cm": 179,
      "date_of_birth": "1995-12-30",
      "gender": "M",
      "country": null,
      "market_value": {
        "amount": 26000000,
        "currency": "EUR"
      },
      "followers_count": 26595
    },
    "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
    }
  },
  "leaderboard": [
    {
      "value": "9.2",
      "label": "rating",
      "player": {
        "id": 555386,
        "name": "Ollie Watkins",
        "short_name": "O. Watkins",
        "slug": "ollie-watkins",
        "first_name": "Ollie",
        "last_name": "Watkins",
        "link": "https://www.sofascore.com/player/ollie-watkins/555386",
        "image_link": "https://img.sofascore.com/api/v1/player/555386/image",
        "position": "F",
        "jersey_number": 11,
        "height_cm": 179,
        "date_of_birth": "1995-12-30",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 26000000,
          "currency": "EUR"
        },
        "followers_count": 26595
      },
      "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
      }
    },
    {
      "value": "7.8",
      "label": "rating",
      "player": {
        "id": 783126,
        "name": "Emiliano Buendía",
        "short_name": "E. Buendía",
        "slug": "emiliano-buendia",
        "first_name": "Emiliano",
        "last_name": "Buendia",
        "link": "https://www.sofascore.com/player/emiliano-buendia/783126",
        "image_link": "https://img.sofascore.com/api/v1/player/783126/image",
        "position": "M",
        "jersey_number": 10,
        "height_cm": 170,
        "date_of_birth": "1996-12-25",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 14600000,
          "currency": "EUR"
        },
        "followers_count": 12410
      },
      "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
      }
    },
    {
      "value": "7.7",
      "label": "rating",
      "player": {
        "id": 331737,
        "name": "Youri Tielemans",
        "short_name": "Y. Tielemans",
        "slug": "youri-tielemans",
        "first_name": "Youri",
        "last_name": "Tielemans",
        "link": "https://www.sofascore.com/player/youri-tielemans/331737",
        "image_link": "https://img.sofascore.com/api/v1/player/331737/image",
        "position": "M",
        "jersey_number": 18,
        "height_cm": 177,
        "date_of_birth": "1997-05-07",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 43000000,
          "currency": "EUR"
        },
        "followers_count": 26570
      },
      "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
      }
    },
    {
      "value": "7.5",
      "label": "rating",
      "player": {
        "id": 954056,
        "name": "Nico González",
        "short_name": "N. González",
        "slug": "nico-gonzalez",
        "first_name": "Nicolas",
        "last_name": "Gonzalez",
        "link": "https://www.sofascore.com/player/nico-gonzalez/954056",
        "image_link": "https://img.sofascore.com/api/v1/player/954056/image",
        "position": "M",
        "jersey_number": 6,
        "height_cm": 186,
        "date_of_birth": "2002-01-03",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 43000000,
          "currency": "EUR"
        },
        "followers_count": 25745
      },
      "team": {
        "id": 17,
        "name": "Manchester City",
        "short_name": "Man City",
        "code": "MCI",
        "slug": "manchester-city",
        "link": "https://www.sofascore.com/team/football/manchester-city/17",
        "image_link": "https://img.sofascore.com/api/v1/team/17/image",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "country": null,
        "gender": "M",
        "is_national": false,
        "colors": {
          "primary": "#66ccff",
          "secondary": "#ffffff",
          "text": "#ffffff"
        },
        "followers_count": 4753278
      }
    },
    {
      "value": "7.4",
      "label": "rating",
      "player": {
        "id": 934354,
        "name": "Antoine Semenyo",
        "short_name": "A. Semenyo",
        "slug": "antoine-semenyo",
        "link": "https://www.sofascore.com/player/antoine-semenyo/934354",
        "image_link": "https://img.sofascore.com/api/v1/player/934354/image",
        "position": "M",
        "jersey_number": 42,
        "height_cm": 185,
        "date_of_birth": "2000-01-07",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 85000000,
          "currency": "EUR"
        },
        "followers_count": 123619
      },
      "team": {
        "id": 17,
        "name": "Manchester City",
        "short_name": "Man City",
        "code": "MCI",
        "slug": "manchester-city",
        "link": "https://www.sofascore.com/team/football/manchester-city/17",
        "image_link": "https://img.sofascore.com/api/v1/team/17/image",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "country": null,
        "gender": "M",
        "is_national": false,
        "colors": {
          "primary": "#66ccff",
          "secondary": "#ffffff",
          "text": "#ffffff"
        },
        "followers_count": 4753278
      }
    },
    {
      "value": "7.3",
      "label": "rating",
      "player": {
        "id": 867887,
        "name": "Douglas Luiz",
        "short_name": "D. Luiz",
        "slug": "douglas-luiz",
        "link": "https://www.sofascore.com/player/douglas-luiz/867887",
        "image_link": "https://img.sofascore.com/api/v1/player/867887/image",
        "position": "M",
        "jersey_number": 12,
        "height_cm": 175,
        "date_of_birth": "1998-05-09",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 19200000,
          "currency": "EUR"
        },
        "followers_count": 13569
      },
      "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
      }
    },
    {
      "value": "7.0",
      "label": "rating",
      "player": {
        "id": 931278,
        "name": "Rayan Aït-Nouri",
        "short_name": "R. Aït-Nouri",
        "slug": "rayan-ait-nouri",
        "first_name": "Rayan",
        "last_name": "Ait Nouri",
        "link": "https://www.sofascore.com/player/rayan-ait-nouri/931278",
        "image_link": "https://img.sofascore.com/api/v1/player/931278/image",
        "position": "D",
        "jersey_number": 21,
        "height_cm": 179,
        "date_of_birth": "2001-06-06",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 39000000,
          "currency": "EUR"
        },
        "followers_count": 58883
      },
      "team": {
        "id": 17,
        "name": "Manchester City",
        "short_name": "Man City",
        "code": "MCI",
        "slug": "manchester-city",
        "link": "https://www.sofascore.com/team/football/manchester-city/17",
        "image_link": "https://img.sofascore.com/api/v1/team/17/image",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "country": null,
        "gender": "M",
        "is_national": false,
        "colors": {
          "primary": "#66ccff",
          "secondary": "#ffffff",
          "text": "#ffffff"
        },
        "followers_count": 4753278
      }
    },
    {
      "value": "6.9",
      "label": "rating",
      "player": {
        "id": 303638,
        "name": "Tyrone Mings",
        "short_name": "T. Mings",
        "slug": "tyrone-mings",
        "first_name": "Tyrone",
        "last_name": "Mings",
        "link": "https://www.sofascore.com/player/tyrone-mings/303638",
        "image_link": "https://img.sofascore.com/api/v1/player/303638/image",
        "position": "D",
        "jersey_number": 5,
        "height_cm": 195,
        "date_of_birth": "1993-03-13",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 3200000,
          "currency": "EUR"
        },
        "followers_count": 2406
      },
      "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
      }
    },
    {
      "value": "6.9",
      "label": "rating",
      "player": {
        "id": 331209,
        "name": "Bernardo Silva",
        "short_name": "B. Silva",
        "slug": "bernardo-silva",
        "first_name": "Bernardo",
        "last_name": "Silva",
        "link": "https://www.sofascore.com/player/bernardo-silva/331209",
        "image_link": "https://img.sofascore.com/api/v1/player/331209/image",
        "position": "M",
        "jersey_number": 20,
        "height_cm": 173,
        "date_of_birth": "1994-08-10",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 21000000,
          "currency": "EUR"
        },
        "followers_count": 117766
      },
      "team": {
        "id": 17,
        "name": "Manchester City",
        "short_name": "Man City",
        "code": "MCI",
        "slug": "manchester-city",
        "link": "https://www.sofascore.com/team/football/manchester-city/17",
        "image_link": "https://img.sofascore.com/api/v1/team/17/image",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "country": null,
        "gender": "M",
        "is_national": false,
        "colors": {
          "primary": "#66ccff",
          "secondary": "#ffffff",
          "text": "#ffffff"
        },
        "followers_count": 4753278
      }
    },
    {
      "value": "6.8",
      "label": "rating",
      "player": {
        "id": 100390,
        "name": "Marco Bizot",
        "short_name": "M. Bizot",
        "slug": "marco-bizot",
        "link": "https://www.sofascore.com/player/marco-bizot/100390",
        "image_link": "https://img.sofascore.com/api/v1/player/100390/image",
        "position": "G",
        "jersey_number": 40,
        "height_cm": 194,
        "date_of_birth": "1991-03-10",
        "gender": "M",
        "country": null,
        "market_value": {
          "amount": 1400000,
          "currency": "EUR"
        },
        "followers_count": 1189
      },
      "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
      }
    }
  ]
}