GET Current Leagues by Team ID

GET Current Leagues by Team ID

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

Parameters

Available parameters
range
A range of 2 dates separated by a comma. format should be YYYY-MM-DD.

Include options

No includes available for this endpoint.

Example response

Request
Response
Field Description
1
https://soccer.sportmonks.com/api/v2.0/teams/939/current?api_token={API_TOKEN}
Copied!
1
"data": [
2
{
3
"id": 17845,
4
"name": "2021",
5
"league_id": 1101,
6
"is_current_season": true,
7
"current_round_id": null,
8
"current_stage_id": 77450044,
9
"league": {
10
"data": {
11
"id": 1101,
12
"active": true,
13
"type": "domestic",
14
"legacy_id": 108,
15
"country_id": 99474,
16
"logo_path": "https://cdn.sportmonks.com/images//soccer/leagues/13/1101.png",
17
"name": "Club Friendlies",
18
"is_cup": false,
19
"is_friendly": true,
20
"current_season_id": 17845,
21
"current_round_id": null,
22
"current_stage_id": 77450044,
23
"live_standings": false,
24
"coverage": {
25
"predictions": true,
26
"topscorer_goals": true,
27
"topscorer_assists": true,
28
"topscorer_cards": true
29
}
30
}
31
}
32
},
33
{
34
"id": 18334,
35
"name": "2021/2022",
36
"league_id": 271,
37
"is_current_season": true,
38
"current_round_id": 246626,
39
"current_stage_id": 77453568,
40
"league": {
41
"data": {
42
"id": 271,
43
"active": true,
44
"type": "domestic",
45
"legacy_id": 43,
46
"country_id": 320,
47
"logo_path": "https://cdn.sportmonks.com/images/soccer/leagues/271.png",
48
"name": "Superliga",
49
"is_cup": false,
50
"is_friendly": false,
51
"current_season_id": 18334,
52
"current_round_id": 246626,
53
"current_stage_id": 77453568,
54
"live_standings": true,
55
"coverage": {
56
"predictions": true,
57
"topscorer_goals": true,
58
"topscorer_assists": true,
59
"topscorer_cards": true
60
}
61
}
62
}
63
},
64
{
65
"id": 18346,
66
"name": "2021/2022",
67
"league_id": 2,
68
"is_current_season": true,
69
"current_round_id": null,
70
"current_stage_id": 77453623,
71
"league": {
72
"data": {
73
"id": 2,
74
"active": true,
75
"type": "cup_international",
76
"legacy_id": 11,
77
"country_id": 41,
78
"logo_path": "https://cdn.sportmonks.com/images/soccer/leagues/2.png",
79
"name": "Champions League",
80
"is_cup": true,
81
"is_friendly": false,
82
"current_season_id": 18346,
83
"current_round_id": null,
84
"current_stage_id": 77453623,
85
"live_standings": true,
86
"coverage": {
87
"predictions": false,
88
"topscorer_goals": true,
89
"topscorer_assists": true,
90
"topscorer_cards": true
91
}
92
}
93
}
94
}
95
],
Copied!
Field
Description
data
Opens an array of data you've requested
id
A unique league id
active
Indicates if the league is active or not. Possible values are 'true' or 'false'
type
Indicates what kind of league this is. Possible values: 'domestic', 'cup', 'international'. More values can be found here
legacy_id
This was for our API version 1.0. It's only of use for old users of our API
country_id
The unique country id the league is played in
logo_path
The logo URL path of the league
name
The name of the league
is_cup
Indicates if the league is a cup or not. Possible values are 'true' or 'false'
current_season_id
The unique id of the current season
current_round_id
The unique id of the current round
current_stage_id
The unique id of the current stage
live_standings
Indicates if the league covers live standings
coverage
Opens an array of partial coverage for the league
predictions
Indicates if the league covers predictions
topscorers_goals
Indicates if the league covers goal topscorers
topscorers_assists
Indicates if the league covers assists topscorers
topscorers_cards
Indicates if the league covers cards topscorers
Check this endpoint in Postman.
Export as PDF
Copy link