# Get main-card fights around a date (v1)

Returns main-card fights from 3.5 days before to 4.5 days after `date`, in start order. `extended` reaches 8.5 days after. Nothing found returns `data: null`.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `date` | query | no | string | Day in YYYY-MM-DD. Defaults to today (UTC). |
| `timezone_offset` | query | no | integer | UTC offset in seconds that sets the day boundaries, such as 0, 3600 or -18000. Default: 0. |
| `extended` | query | no | enum: true | true to look 8.5 days ahead instead of 4.5. |

## Example request

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