GET Current Leagues by Team ID
GET
Current Leagues by Team ID
GET
Current Leagues by Team IDhttps://soccer.sportmonks.com/api/v2.0/teams/{ID}/current
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
https://soccer.sportmonks.com/api/v2.0/teams/939/current?api_token={API_TOKEN}
"data": [
{
"id": 17845,
"name": "2021",
"league_id": 1101,
"is_current_season": true,
"current_round_id": null,
"current_stage_id": 77450044,
"league": {
"data": {
"id": 1101,
"active": true,
"type": "domestic",
"legacy_id": 108,
"country_id": 99474,
"logo_path": "https://cdn.sportmonks.com/images//soccer/leagues/13/1101.png",
"name": "Club Friendlies",
"is_cup": false,
"is_friendly": true,
"current_season_id": 17845,
"current_round_id": null,
"current_stage_id": 77450044,
"live_standings": false,
"coverage": {
"predictions": true,
"topscorer_goals": true,
"topscorer_assists": true,
"topscorer_cards": true
}
}
}
},
{
"id": 18334,
"name": "2021/2022",
"league_id": 271,
"is_current_season": true,
"current_round_id": 246626,
"current_stage_id": 77453568,
"league": {
"data": {
"id": 271,
"active": true,
"type": "domestic",
"legacy_id": 43,
"country_id": 320,
"logo_path": "https://cdn.sportmonks.com/images/soccer/leagues/271.png",
"name": "Superliga",
"is_cup": false,
"is_friendly": false,
"current_season_id": 18334,
"current_round_id": 246626,
"current_stage_id": 77453568,
"live_standings": true,
"coverage": {
"predictions": true,
"topscorer_goals": true,
"topscorer_assists": true,
"topscorer_cards": true
}
}
}
},
{
"id": 18346,
"name": "2021/2022",
"league_id": 2,
"is_current_season": true,
"current_round_id": null,
"current_stage_id": 77453623,
"league": {
"data": {
"id": 2,
"active": true,
"type": "cup_international",
"legacy_id": 11,
"country_id": 41,
"logo_path": "https://cdn.sportmonks.com/images/soccer/leagues/2.png",
"name": "Champions League",
"is_cup": true,
"is_friendly": false,
"current_season_id": 18346,
"current_round_id": null,
"current_stage_id": 77453623,
"live_standings": true,
"coverage": {
"predictions": false,
"topscorer_goals": true,
"topscorer_assists": true,
"topscorer_cards": true
}
}
}
}
],
Field | Description |
| Opens an array of data you've requested |
| A unique league id |
| Indicates if the league is active or not. Possible values are 'true' or 'false' |
| Indicates what kind of league this is. Possible values: 'domestic', 'cup', 'international'. More values can be found here |
| This was for our API version 1.0. It's only of use for old users of our API |
| The unique country id the league is played in |
| The logo URL path of the league |
| The name of the league |
| Indicates if the league is a cup or not. Possible values are 'true' or 'false' |
| The unique id of the current season |
| The unique id of the current round |
| The unique id of the current stage |
| Indicates if the league covers live standings |
| Opens an array of partial coverage for the league |
| Indicates if the league covers predictions |
| Indicates if the league covers goal topscorers |
| Indicates if the league covers assists topscorers |
| Indicates if the league covers cards topscorers |
Last updated