# Get the page index for a day (v1)

Returns how many pages Get Sports Events for a Day has for `sport` on `date`, with each page's first and last start time and the filters it covers. Nothing found returns `data: null`.

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

| 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). |

## Example request

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