Team By ID
GET
The Team Info endpoint gives you data of a specific team.
Description
Headers | application/json |
Endpoint Example | https://api.sportdatastreamapi.com/teams/?user={USERNAME}&token={TOKEN}&t=info&id={TEAM_ID} |
Endpoint | https://api.sportdatastreamapi.com/teams/?user=null&token=null&t=info&id=111 |
Paginated | No, this endpoint is not paginated |
Example Response
{
"data": {
"id": 111,
"common_name": "Bayern Munich",
"name": "FC Bayern Munich",
"short_code": "FCB",
"img": "https://api.sportdatastreamapi.com/images/soccer/teams/100/111.png",
"leagues": [
{
"id": 594,
"name": "Bundesliga",
"current_season_id": 7199,
},
{
"id": 595,
"name": "DFB Pokal",
"current_season_id": 7237,
},
{
"id": 3700,
"name": "MLS All Star Game",
"current_season_id": 9683,
},
{
"id": 539,
"name": "UEFA Champions League",
"current_season_id": 45,
},
{
"id": 542,
"name": "UEFA Super Cup",
"current_season_id": 7291,
},
{
"id": 596,
"name": "Super Cup",
"current_season_id": 7253,
},
],
"founded": 1900,
"twitter": "",
"coach_id": 662,
"venue_id": 1446,
"kit": {
"home_main_color": "#e60000",
"home_second_color": "#e00000",
"home_number_color": "#ffffff",
"away_main_color": "#ffffff",
"away_second_color": "#ffffff",
"away_number_color": "#ff4d00",
"away2_main_color": "#000061",
"away2_second_color": "#ff8800",
"away2_number_color": "#ff7300",
"goalkeeper_main_color": "#cccccc",
"goalkeeper_second_color": "#33ccff",
"goalkeeper_number_color": "#ffffff",
},
"country": {
"id": 4,
"name": "Germany",
"cc": "de",
},
},
}