SofaScore season top players
Returns a competition season's top players for every statistic category SofaScore ranks (for football about 30 categories such as rating, goals, assists, expected goals, tackles and saves; for basketball points, rebounds, assists and more), each with the ranked players, their team and the value. The category set depends on the sport and competition, so the response lists every category it holds. The type enum accepts overall, regular_season and playoffs: football competitions publish overall, the NBA publishes regular_season and playoffs, and a type the competition does not publish answers 404. Optional limit caps the rows per category (up to 50). Get id from search and season from tournament-seasons.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/tournament-top-players
- Auth: API key in header x-api-key
Query parameters
Numeric SofaScore unique-tournament (competition) id
Numeric SofaScore season id
Statistics scope. Defaults to overall
Rows per category, 1 to 50. Omit to return every row
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"categories": [
{
"key": "goals",
"players": [
{
"appearances": 5,
"player": {
"country": "Spain",
"id": 855833,
"name": "Ferran Torres",
"position": "F",
"short_name": "F. Torres",
"slug": "ferran-torres"
},
"rank": 1,
"team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
},
"value": 5
}
]
}
],
"sport": "football",
"type": "overall"
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.