SofaScore
SofaScore player ranking among all players in a season
Returns where a football player ranks against every other player of the competition season for about 78 statistics (goals, assists, rating, expected goals, passes, duels, distance covered and more): the value, the rank (tied values share a rank), the number of ranked players (count) and the tie-broken order. Statistics are snake_case and sorted alphabetically. The type enum accepts only overall, which is also the default; the other statistics views answer 404. Returns 404 for players without a ranking in that season, which includes basketball players.
get/sofascore/player-statistical-rankings
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/player-statistical-rankings
- Auth: API key in header x-api-key
Query parameters
idstring required
Numeric SofaScore player id
seasonstring required
Numeric SofaScore season id from player-statistics-seasons
type'overall'
Statistics view
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"player_id": 839956,
"rankings": [
{
"count": 421,
"order": 1,
"rank": 1,
"statistic": "goals",
"value": 5
}
],
"type": "overall"
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.