# Get every event of a sport on a day (v1)

Returns one page of every event of `sport` on `date` (UTC), in start order. Pages run from 1; Get Sports Day Index gives the page count. A page past the end returns an empty list.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `sport` | query | no | string | Sport slug, such as football, tennis, basketball, cricket, mma or motorsport. Default: football. |
| `date` | query | no | string | Day in YYYY-MM-DD. Defaults to today (UTC). |
| `page` | query | no | integer | Page number, from 1. hasNextPage says whether another page exists. Default: 1. |

## Example request

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