# Search teams, players and tournaments (v1)

Finds teams, players, tournaments and managers across every sport. Player results include their team. No match returns an empty list.

- Platform: Sofascore
- Request: `GET https://api.toolzerhub.com/v1/sofascore/search`
- 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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Team, player, tournament or manager name. |
| `page` | query | no | integer | Page number, from 1 to 20. has_more says whether another page exists. Default: 1. |

## Example request

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