# Get popular events in a country (v1)

Returns up to 8 of the most popular events of `sport` on `date` for fans in `country`, using that country's local day. Nothing found returns `data: null`.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `sport` | query | no | string | Sport slug, such as football, tennis, basketball, cricket, mma or motorsport. Default: football. |
| `country` | query | no | string | Two-letter country code in upper case, such as US or GB. Default: US. |
| `date` | query | no | string | Day in YYYY-MM-DD. Defaults to today (UTC). |

## Example request

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