# Get an event's main odds (v1)

Returns an event's main markets from one provider: the default market, Asian handicap and full time, and whether more exist. No odds returns `data: null`.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | query | yes | integer | Event id: the id of any event in a list, such as Get Sports Live Events. |
| `provider_id` | query | no | integer | Odds provider id. 1 is bet365; list others with Get Sports Odds Providers. Default: 1. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/event/odds/featured?id=<id>" \
  -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.
