Get a player's career table (v1)
Returns the player's statistics for every competition and season. location keeps only home or away matches. Nothing found returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
player_id_or_url*string
Player id, from a lineup, a squad or Search Sports. Or the player's Sofascore link, such as https://www.sofascore.com/football/player/bukayo-saka/934235, or its name (the best Sofascore search match is used).
Length
1 <= length <= 500location?string
Only home or only away matches; omit for all.
Value in
- "home"
- "away"
curl -X GET "https://example.com/v1/sofascore/player/statistics?player_id_or_url=159665" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}