Team Stats
GET
This endpoint allows you to get Team stats by Team ID and season ID.
Description
Headers | application/json |
Endpoint Example | https://api.sportdatastreamapi.com/stats/?user=USERNAME&token=TOKEN&t=&t=team&id=TEAMID&id=SEASON_ID |
Endpoint | https://api.sportdatastreamapi.com/stats/?user=null&token=null&t=team&id=98&season_id=406 |
Paginated | No, this endpoint is not paginated |
Example Response
{
"data": [
{
"98": {
"id": 98,
"league_id": 594,
"season_id": 406,
"total_matches": 26,
"assists": 65,
"substituted_in": 52,
"penalties": 2,
"goals_scored": {
"overall": {
"total": 72,
"avg": 2.77
},
"home": {
"total": 45,
"avg": 3.46
},
"away": {
"total": 27,
"avg": 2.08
}
},
"goals_conceded": {
"overall": {
"total": 33,
"avg": 1.27
},
"home": {
"total": 10,
"avg": 0.77
},
"away": {
"total": 23,
"avg": 1.77
}
},
"clean_sheets": {
"overall": {
"total": 11,
"avg": 33.33
},
"home": {
"total": 8,
"avg": 80
},
"away": {
"total": 3,
"avg": 13.04
}
},
"cards": {
"total": 28,
"yellow": {
"total": 27,
"avg": 96.43
},
"yellowred": {
"total": 1,
"avg": 3.57
},
"redcards": {
"total": 0,
"avg": 0
}
},
"goal_line": {
"over": {
"0.5": {
"overall": {
"total": 25,
"avg": 96.15
},
"home": {
"total": 13,
"avg": 50
},
"away": {
"total": 12,
"avg": 46.15
}
},
"1.5": {
"overall": {
"total": 23,
"avg": 88.46
},
"home": {
"total": 11,
"avg": 42.31
},
"away": {
"total": 12,
"avg": 46.15
}
},
"2.5": {
"overall": {
"total": 22,
"avg": 84.62
},
"home": {
"total": 11,
"avg": 42.31
},
"away": {
"total": 11,
"avg": 42.31
}
},
"3.5": {
"overall": {
"total": 18,
"avg": 69.23
},
"home": {
"total": 10,
"avg": 38.46
},
"away": {
"total": 8,
"avg": 30.77
}
},
"4.5": {
"overall": {
"total": 8,
"avg": 30.77
},
"home": {
"total": 6,
"avg": 23.08
},
"away": {
"total": 2,
"avg": 7.69
}
},
"5.5": {
"overall": {
"total": 6,
"avg": 23.08
},
"home": {
"total": 4,
"avg": 15.38
},
"away": {
"total": 2,
"avg": 7.69
}
}
},
"under": {
"0.5": {
"overall": {
"total": 1,
"avg": 3.85
},
"home": {
"total": 0,
"avg": 0
},
"away": {
"total": 1,
"avg": 3.85
}
},
"1.5": {
"overall": {
"total": 3,
"avg": 11.54
},
"home": {
"total": 2,
"avg": 7.69
},
"away": {
"total": 1,
"avg": 3.85
}
},
"2.5": {
"overall": {
"total": 4,
"avg": 15.38
},
"home": {
"total": 2,
"avg": 7.69
},
"away": {
"total": 2,
"avg": 7.69
}
},
"3.5": {
"overall": {
"total": 8,
"avg": 30.77
},
"home": {
"total": 3,
"avg": 11.54
},
"away": {
"total": 5,
"avg": 19.23
}
},
"4.5": {
"overall": {
"total": 18,
"avg": 69.23
},
"home": {
"total": 7,
"avg": 26.92
},
"away": {
"total": 11,
"avg": 42.31
}
},
"5.5": {
"overall": {
"total": 20,
"avg": 76.92
},
"home": {
"total": 9,
"avg": 26.92
},
"away": {
"total": 11,
"avg": 42.31
}
}
}
}
}
}
],
}