# Search tournaments with a feature (v1)

Finds up to 10 tournaments by name that have a `feature`: a bracket, standings, power rankings, season player statistics or team of the week. Nothing found returns `data: null`.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Text to search for, 2 to 100 characters. |
| `feature` | query | no | enum: standings, cuptree, power-rankings, sps, totw | standings, cuptree (bracket), power-rankings, sps (season player statistics) or totw (team of the week). Default: standings. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/search/tournaments/with?query=<query>" \
  -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.
