Prerequisites
Before you start, make sure you have:- A SquadAssist account with an API key
- A SquadAssist player ID, Transfermarkt player ID, or Wyscout player ID for the player you want to evaluate
- The SquadAssist club ID for the club perspective you want to use in the ROI analysis
curlavailable in your terminal (all examples below use curl)
Player IDs and club IDs are drawn from the SquadAssist database. Use
POST /query_player and POST /query_club to resolve external IDs (Transfermarkt, Wyscout) to SquadAssist IDs before calling valuation endpoints.Step-by-step
Look up a player
Use The response gives you the player’s SquadAssist ID and profile fields:Note the
POST /query_player to resolve a player’s external IDs and confirm they exist in the SquadAssist database. You can supply any combination of squadassist_id, transfermarkt_id, or wyscout_id.At least one is required to use this guide, otherwise it is recommended to start from the POST /get_clubs_in_competition to retrieve all clubs in a competition and then all the players from each of these clubs. squadassist_id from this response—you will need it for valuation calls.Get the ROI analysis
POST /get_roi_analysis calculates a full three-component valuation (on-field value, marketing value, and projected transfer fee) for a player at a specific club. The player_id and club_id fields are required; wage and expected transfer value are optional inputs that affect the financial return calculation.| Field | Required | Description |
|---|---|---|
player_id | Yes | SquadAssist player ID |
club_id | Yes | SquadAssist club ID for the valuation context |
annual_wage | No | Player’s annual gross wage, in currency_code |
expected_transfer_value | No | Your estimated acquisition cost, in currency_code |
currency_code | No | ISO 4217 code for input amounts (defaults to EUR) |
currency_code.What’s next
POST /get_future_transfer_value— project the resale value of a player at end of contractGET /expected_transfer_value— get the current expected transfer fee for a playerGET /player_info— retrieve detailed position, role, and club affiliation data for a player
