GET Rivals by Team ID

GET Rivals by Team ID

1
https://soccer.sportmonks.com/api/v2.0/teams/{ID}/rivals
Copied!
Endpoint details
Authorization
API Key
Pagination
NO
Allowed nested includes
3

Parameters

Available parameters
include
Enrich the API with more data and/or nested includes. Can be used by adding &include= etc to your request url.

Include options

country squad coach transfers sidelined stats venue fifaranking uefaranking visitorFixtures localFixtures visitorResults latest upcoming goalscorers cardscorers assistscorers aggregatedGoalscorers aggregatedCardscorers aggregatedAssistscorers league activeSeasons trophies
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:

Example response

Request
Response
Field Description
1
https://soccer.sportmonks.com/api/v2.0/teams/8/rivals?api_token={API_TOKEN}
Copied!
1
"data": {
2
"id": 8,
3
"legacy_id": 119,
4
"name": "Liverpool",
5
"short_code": "LIV",
6
"twitter": "@LFC",
7
"country_id": 462,
8
"national_team": false,
9
"founded": 1892,
10
"logo_path": "https://cdn.sportmonks.com/images//soccer/teams/8/8.png",
11
"venue_id": 230,
12
"current_season_id": 18378,
13
"is_placeholder": false,
14
"rivals": {
15
"data": [
16
{
17
"id": 13,
18
"legacy_id": 165,
19
"name": "Everton",
20
"short_code": "EVE",
21
"twitter": "@Everton",
22
"country_id": 462,
23
"national_team": false,
24
"founded": 1878,
25
"logo_path": "https://cdn.sportmonks.com/images//soccer/teams/13/13.png",
26
"venue_id": 12,
27
"current_season_id": 18378,
28
"is_placeholder": false
29
}
30
]
31
}
32
},
Copied!
Field
Description
id
The unique id of the team
legacy_id
This was for our API version 1.0. It's only of use for old users of our API
name
The name of the team
short_code
The short code of the team
twitter
The official twitter page of the team
country_id
The unique country id the team is from
national_team
Indicates if the team is a national team
founded
The year when the team was founded
logo_path
The logo URL path of the team logo
venue_id
The official venue of the team
current_season_id
The unique id of the season the team is active in
is_placeholder
Added a property on both fixture and team responses called is_placeholder. This property indicates if the resource is used to display dummy data. The false of this property will always be a boolean value.
Export as PDF
Copy link