# Expected (xG)

> **📦 Add-on required**
>
> Expected Goals (xG) endpoints require either the **xG Basic** or **xG Advanced** add-on.
>
> * **xG Basic:** Post-match data (€19-€99 depending on plan)
> * **xG Advanced:** Real-time live data (€199-€399 depending on plan)
>
> Available with all base plans (Starter, Growth, Pro, Enterprise).\
> [View pricing →](https://www.sportmonks.com/football-api/plans-pricing)

Gather an overview of all the xG values available within your subscription via the Expected endpoints. Retrieve basic information or enrich your response.&#x20;

Use one of our 2 expected endpoints. Per endpoint, you can find the details, including base URL, parameters, includes and more.&#x20;

* **GET Expected by Team:** returns all the expected data that are available within your subscription on team level.&#x20;
* **GET Expected by Player:** returns all the expected data that are available within your subscription on player level.&#x20;

{% hint style="info" %}
Please note that the availability of xG values varies depending on the package you choose.&#x20;

* The **Basic** package offers access straight after the match has finished to all xG statistics.
* The **Advanced** package offers real-time availability to all xG statistics.

*\*These xG packages are only available as an add-on and are not included in any of our default plans.*

You can find more information on our dedicated [pricing page](https://www.sportmonks.com/football-api/plans-pricing).&#x20;
{% endhint %}

#### Include options

[`type`](https://docs.sportmonks.com/v3/endpoints-and-entities/endpoints/types) [`fixture`](https://docs.sportmonks.com/v3/endpoints-and-entities/entities/fixture)[`player`](https://docs.sportmonks.com/football/endpoints-and-entities/entities/team-player-squad-coach-and-referee#player) [`team`](https://docs.sportmonks.com/football/endpoints-and-entities/entities/team-player-squad-coach-and-referee#team)

**Related Entities:**

Get an overview and explanation of all the fields returned in the API response. The related entities for the expected endpoints are:

* [Expected](https://docs.sportmonks.com/v3/endpoints-and-entities/entities/expected)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportmonks.com/v3/endpoints-and-entities/endpoints/expected-xg.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
