# Count live and total events per sport (v1)

Returns, for every sport, how many events are live now and how many are on today, with the day set by `timezone_offset`. Nothing found returns `data: null`.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `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/events/count" \
  -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.
