# Get a player's seasons in a tournament (v1)

Returns a player's statistics for every season of one tournament, with team and season. Nothing found returns `data: null`.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | query | yes | integer | Player id, from a lineup, a squad or Search Sports. |
| `tournament_id` | query | yes | integer | Tournament id (uniqueTournament.id), such as 17 for the Premier League. |
| `split` | query | no | enum: overall, home, away, regularSeason, playoffs, top16 | Statistics split. overall covers every match; regularSeason, playoffs and top16 apply only where the season has them. Default: overall. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/player/tournament/statistics?id=<id>&tournament_id=<tournament_id>" \
  -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.
