Overview
The MatchLocationAttempts endpoint returns the distribution of shot attempts on the pitch using a grid-based system. The pitch is divided into spatial grid cells, and each cell records the number of attempts that occurred within that area. This endpoint is useful for:- Shot distribution analysis
- Tactical attack patterns
- Broadcast visualizations
- Performance analytics dashboards
- Data → number of attempts recorded in each grid cell
- GridCenter → coordinates of the center of each grid cell
Parameters
Module API fixed and cannot be changed. Always use
api.Endpoint name. Use
MatchLocationAttempts.API version. Use
V2.Unique identifier of the match.
Unique identifier of the team whose attempts are being analyzed.
Defines the grid resolution used to divide the pitch.
Type of attempts to retrieve. Example:
all.Output format (
json or xml).API authentication key.
Example Request
Grid Data
The Data object contains the number of attempts recorded in each grid cell.| Field | Description |
|---|---|
| A1, B1, C1 … | Grid cell identifier |
| Value | Number of attempts recorded in that grid cell |
Example
Grid Center Coordinates
The GridCenter object provides the center coordinates of each grid cell, allowing the grid to be plotted on a pitch.| Field | Description |
|---|---|
| x | Horizontal position on the pitch |
| y | Vertical position on the pitch |
Visualization Example
The grid-based shot distribution can be visualized as shown below.
Notes
- The pitch is divided into grid cells to aggregate shot locations.
- Each grid cell records the number of attempts inside that spatial region.
- The GridCenter coordinates allow precise visualization of the grid.
- This endpoint is commonly used for shot maps and attacking pattern analysis.