GET Head 2 Head by Team IDs
Get
Head2Head by Team IDs
Get
Head2Head by Team IDshttps://soccer.sportmonks.com/api/v2.0/head2head/{team_ID}/{team_ID}
Endpoint details | |
Authorization | API Key |
Pagination | NO |
Allowed nested includes | 2 |
Parameters
Available parameters | |
include | Enrich the API with more data and/or nested includes. Can be used by adding |
between | You can filter between dates: |
Include options
localTeam
visitorTeam
substitutions
goals
cards
other
events
corners
lineup
bench
sidelined
comments
tvstations
highlights
round
stage
referee
venue
odds
inplayOdds
flatOdds
localCoach
visitorCoach
group
trends
Includes are the cornerstone of our API and allow you to enrich and customize your requests. This flexibility is what distinguishes us from our competitors.
You can learn more about what includes are and how they work here:
IncludesExample Response
https://soccer.sportmonks.com/api/v2.0/head2head/338/53?api_token={API_TOKEN}
"data": [
{
"id": 16475434,
"league_id": 501,
"season_id": 17141,
"stage_id": 77447501,
"round_id": 194993,
"group_id": null,
"aggregate_id": null,
"venue_id": 8909,
"referee_id": 17250,
"localteam_id": 53,
"visitorteam_id": 338,
"winner_team_id": 53,
"weather_report": {
"code": "clouds",
"type": "broken clouds",
"icon": "https://cdn.sportmonks.com/images/weather/04n.png",
"temperature": {
"temp": 37.35,
"unit": "fahrenheit"
},
"temperature_celcius": {
"temp": 3,
"unit": "celcius"
},
"clouds": "75%",
"humidity": "93%",
"pressure": 1010,
"wind": {
"speed": "11.5 m/s",
"degree": 70
},
"coordinates": {
"lat": 55.8652,
"lon": -4.2576
},
"updated_at": "2021-01-27T21:30:20.055902Z"
},
"commentaries": false,
"attendance": null,
"pitch": null,
"details": null,
"neutral_venue": false,
"winning_odds_calculated": true,
"formations": {
"localteam_formation": "4-4-2",
"visitorteam_formation": "3-4-1-2"
},
"scores": {
"localteam_score": 2,
"visitorteam_score": 0,
"localteam_pen_score": null,
"visitorteam_pen_score": null,
"ht_score": "1-0",
"ft_score": "2-0",
"et_score": null,
"ps_score": null
},
"time": {
"status": "FT",
"starting_at": {
"date_time": "2021-01-27 19:45:00",
"date": "2021-01-27",
"time": "19:45:00",
"timestamp": 1611776700,
"timezone": "UTC"
},
"minute": 90,
"second": null,
"added_time": null,
"extra_minute": null,
"injury_time": null
},
"coaches": {
"localteam_coach_id": 1467946,
"visitorteam_coach_id": 30082158
},
"standings": {
"localteam_position": 2,
"visitorteam_position": 12
},
"assistants": {
"first_assistant_id": 14860,
"second_assistant_id": 18758,
"fourth_official_id": 15815
},
"leg": "1/1",
"colors": {
"localteam": {
"color": "#F0F0F0",
"kit_colors": "#F0F0F0,#139343,#5B0623,#0A0A0A,#5C8FAE,#FFDF1B,#F0F0F0"
},
"visitorteam": {
"color": "#C40010",
"kit_colors": "#F0F0F0,#C40010,#5B0623,#0A0A0A,#5C8FAE,#FFDF1B,#F0F0F0"
}
},
"deleted": false,
"is_placeholder": false
},
Field | Description |
| Opens an array of data you've requested |
| A unique fixture id |
| The unique id of the league the fixture belongs to |
| The unique id of the season the fixture belongs to |
| The unique id of the stage the fixture belongs to |
| The unique id of the round the fixture belongs to |
| The unique id of the group the fixture belongs to |
| Indicates if the fixture has an aggregated score |
| The unique id of the venue the fixture is played at |
| The unique id of the referee that is in charge of the fixture |
| The unique id of the local team |
| The unique id of the visitor team |
| Contains the id of the team that won the fixture |
| Opens an array of weather details. Possible values of the data in this array can be found in our statuses and definitions |
| Indicates if this fixture has commentaries available |
| Give information about the visitor attendance of the fixture |
| Gives information about the pitch. Possible values can be found in our statuses and definitions |
| Optional additional information. |
| Indicates if the fixture was played at a neutral fixture. This often happens in cup finals |
| Opens an array containing the lineup formations of the teams. Possible values can be found in our statuses and definitions |
| Opens an array containing the scores of the fixture |
| The number of goals the local team has scored in this fixture |
| The number of goals the visitor team has scored in this fixture |
| The number of penalty goals the local team has scored in this fixture (only available when the fixture goes into penalty shootout) |
| The number of penalty goals the visitor team has scored in this fixture (only available when the fixture goes into penalty shootout) |
| The score at halftime |
| The score at full time (90 minutes) |
| The score in extra time (only available when the fixture goes into extra time) |
| The score of the penalty shootout (only available when the fixture goes into penalty shootout) |
| Opens an array containing the time details of the fixture |
| Indicates in which phase the fixture is in. Possible values can be found in our statuses and definitions |
| Opens an array containing the time details of the fixture |
| Gives the date and time the fixture starts |
| Gives the date on which the fixture is played |
| Gives the starting time of the fixture |
| The timestamp notation of the match |
| Indicates in which timezone you've requested the data |
| Indicates in which minute the fixture is in |
| Indicates in which second the fixture is in |
| Indicates how much added time is added |
| Extra minute is when a fixture goes to extra time. Extra_minute will count from 0 to 15 and from 15 to 30. |
| In case of added time, it will end up in injury_minute |
| Opens an array containing the unique id's of the coaches |
| The unique id of the coach from the local team |
| The unique id of the coach from the visitor team |
| Opens an array containing the standings of the local- and visitor team |
| Indicates in which positions the local team is before the fixture |
| Indicates in which positions the visitor team is before the fixture |
| Opens an array containing the unique id's of the assistant referees |
| The unique id of the first assistant |
| The unique id of the second assistant |
| The unique id of the fourth official |
| Indicates in how many legs this fixture is played |
| Opens an array containing information about the team colors |
| Opens an array containing information about the local team colors |
| The main color code of the local team |
| The kit color codes of the local team |
| Opens an array containing information about the visitor team colors |
| The main color code of the visitor team |
| The kit color codes of the local team |
| Indicates if the team was deleted. More information: Keep in Sync |
| This property indicates if the resource is used to display dummy data. The false of this property will always be a |
Last updated