# GET /v2/teams/{id}/year-statistics

Group: Teams

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.

Note: servicePoints = firstServesIn + secondServes, secondServesIn = secondServes − doubleFaults. An empty list for a year without matches and for team sports.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |
| `year` | query | yes | a calendar year, e.g. 2026 |

## Response

- `data`: `TennisYearStatistics[]`
- `meta`: year, count
- Objects: TennisYearStatistics (https://sportsapi.app/markdown/en/reference.md#tennisyearstatistics)

## Errors

- 400 bad_request — missing or invalid year
- 403 history_not_in_plan — the year ended before your plan’s history

Plus the common errors (https://sportsapi.app/markdown/en/docs.md#errors).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/teams/{id}/year-statistics?year=…"
```

TypeScript:

```ts
const { data, meta } = await client.teams.yearStatistics(id, { year });
```

Python:

```python
res = client.teams.year_statistics(id, year=year)
```

Go:

```go
res, err := client.Teams.YearStatistics(ctx, id, &sportsapi.TeamsYearStatisticsParams{Year: year})
```

CLI:

```bash
$ sportsapi teams year-statistics <id> --year <year>
```

## Example response

```json
{ "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 } }
```

---

Base URL: https://api.sportsapi.app. Send your API key as `Authorization: Bearer <key>` on every /v2 request; keys are created in the dashboard (https://sportsapi.app/dashboard).
HTML: https://sportsapi.app/docs/teams/year-statistics · All docs: https://sportsapi.app/markdown/en/docs.md
