Skip to main content
POST
Simulate Match

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
team_1
integer[]
required
Required array length: 1 - 2 elements
team_2
integer[]
required
Required array length: 1 - 2 elements

Response

MatchSimulateResource

name
string
required

Surnames of both teams, in the form Surname/Surname - Surname/Surname. Convenience label for display.

probability
object
required

Win probability for each team, as a decimal between 0 and 1. The two values always add up to 1.

favorite
null | enum<string>
required

Team favoured to win, or null when both teams are rated identically and the match is a coin flip.

Available options:
team_1,
team_2
elo_diff
integer
required

Gap between the teams' average Elo ratings, positive when team_1 is rated higher. The wider the gap, the more lopsided probability gets.

players
object
required

The players making up each side of the simulated match, with their full profiles.