Get a player's penalty record (v1)
Returns penalties a football player took with outcome, goal zone, coordinates and xG, plus scored and attempts. Pass both season fields to narrow to one season. Nothing found returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
id*integer
Player id, from a lineup, a squad or Search Sports.
Range
1 <= value <= 10000000000tournament_id?integer
Tournament id; pass with season_id.
Range
1 <= value <= 10000000000season_id?integer
Season id; pass with tournament_id.
Range
1 <= value <= 10000000000curl -X GET "https://example.com/v1/sofascore/player/penalties?id=159665" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}