GET Expected by Player
This endpoint allows you to get all the xG values we have available per player (lineup).
https://api.sportmonks.com/v3/football/expected/lineups
"data": [
{
"id": 1064853093,
"fixture_id": 19076535,
"player_id": 77908,
"team_id": 238626,
"lineup_id": 8076889919,
"type_id": 5304,
"data": {
"value": 0.0295
}
},
{
"id": 1064853094,
"fixture_id": 19076535,
"player_id": 37389571,
"team_id": 238626,
"lineup_id": 8076889917,
"type_id": 5304,
"data": {
"value": 0.0496
}
},id
Refers to the unique id of the expected value.
integer
fixture_id
Refers to the fixture related to the value.
integer
player_id
Refers to the player related to the value.
integer
lineup_id
Refers to the lineup record the player is related to.
integer
type_id
Refers to the type of the Expected value.
integer
value
Displayes the value.
integer
api_token
YES
Your unique API token
include
NO
Enrich the API with more data by using includes
select
NO
Select specific fields on the base entity.
filters
NO
Filter the API response on multiple related entities. There are static filters and dynamic filters.
Please find the possibilities in the Static and Dynamic Filter tab.
Not applicable for this endpoint.
The dynamic filters are based on entities and includes. Each dynamic filter uses an entity to filter on and one entity to apply the filter to. Below is an example with an explanation of how filters are set up. For more information, please look at our Filters page.
Types
Filters the player statistics on a specific type separated by commas.
&filters=lineupDetailTypes:TypeIDs
&filters=lineupDetailTypes:5304
Pagination
Yes
Include depth
You can use a total of 3 nested includes on this endpoint
Include options
Related Entities:
Get an overview and explanation of all the fields returned in the API response. The related entities for the expected endpoints are:
Last updated
Was this helpful?