# Get a win probability graph (v1)

Returns the home win probability minute by minute, with period length and count for drawing the chart. Events without the model return `data: null`.

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

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

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/event/win-probability/graph?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.
