Parameters
Module API fixed and cannot be changed. Always use
api.Endpoint name. Use
PlayerPenaltyLocation.API version. Use
V2.Unique identifier of the player whose penalty shots are requested.
Language of the returned player information. Supported values:
en, ar.Output format. Supported values:
json, xml, or image.- Player information
- Shot location coordinates
- Foot used for the penalty
- Shot result
- Field and goal dimensions for visualization
- Penalty analysis
- Player shooting tendencies
- Goalkeeper preparation
- Data visualization of penalty placements
Example Request
Image Output
When theresponse parameter is set to image, the API returns a rendered visualization of the player’s penalty shots instead of structured data.
The generated image displays the goal frame and shot locations, allowing a quick visual understanding of the player’s penalty tendencies.
Each penalty is plotted using the coordinates returned by the API.
Visualization Elements
| Element | Description |
|---|---|
| Goal Frame | Represents the official football goal dimensions |
| Green Markers | Each marker represents a penalty shot location |
| X Coordinate | Horizontal placement of the shot inside the goal |
| Y Coordinate | Vertical placement of the shot inside the goal |
Example Visualization

Use Cases
The image output is designed for scenarios where visual representation is preferred over raw data. Typical use cases include:- Scouting reports to quickly identify penalty shooting patterns.
- Goalkeeper preparation by studying typical shot placement.
- Broadcast graphics for television or live match analysis.
- Media articles illustrating a player’s penalty tendencies.
- Dashboards and analytics platforms displaying quick visual summaries.
Notes
- The visualization is generated dynamically from the penalty shot coordinates.
- The goal dimensions follow the official size 7.32m × 2.44m.
- Coordinates are internally mapped to a pixel grid defined in the
dimensionssection of the API response.