# Get the months a tournament played (v1)

Returns the months, newest first, in which a tournament had finished events. An unknown id returns `data: null`.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `tournament_id` | query | yes | integer | Tournament id (uniqueTournament.id), such as 17 for the Premier League. |
| `timezone_offset` | query | no | integer | UTC offset in seconds that sets the day boundaries, such as 0, 3600 or -18000. Default: 0. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/calendar/tournament?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.
