Players Heatmaps
This endpoint allows you to retrieve the heatmaps from players. With the help of x, y and value fields you can see the players movement in the field.
For the type argument you can search by: regularSeason, playoffs, overall and top16, but overall is most common type for this endpoint.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every minute.
Recommended Calls: Limit calls to 1 per minute.
Use Cases
Get heatmaps coordinates from a specific player_id, league_id, season_id and typehttps://football.sportdevs.com/players-heatmaps?player_id=eq.{player_id}&league_id=eq.{league_id}&season_id=eq.{season_id}&type=eq.{type}
Query Parameters
- player_id integer
Default value:
eq.68421
The id of the player
- league_id integer
Default value:
eq.473
The id of the league
- season_id integer
Default value:
eq.4389
The id of the season
- type text
Default value:
eq.overall
The type of the heatmaps
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of the player's heatmaps
Note: This is a Primary Key.
- player_id integer
The id of the player
Note: This is a Foreign Key to
players.id
. - league_id integer
The id of the league
Note: This is a Foreign Key to
leagues.id
. - league_name text
The name of the league
- league_hash_image character varying
Possible values:
<= 64 characters
The name image of the league
- season_id integer
The id of the season
Note: This is a Foreign Key to
seasons.id
. - season_name text
The name of the season
- type text
The type of the heatmaps
- matches integer
The number of the matches
- points jsonb
The points of the heatmaps
[
{
"id": 1,
"player_id": 68421,
"league_id": 473,
"league_name": "Mozzart Bet Superliga",
"league_hash_image": "f626f83e4f88e2c6321ac6d0b6d217f6210a4a9dbd553e13e4b52a6632d31798",
"season_id": 4389,
"season_name": "Superliga 23/24",
"type": "overall",
"matches": 10,
"points": [
{
"x": 8,
"y": 23,
"count": 1
},
{
"x": 11,
"y": 72,
"count": 1
},
{
"x": 19,
"y": 88,
"count": 1
},
{
"x": 21,
"y": 66,
"count": 2
},
{
"x": 26,
"y": 43,
"count": 1
},
{
"x": 26,
"y": 81,
"count": 2
},
{
"x": 28,
"y": 49,
"count": 1
},
{
"x": 28,
"y": 94,
"count": 1
},
{
"x": 29,
"y": 79,
"count": 1
},
{
"x": 30,
"y": 34,
"count": 1
},
{
"x": 30,
"y": 93,
"count": 1
},
{
"x": 31,
"y": 92,
"count": 1
},
{
"x": 33,
"y": 92,
"count": 1
},
{
"x": 34,
"y": 32,
"count": 1
},
{
"x": 34,
"y": 81,
"count": 1
},
{
"x": 35,
"y": 75,
"count": 1
},
{
"x": 37,
"y": 76,
"count": 1
},
{
"x": 38,
"y": 89,
"count": 1
},
{
"x": 38,
"y": 94,
"count": 1
},
{
"x": 39,
"y": 78,
"count": 1
},
{
"x": 39,
"y": 80,
"count": 1
},
{
"x": 41,
"y": 70,
"count": 1
},
{
"x": 41,
"y": 75,
"count": 1
},
{
"x": 41,
"y": 89,
"count": 2
},
{
"x": 42,
"y": 88,
"count": 1
},
{
"x": 43,
"y": 54,
"count": 1
},
{
"x": 44,
"y": 25,
"count": 1
},
{
"x": 44,
"y": 69,
"count": 1
},
{
"x": 44,
"y": 78,
"count": 1
},
{
"x": 44,
"y": 80,
"count": 1
},
{
"x": 45,
"y": 15,
"count": 1
},
{
"x": 45,
"y": 30,
"count": 1
},
{
"x": 45,
"y": 74,
"count": 1
},
{
"x": 45,
"y": 85,
"count": 1
},
{
"x": 46,
"y": 92,
"count": 1
},
{
"x": 48,
"y": 90,
"count": 1
},
{
"x": 49,
"y": 2,
"count": 1
},
{
"x": 49,
"y": 50,
"count": 1
},
{
"x": 49,
"y": 93,
"count": 1
},
{
"x": 50,
"y": 49,
"count": 3
},
{
"x": 50,
"y": 50,
"count": 1
},
{
"x": 51,
"y": 13,
"count": 1
},
{
"x": 51,
"y": 83,
"count": 1
},
{
"x": 52,
"y": 91,
"count": 1
},
{
"x": 53,
"y": 5,
"count": 1
},
{
"x": 53,
"y": 19,
"count": 1
},
{
"x": 53,
"y": 77,
"count": 1
},
{
"x": 53,
"y": 96,
"count": 1
},
{
"x": 54,
"y": 75,
"count": 1
},
{
"x": 54,
"y": 85,
"count": 1
},
{
"x": 54,
"y": 87,
"count": 1
},
{
"x": 55,
"y": 74,
"count": 1
},
{
"x": 55,
"y": 86,
"count": 1
},
{
"x": 56,
"y": 32,
"count": 1
},
{
"x": 56,
"y": 33,
"count": 1
},
{
"x": 56,
"y": 66,
"count": 1
},
{
"x": 56,
"y": 92,
"count": 1
},
{
"x": 56,
"y": 93,
"count": 1
},
{
"x": 57,
"y": 28,
"count": 1
},
{
"x": 57,
"y": 30,
"count": 1
},
{
"x": 57,
"y": 31,
"count": 1
},
{
"x": 57,
"y": 70,
"count": 1
},
{
"x": 57,
"y": 81,
"count": 1
},
{
"x": 57,
"y": 84,
"count": 2
},
{
"x": 57,
"y": 92,
"count": 1
},
{
"x": 58,
"y": 85,
"count": 1
},
{
"x": 60,
"y": 4,
"count": 1
},
{
"x": 60,
"y": 28,
"count": 1
},
{
"x": 60,
"y": 34,
"count": 1
},
{
"x": 60,
"y": 61,
"count": 1
},
{
"x": 60,
"y": 84,
"count": 4
},
{
"x": 60,
"y": 86,
"count": 1
},
{
"x": 60,
"y": 88,
"count": 1
},
{
"x": 60,
"y": 89,
"count": 1
},
{
"x": 61,
"y": 31,
"count": 1
},
{
"x": 61,
"y": 32,
"count": 1
},
{
"x": 61,
"y": 68,
"count": 1
},
{
"x": 61,
"y": 93,
"count": 1
},
{
"x": 62,
"y": 24,
"count": 1
},
{
"x": 62,
"y": 32,
"count": 1
},
{
"x": 62,
"y": 67,
"count": 1
},
{
"x": 62,
"y": 86,
"count": 1
},
{
"x": 62,
"y": 94,
"count": 1
},
{
"x": 63,
"y": 12,
"count": 1
},
{
"x": 63,
"y": 59,
"count": 1
},
{
"x": 63,
"y": 67,
"count": 1
},
{
"x": 63,
"y": 78,
"count": 1
},
{
"x": 63,
"y": 87,
"count": 1
},
{
"x": 64,
"y": 6,
"count": 1
},
{
"x": 64,
"y": 58,
"count": 1
},
{
"x": 64,
"y": 65,
"count": 1
},
{
"x": 64,
"y": 89,
"count": 1
},
{
"x": 64,
"y": 92,
"count": 1
},
{
"x": 64,
"y": 93,
"count": 2
},
{
"x": 65,
"y": 65,
"count": 1
},
{
"x": 65,
"y": 68,
"count": 1
},
{
"x": 65,
"y": 85,
"count": 1
},
{
"x": 65,
"y": 87,
"count": 1
},
{
"x": 66,
"y": 5,
"count": 1
},
{
"x": 66,
"y": 27,
"count": 1
},
{
"x": 66,
"y": 28,
"count": 1
},
{
"x": 66,
"y": 47,
"count": 1
},
{
"x": 66,
"y": 70,
"count": 1
},
{
"x": 66,
"y": 86,
"count": 1
},
{
"x": 68,
"y": 68,
"count": 1
},
{
"x": 68,
"y": 84,
"count": 1
},
{
"x": 69,
"y": 18,
"count": 1
},
{
"x": 69,
"y": 92,
"count": 1
},
{
"x": 70,
"y": 14,
"count": 1
},
{
"x": 70,
"y": 15,
"count": 1
},
{
"x": 70,
"y": 32,
"count": 1
},
{
"x": 70,
"y": 75,
"count": 1
},
{
"x": 71,
"y": 25,
"count": 1
},
{
"x": 71,
"y": 50,
"count": 1
},
{
"x": 72,
"y": 55,
"count": 1
},
{
"x": 72,
"y": 82,
"count": 1
},
{
"x": 73,
"y": 67,
"count": 1
},
{
"x": 73,
"y": 74,
"count": 1
},
{
"x": 74,
"y": 20,
"count": 1
},
{
"x": 75,
"y": 39,
"count": 1
},
{
"x": 75,
"y": 94,
"count": 1
},
{
"x": 76,
"y": 48,
"count": 1
},
{
"x": 76,
"y": 75,
"count": 1
},
{
"x": 76,
"y": 76,
"count": 1
},
{
"x": 76,
"y": 95,
"count": 1
},
{
"x": 77,
"y": 23,
"count": 1
},
{
"x": 77,
"y": 45,
"count": 1
},
{
"x": 77,
"y": 87,
"count": 1
},
{
"x": 77,
"y": 94,
"count": 1
},
{
"x": 78,
"y": 9,
"count": 1
},
{
"x": 78,
"y": 33,
"count": 1
},
{
"x": 79,
"y": 18,
"count": 1
},
{
"x": 79,
"y": 80,
"count": 1
},
{
"x": 80,
"y": 47,
"count": 1
},
{
"x": 80,
"y": 91,
"count": 1
},
{
"x": 80,
"y": 95,
"count": 1
},
{
"x": 80,
"y": 97,
"count": 1
},
{
"x": 81,
"y": 69,
"count": 1
},
{
"x": 82,
"y": 70,
"count": 1
},
{
"x": 82,
"y": 94,
"count": 1
},
{
"x": 83,
"y": 51,
"count": 1
},
{
"x": 83,
"y": 71,
"count": 1
},
{
"x": 84,
"y": 91,
"count": 1
},
{
"x": 85,
"y": 38,
"count": 1
},
{
"x": 85,
"y": 43,
"count": 1
},
{
"x": 85,
"y": 58,
"count": 1
},
{
"x": 85,
"y": 70,
"count": 1
},
{
"x": 85,
"y": 82,
"count": 1
},
{
"x": 86,
"y": 45,
"count": 1
},
{
"x": 86,
"y": 50,
"count": 1
},
{
"x": 86,
"y": 80,
"count": 1
},
{
"x": 86,
"y": 88,
"count": 1
},
{
"x": 87,
"y": 51,
"count": 1
},
{
"x": 87,
"y": 85,
"count": 1
},
{
"x": 87,
"y": 100,
"count": 1
},
{
"x": 88,
"y": 53,
"count": 1
},
{
"x": 88,
"y": 86,
"count": 1
},
{
"x": 88,
"y": 95,
"count": 1
},
{
"x": 89,
"y": 82,
"count": 2
},
{
"x": 89,
"y": 89,
"count": 1
},
{
"x": 89,
"y": 90,
"count": 1
},
{
"x": 90,
"y": 46,
"count": 1
},
{
"x": 90,
"y": 100,
"count": 1
},
{
"x": 91,
"y": 46,
"count": 1
},
{
"x": 91,
"y": 54,
"count": 1
},
{
"x": 92,
"y": 22,
"count": 1
},
{
"x": 92,
"y": 74,
"count": 1
},
{
"x": 93,
"y": 33,
"count": 1
},
{
"x": 93,
"y": 84,
"count": 1
},
{
"x": 93,
"y": 93,
"count": 1
},
{
"x": 94,
"y": 43,
"count": 1
},
{
"x": 95,
"y": 91,
"count": 1
},
{
"x": 96,
"y": 41,
"count": 1
},
{
"x": 96,
"y": 47,
"count": 1
},
{
"x": 96,
"y": 64,
"count": 1
},
{
"x": 99,
"y": 87,
"count": 1
}
]
}
]