Players
Player attributes
GET/v2/players/{id}/attributesPro + Business
A football player’s attribute ratings from the source’s scouting model (0–100): attacking, technical, tactical, defending and creativity — for goalkeepers saves, anticipation, ball distribution, aerial and tactical — now and in the years before, the average of players in his position, his strengths and weaknesses, and the detailed positions he plays.
The keys of the other kind are null (a goalkeeper has no attacking rating). history runs current first (yearsAgo 0, 1, 2, …). strengths / weaknesses are a closed set (PlayerCharacteristic) and may be empty.
Parameters
id
our numeric id (positive integer)
Response
- data
PlayerAttributes- errors
- 404 no_data — the source does not rate this player (other sports, many lower leagues); 404 not_found — an id we never issued
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/players/{id}/attributes"
Example
{ "data": { "current": { "yearsAgo": 0, "position": "forward", "attacking": 76, "technical": 67, "tactical": 59, "defending": 46, "creativity": 76, "saves": null, "anticipation": null, "ballDistribution": null, "aerial": null }, "history": [ { "yearsAgo": 0, … }, { "yearsAgo": 1, "attacking": 81, … }, … ], "positionAverage": { "yearsAgo": 0, "position": "forward", "attacking": 61, "technical": 54, "tactical": 43, "defending": 32, "creativity": 45, … }, "strengths": ["penaltyTaking", "positioning", "highPressing"], "weaknesses": [], "positions": ["rightWinger"] }, "meta": {} }