Teams
Tennis year statistics
GET/v2/teams/{id}/year-statisticsAll plans
A tennis player’s calendar year, one row per surface: matches, wins, tournaments played and won, aces, double faults, serve and return points, break points, tie-breaks, winners and unforced errors.
servicePoints = firstServesIn + secondServes, secondServesIn = secondServes − doubleFaults. An empty list for a year without matches and for team sports.
Parameters
id
our numeric id (positive integer)
year
a calendar year, e.g. 2026
Response
- data
TennisYearStatistics[]- meta
- year, count
- errors
- 400 bad_request — missing or invalid year403 history_not_in_plan — the year ended before your plan’s history
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/teams/{id}/year-statistics?year=…"
Example
{ "data": [ { "surface": { "type": "grass", "indoor": null, "name": "Grass" }, "matches": 7, "wins": 7, "tournamentsPlayed": 1, "tournamentsWon": 1, "aces": 128, "doubleFaults": 18, "servicePoints": 723, "firstServesIn": 474, "firstServePointsWon": 400, "secondServes": 249, "secondServesIn": 231, "secondServePointsWon": 144, "breakPointsConverted": 25, "breakPointChances": 69, "breakPointsFaced": 22, "breakPointsLost": 6, "tiebreaksWon": 5, "tiebreaksLost": 2, "winners": 319, "unforcedErrors": 188 }, … ], "meta": { "year": 2026, "count": 3 } }