SofaScore player season statistics
Returns a player's statistics for one competition season (appearances, rating, goals, assists, passing, duels, and more) as a snake_case metric map, plus the team and a rating breakdown when available. The type enum accepts overall, home, away, regular_season, and playoffs and defaults to overall; only the types listed for that season by player-statistics-seasons exist (football players have overall, home, away; basketball, ice hockey and baseball players have regular_season and playoffs). Returns 404 when SofaScore has no statistics of that type for the combination.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/player-season-statistics
- Auth: API key in header x-api-key
Query parameters
Numeric SofaScore player id
Numeric SofaScore unique-tournament (competition) id from player-statistics-seasons
Numeric SofaScore season id from player-statistics-seasons
Statistics view
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"player_id": 839956,
"season": 96668,
"team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
},
"tournament_id": 17,
"type": "overall"
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.