GET Expected Lineup by Team
This endpoint allows you to get all the xG values we have available per team.
https://api.sportmonks.com/v3/football/expected-lineups/teams/TEAM_ID{
"data": [
{
"id": 1,
"sport_id": 1,
"fixture_id": 19347797,
"player_id": 37526530,
"team_id": 3285,
"formation_field": null,
"position_id": null,
"detailed_position_id": null,
"type_id": 77615,
"formation_position": null,
"player_name": "Hlynur Freyr Karlsson",
"jersey_number": 2
},
{
"id": 2,
"sport_id": 1,
"fixture_id": 19347797,
"player_id": 34838,
"team_id": 3285,
"formation_field": "2:3",
"position_id": 154,
"detailed_position_id": 148,
"type_id": 77614,
"formation_position": 3,
"player_name": "Even Hovland",
"jersey_number": 3
},id
Refers to the unique id of the expected value.
integer
sport_id
Refers to the sport of the expected lineup
integer
fixture_id
Refers to the fixture related to the value.
integer
player_id
Refers to the player in the expected lineup
integer
team_id
Refers to the team the player plays for
integer
formation_field
Refers to the formation field
integer
position_id
Refers to the players' position
integer
detailed_position_id
Refers to the detailed players' position
integer
type_id
Refers to the type of the Expected lineup.
integer
formation_position
Refers to the formation position
integer
player_name
The name of the player
string
jersey_number
The number of the player
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.
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?