Value Bets

  • Basic
  • Standard
  • Advanced
  • Custom

Introduction

Next the Prediction API we also have the Value Bet API. While the Prediction API evaluates the probabilities of game events, the Value Bet API is processing thousands of historical odds data and market trends to find Value opportunities, compared against bookmakers odds.

Once the opening odds are available, the value detection algorithm is running every 10 minutes up to the beginning of the match. Each value detected by the model is coming with a set of features described below.

Please note that our algorithm detects Value Bets based on all available odds in combination with the fair_odd calculated by the Value Bet algorithm. Therefore, not every match has a Value Bet available.

It is possible to use the Value Bet API endpoint as described on this page. It will give you all Value Bets detected. It is also possible to use the Value Bet By Fixture Id.

If you want to combine your Value Bets requests with your requests on the Fixture endpoint or Livescore endpoint, you can add the relationship include &include=valuebet. See the Relationship Fixture Value Bet for more info.

Field Description

bet: 1 = home, x = draw, 2 = away
bookmaker: The name of the bookmaker with the best odd
odd: The odd provided by the bookmaker
stake: The stake is helping to manage the risk that the model would take in the bet. The risk is measured with the volatility of the profit and loss of the Value Bet Strategy. The stake is calculated in order to have an average risk of one unit.
fair_odd: Our algorithm allows you to find the fair odd of a value. The fair odd is useful to play against bookmakers that are not listed in Sportmonks. Any odd above the fair odd can be considered as Value.

Endpoint Details

Below you can find the details for this endpoint.

Key Value
Endpoint: https://soccer.sportmonks.com/api/v2.0/predictions/valuebets/next
Pagination: No
Includes:
Nested Includes: - You can add a max of levels of nested includes.
Parameters: No parameters available for this endpoint.

Example Request

The following code snippets demonstrate how to get all prediction apis available in this endpoint.

// Get your API tokens here: https://www.sportmonks.com/settings#/api
curl "https://soccer.sportmonks.com/api/v2.0/predictions/valuebets/next?api_token=YOURTOKEN"
-H "Accept: application/json"
// Get your API tokens here: https://www.sportmonks.com/settings#/api
$client = new GuzzleHttp\Client();
$res = $client->request('GET', 'https://soccer.sportmonks.com/api/v2.0/predictions/valuebets/next?api_token=YOURTOKEN', [
    'headers' => ['Accept' => 'application/json']
]);
// Get your API tokens here: https://www.sportmonks.com/settings#/api
response = requests.get("https://soccer.sportmonks.com/api/v2.0/predictions/valuebets/next?api_token=YOURTOKEN")

# Print the status code of the response.
print(response.status_code)
// Get your API tokens here: https://www.sportmonks.com/settings#/api
require 'faraday_middleware'

Faraday.new('https://soccer.sportmonks.com/api/v2.0/predictions/valuebets/next?api_token=YOURTOKEN', headers: {'Accept' => 'application/json', 'Accept-Encoding' => 'gzip'}).get
// Get your API tokens here: https://www.sportmonks.com/settings#/api
URL url = new URL("https://soccer.sportmonks.com/api/v2.0/predictions/valuebets/next?api_token=YOURTOKEN");
HttpURLConnection con = (HttpURLConnection) url.openConnection();
con.setRequestMethod("GET");
// Get your API tokens here: https://www.sportmonks.com/settings#/api
import { SportmonksApi } from 'sportmonks';
const sportmonks = new SportmonksApi(__YOUR_API_TOKEN__);
sportmonks.get("https://soccer.sportmonks.com/api/v2.0/predictions/valuebets/next?api_token=YOURTOKEN",params).then( function(resp){
  //resp.data will contain your data
  //resp.meta will contain the meta informations
  console.log(resp);
});
// Get your API tokens here: https://www.sportmonks.com/settings#/api
package main

import (
    "fmt"
    "log"

    sm "github.com/BialkowskiSz/go-sportmonks"
)

func main() {
    sm.SetAPIToken("<YOUR_TOKEN_HERE>")
    g, err := sm.Get("https://soccer.sportmonks.com/api/v2.0/predictions/valuebets/next?api_token=YOURTOKEN", "", 0, false)
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println(string(g))
}

Example Response

In the API Reference Guide the example responses of the prediction apis endpoint are shown.

Test this Endpoint

With our In-Page API Tester you can directly test this Endpoint by clicking the blue button on the right ‘Open Test API’. By adding Includes, Parameters and Variables and clicking the blue button on the right below ‘Send API Request’, you can directly view the API Response. Your Requests and Responses are even stored in your personal API Tester Folder (only when you are logged-in). If you are not logged in the API Tester will use the Free Plan Leagues for your requests.

Questions?

We're always happy to help with code or other questions you might have! Search our documentation, contact support, or get in touch with our sales team.

This article was last updated on
{{ api_response }}
# Variable Value Description
{{ variable.variable }} {{ variable.description }}
# Relationship Description Value
{{ parameter.parameter }} {{ parameter.description }}
# Relationship Description Extra
{{ relation.include }} {{ relation.description }}

{{ loginForm.errors.get('email') }}

{{ loginForm.errors.get('password') }}

Remember me?