UOF.API.Probability (UOF_API v3.0.0)

Copy Markdown View Source

Betradar's Probability API can be used to fetch the probabilities for all active markets offered by Betradar's Unified Odds Feed product.

Probabilities can go down to 1e-10 (ie. 0.0000000001).

The only supported sports are: soccer, baseball, basketball, tennis, table tennis, badminton, volleyball, squash, handball, ice hockey and field hockey.

For a fixture to be available in the Probability API, the fixture must be active in Live Odds and you must have Live Odds access to this fixture.

Functions return {:ok, response} | {:error, UOF.API.Error.t()}.

Summary

Functions

Get probabilities for the given fixture, optionally narrowed to a market and, within it, a specifier.

Functions

probabilities(fixture, market \\ nil, specifier \\ nil, opts \\ [])

Get probabilities for the given fixture, optionally narrowed to a market and, within it, a specifier.

The trailing opts is a keyword list merged into the Req request (see UOF.API.Utils.HTTP); to pass it while leaving market/specifier unset, call probabilities(fixture, nil, nil, opts).