# Get odds for a tournament's fixtures (v1)

Returns full-time pre-match odds for up to 30 upcoming events of a tournament. Nothing upcoming returns `data: null`.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `provider_id` | query | no | integer | Odds provider id. 1 is bet365; list others with Get Sports Odds Providers. Default: 1. |
| `tournament_id` | query | yes | integer | Tournament id (uniqueTournament.id), such as 17 for the Premier League. |

## Example request

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