Basketball.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/basketball/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
[
{
"total": {
"games": {
"played": 42,
"wins": 36,
"loses": 6
},
"points": {
"scored": 3722,
"received": 3328
}
},
"home": {
"games": {
"played": 22,
"wins": 20,
"loses": 2
},
"points": {
"scored": 2015,
"received": 1733
}
},
"away": {
"games": {
"played": 20,
"wins": 16,
"loses": 4
},
"points": {
"scored": 1707,
"received": 1595
}
},
"leagueId": 100351,
"leagueName": "ACB",
"season": 2023
}
]Changes
No recorded changes to this operation across all 1 revision of this API.