Whoscored Player Information Scraper

Input your source url, and get the player information. Simple as that.

There are three types of input formats:

1.Player

Example url: https://www.whoscored.com/Players/11119/Show/Lionel-Messi

This will return the player information for all competitions. Only recommended if you want to get the player information for all competitions.

2.Team

Example url: https://www.whoscored.com/Teams/7/Show/Spain-Real-Madrid

This will return the player information for the team in the url. Only recommended if you want to get the player information for a specific team. Much more efficient than the first option if you don't want to get the player information for all competitions.

3.Competition

Example url: https://www.whoscored.com/Regions/252/Tournaments/2/Spain-La-Liga

This will return the player information for all teams in the competition. This is the most efficient way if you want to get all player information for a specific competition.

Output format

[{
  "Player-11119": {
    "Ligue 1 - Paris Saint-Germain": {
      "height": 170,
      "weight": 72,
      "age": 35,
      "isManOfTheMatch": false,
      "isActive": true,
      "playedPositions": "-AMC-AMR-FW-",
      "playedPositionsShort": "AM(CR),FW",
      "teamRegionName": "France",
      "regionCode": "ar",
      "tournamentShortName": "FL1",
      "apps": 8,
      "subOn": 0,
      "shotSixYardBox": 0,
      "shotPenaltyArea": 3.375,
      "shotOboxTotal": 1.5,
      "name": "Lionel Messi",
      "firstName": "Lionel",
      "lastName": "Messi",
      "playerId": 11119,
      "positionText": "Forward",
      "teamId": 304,
      "teamName": "Paris Saint-Germain",
      "seasonId": 9129,
      "seasonName": "2022/2023",
      "isOpta": true,
      "tournamentId": 22,
      "tournamentRegionId": 74,
      "tournamentRegionCode": "fr",
      "tournamentRegionName": "France",
      "tournamentName": "Ligue 1",
      "rating": 8.947500000000002,
      "minsPlayed": 710,
      "shotsTotal": 4.875,
      "ranking": 1,
      "shotOpenPlay": 3.875,
      "shotCounter": 0.25,
      "shotSetPiece": 0.75,
      "penaltyTaken": 0,
      "shotOnTarget": 2.75,
      "shotOffTarget": 1,
      "shotOnPost": 0.25,
      "shotBlocked": 1.125,
      "shotRightFoot": 0.625,
      "shotLeftFoot": 4.125,
      "shotHead": 0.125,
      "shotObp": 0,
      "goalOpenPlay": 0.375,
      "goalCounter": 0.125,
      "goalSetPiece": 0,
      "penaltyScored": 0,
      "goalNormal": 0.5,
      "goalTotal": 0.5,
      "goalOwn": 0,
      "goalSixYardBox": 0,
      "goalPenaltyArea": 0.5,
      "goalObox": 0,
      "goalRightFoot": 0.125,
      "goalLeftFoot": 0.375,
      "goalHead": 0,
      "goalObp": 0,
      "dribbleLost": 2.75,
      "dribbleTotal": 7.125,
      "dribbleWon": 4.375,
      "duelAerialLost": 0.125,
      "duelAerialTotal": 0.125,
      "duelAerialWon": 0,
      "passTotal": 64.625,
      "passLongBallAccurate": 2.875,
      "passLongBallInaccurate": 0.375,
      "shortPassAccurate": 51.75,
      "shortPassInaccurate": 9.625,
      "passCornerAccurate": 1.375,
      "passCornerInaccurate": 2,
      "passFreekickAccurate": 0.375,
      "passFreekickInaccurate": 0.125,
      "passCrossInaccurate": 2.5,
      "passCrossAccurate": 1.125,
      "keyPassCross": 0.875,
      "keyPassCorner": 0.75,
      "keyPassThroughball": 0.875,
      "keyPassFreekick": 0,
      "keyPassThrowin": 0,
      "keyPassOther": 1.25,
      "keyPassLong": 0.875,
      "keyPassShort": 2.125,
      "keyPassesTotal": 3,
      "assistCross": 0,
      "assistCorner": 0,
      "assistThroughball": 0.375,
      "assistFreekick": 0,
      "assistThrowin": 0,
      "assistOther": 0.5,
      "assist": 0.875,
      "tackleWonTotal": 1,
      "tackleTotalAttempted": 1.5,
      "challengeLost": 0.5,
      "foulGiven": 1.5,
      "foulCommitted": 0,
      "yellowCard": 0,
      "redCard": 0,
      "offsideGiven": 0,
      "clearanceTotal": 0,
      "passCrossBlockedDefensive": 0,
      "outfielderBlockedPass": 0.75,
      "outfielderBlock": 0
    },
    "Champions League - Paris Saint-Germain": {
      "height": 170,
      "weight": 72,
      "age": 35,
      "isManOfTheMatch": false,
      "isActive": true,
      "playedPositions": "-AMC-AMR-FW-",
      "playedPositionsShort": "AM(CR),FW",
      "teamRegionName": "France",
      "regionCode": "ar",
      "tournamentShortName": "UCL",
      "apps": 2,
      "subOn": 0,
      "shotSixYardBox": 0.5,
      "shotPenaltyArea": 2,
      "shotOboxTotal": 2,
      "name": "Lionel Messi",
      "firstName": "Lionel",
      "lastName": "Messi",
      "playerId": 11119,
      "positionText": "Forward",
      "teamId": 304,
      "teamName": "Paris Saint-Germain",
      "seasonId": 9086,
      "seasonName": "2022/2023",
      "isOpta": true,
      "tournamentId": 12,
      "tournamentRegionId": 250,
      "tournamentRegionCode": "ceu",
      "tournamentRegionName": "Europe",
      "tournamentName": "Champions League",
      "rating": 7.95,
      "minsPlayed": 174,
      "shotsTotal": 4.5,
      "ranking": 2,
      "shotOpenPlay": 3,
      "shotCounter": 0,
      "shotSetPiece": 1.5,
      "penaltyTaken": 0,
      "shotOnTarget": 2,
      "shotOffTarget": 1,
      "shotOnPost": 0,
      "shotBlocked": 1.5,
      "shotRightFoot": 0,
      "shotLeftFoot": 4.5,
      "shotHead": 0,
      "shotObp": 0,
      "goalOpenPlay": 0.5,
      "goalCounter": 0,
      "goalSetPiece": 0,
      "penaltyScored": 0,
      "goalNormal": 0.5,
      "goalTotal": 0.5,
      "goalOwn": 0,
      "goalSixYardBox": 0.5,
      "goalPenaltyArea": 0,
      "goalObox": 0,
      "goalRightFoot": 0,
      "goalLeftFoot": 0.5,
      "goalHead": 0,
      "goalObp": 0,
      "dribbleLost": 2.5,
      "dribbleTotal": 3.5,
      "dribbleWon": 1,
      "duelAerialLost": 0,
      "duelAerialTotal": 0,
      "duelAerialWon": 0,
      "passTotal": 62.5,
      "passLongBallAccurate": 0,
      "passLongBallInaccurate": 0.5,
      "shortPassAccurate": 57.5,
      "shortPassInaccurate": 4.5,
      "passCornerAccurate": 0.5,
      "passCornerInaccurate": 2,
      "passFreekickAccurate": 1,
      "passFreekickInaccurate": 0,
      "passCrossInaccurate": 2,
      "passCrossAccurate": 0.5,
      "keyPassCross": 0.5,
      "keyPassCorner": 0.5,
      "keyPassThroughball": 1,
      "keyPassFreekick": 0,
      "keyPassThrowin": 0,
      "keyPassOther": 1,
      "keyPassLong": 0.5,
      "keyPassShort": 2,
      "keyPassesTotal": 2.5,
      "assistCross": 0,
      "assistCorner": 0,
      "assistThroughball": 0.5,
      "assistFreekick": 0,
      "assistThrowin": 0,
      "assistOther": 0,
      "assist": 0.5,
      "tackleWonTotal": 0.5,
      "tackleTotalAttempted": 0.5,
      "challengeLost": 0,
      "foulGiven": 2.5,
      "foulCommitted": 0.5,
      "yellowCard": 0,
      "redCard": 0,
      "offsideGiven": 0,
      "clearanceTotal": 0,
      "passCrossBlockedDefensive": 0,
      "outfielderBlockedPass": 0,
      "outfielderBlock": 0
    }
  }
}]