Returns a list of matches (plus statistics) that the two teams have played against eachother in.
GET /v1/{sport}/matches/headtohead/teams/{teamId}/versus/{teamId}
Parameter Name | Value | Description | |
---|---|---|---|
Required Parameters | |||
sport |
string |
The sport for which you are making the request | |
teamId |
integer |
Unique identifier for a team in the head to head. | |
Optional Parameters | |||
competitionId |
integer |
Unique identifier for the competition. | |
competitionStandard |
string |
Unique identifier for the competition. | |
matchStatus |
string |
match status
| |
matchType |
string |
What part of the competition is this match part of. If not specified the value of this field for the round will be checked.
|
|
venueId |
integer |
Unique identifier for the venue. | |
useExternalForLeague |
integer |
If this value is set to the leagueId of the matches, then the URL parameters teamId and competitionId will instead refer to the externalId fields of their respective entities in that league. |
Do not supply a request body with this method.
If successful this method returns an array of Head to Head resources. This array is sorted in descending order of match date (UTC).