# Prediction API

One of our newest features is the **Prediction API**. Predictions on markets like the Winner, Correct Scores, Over/Under and Both Teams To Score (BTTS) are all available here, produced with our **Machine Learning** techniques and models.

We offer endpoints to get the Probabilities per fixture or to Get all Probabilities. All probabilities are available 21 days before the match starts.

Sportmonks also detects **Value Bets** for you. The Value Bet API is processing thousands of historical odds data and market trends to find Value opportunities, compared to bookmakers' odds. Please note that not every match has Value Bets. Available endpoints are Value Bet by Fixture and Get all Value Bets.

{% content-ref url="prediction-api/get-leagues-and-performances" %}
[get-leagues-and-performances](https://docs.sportmonks.com/v2/endpoint-overview/prediction-api/get-leagues-and-performances)
{% endcontent-ref %}

{% content-ref url="prediction-api/get-probabilities" %}
[get-probabilities](https://docs.sportmonks.com/v2/endpoint-overview/prediction-api/get-probabilities)
{% endcontent-ref %}

{% content-ref url="prediction-api/get-probabilities-by-fixture-id" %}
[get-probabilities-by-fixture-id](https://docs.sportmonks.com/v2/endpoint-overview/prediction-api/get-probabilities-by-fixture-id)
{% endcontent-ref %}

{% content-ref url="prediction-api/get-value-bets" %}
[get-value-bets](https://docs.sportmonks.com/v2/endpoint-overview/prediction-api/get-value-bets)
{% endcontent-ref %}

{% content-ref url="prediction-api/get-value-bet-by-fixture-id" %}
[get-value-bet-by-fixture-id](https://docs.sportmonks.com/v2/endpoint-overview/prediction-api/get-value-bet-by-fixture-id)
{% endcontent-ref %}

{% hint style="info" %}
Check this endpoint in Postman.\
&#x20;                                                             [![Run in Postman](https://run.pstmn.io/button.svg)](https://football-postman.sportmonks.com/#2f181bcb-fdbe-46f9-b812-aae8fde6fc6d)
{% endhint %}


---

# 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/v2/endpoint-overview/prediction-api.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.
