# Get a player's statistics for a year (v1)

Returns a tennis player's year by surface: matches, wins, titles, aces, double faults, serve and break points and tiebreaks. None returns `data: null`.

- Platform: Sofascore
- Request: `GET https://api.toolzerhub.com/v1/sofascore/team/tennis/year-statistics`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/sofascore/tennis/get-tennis-year-statistics

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | query | yes | integer | Team id (homeTeam.id or awayTeam.id on an event). Tennis players, fighters and drivers are teams too. |
| `year` | query | yes | integer | Year, such as 2025. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/team/tennis/year-statistics?id=<id>&year=<year>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
