SofaScore player attributes and characteristics
Returns a football player's attribute scores (0 to 100) for the current year and up to three earlier years (year_shift 0 to 3), the average scores for the player's position, and the player's characteristics: playing positions plus strengths and weaknesses, each with SofaScore's numeric code, a key and name such as finishing or aerial duels, and a rank. Outfield players carry attacking, technical, tactical, defending and creativity scores; goalkeepers carry saves, anticipation, ball_distribution, aerial and tactical. Combines two SofaScore requests. Returns 404 for players without attribute overviews, which includes non-football players.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/player-attributes
- Auth: API key in header x-api-key
Query parameters
Numeric SofaScore player id
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"characteristics": {
"strengths": [
{
"code": 5,
"key": "finishing",
"name": "Finishing",
"rank": 25
}
],
"weaknesses": [
{
"code": 5,
"key": "finishing",
"name": "Finishing",
"rank": 25
}
]
},
"overviews": [
{
"position": "F"
}
],
"player_id": 839956,
"position_averages": [
{
"position": "F"
}
],
"sport": "football"
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.