Football.Teams
Get team statistics
Refresh interval: Immediately once a match is finished.
Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.
get/football/teams/statistics/{id}
Request
- Base URLhttps://sports.highlightly.net
- Authnone declared. Required headers: x-rapidapi-host, x-rapidapi-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idnumber required
Requested team id.
Query parameters
fromDatestring required
Example:2023-08-06
Date that follows the YYYY-MM-DD format.
timezonestring
Example:Europe/London
Valid timezone identifier.
Headers
x-rapidapi-hoststring required
sport-highlights-api.p.rapidapi.com
x-rapidapi-keystring required
Rapid API Token
Response
Example response
[
{
"leagueId": 216087,
"season": 2023,
"leagueName": "Major League Soccer",
"total": {
"games": {
"played": 34,
"wins": 20,
"loses": 5,
"draws": 5
},
"goals": {
"scored": 57,
"received": 39
}
},
"home": {
"games": {
"played": 34,
"wins": 20,
"loses": 5,
"draws": 5
},
"goals": {
"scored": 57,
"received": 39
}
},
"away": {
"games": {
"played": 34,
"wins": 20,
"loses": 5,
"draws": 5
},
"goals": {
"scored": 57,
"received": 39
}
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.