POST /get_roi_analysis endpoint calculates the full return on investment (ROI) for signing a player to a specific club. It runs a 3-year simulation that combines three components: the player’s sportive (on-field) impact expressed in monetary terms, a prediction of their future transfer fee based on comparable historical players, and the total cost of signing (transfer fee plus wages). The result includes each component broken down individually, the overall ROI ratio, and the similar historical players used for the future transfer value prediction.
The analysis is always run against the 2025/2026 season. Season is not yet a request parameter. The
club_id must be club inside your coverage. Contact SquadAssist to adjust access.Request
The request body must be a JSON object.The SquadAssist player ID. Use
POST /query_player to look up the ID.The SquadAssist club ID for the signing club. Contact SquadAssist to confirm which club IDs are available on your plan. Use
POST /query_club to look up the ID.The player’s annual wage in the currency specified by
currency_code. If omitted, wage is treated as zero and no wage cost is included in the ROI calculation — the response will note this in the result.The transfer fee you expect to pay, in the currency specified by
currency_code. If omitted, SquadAssist’s model calculates an expected fee automatically based on the player’s profile and the signing club.An ISO 4217 currency code (e.g.
EUR, GBP, USD). All input amounts (annual_wage, expected_transfer_value) are interpreted in this currency. Defaults to EUR.Response
The response is a JSON object containing each component of the ROI analysis. All monetary values are provided in both the requested currency and EUR.The ISO 4217 currency code used for all non-EUR monetary values in the response. Matches your
currency_code input, or EUR if none was provided.The transfer fee used in the calculation, in the requested currency.
The transfer fee used in the calculation, in EUR.
The annual wage used in the calculation, in the requested currency.
null if no wage was provided.The annual wage used in the calculation, in EUR.
null if no wage was provided.The total projected value created by the player over the 3-year simulation period (sportive impact + future transfer value), in the requested currency.
The total projected value created, in EUR.
The ROI ratio:
total_value_created / (transfer_fee + annual_wage * 3). A value above 1.0 means the player is projected to create more value than they cost. null when total cost is zero.The on-field (eLPAR) component of the analysis. See POST /get_sportive_impact for the structure of this object.
The future transfer fee prediction component. See POST /get_future_transfer_value for the structure of this object.
A summary of the player’s current attributes used in the analysis.
Example
Errors
| Status | Body | Cause |
|---|---|---|
400 | {"error": "player_id is required"} | player_id was not included in the request body |
400 | {"error": "club_id is required"} | club_id was not included in the request body |
400 | {"error": "Invalid player_id"} | The player_id format is not valid |
400 | {"error": "Invalid club_id"} | The club_id format is not valid |
400 | {"error": "currency_code must be a string"} | currency_code was provided but is not a string |
400 | {"error": "<message>"} | The currency_code is not a valid ISO 4217 code |
403 | {"error": "Player is not in the allowed leagues"} | The player is not in your current coverage |
403 | {"error": "Requested club is not allowed"} | The club_id is not available on your plan |
404 | {"error": "Club not found"} | No club was found for the provided club_id |
