Catalog/sports-elo-win-probability

Sports

Win probability from Elo API

Maps an Elo rating gap (plus optional home-field advantage in Elo points) to each side's win probability and implied fair decimal/American odds. Answers 'What is the win probability given this Elo gap?', 'What are the fair odds from these ratings?'.

Price$0.04per request
MethodPOST
Route/v1/sports/elo-win-probability
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
sportselowin-probabilityrating-gaphome-advantagefair-oddslogisticpower-ratingprediction
API URLhttps://x402.hexl.dev/v1/sports/elo-win-probability
Integration docs
Example request
{
  "ratingA": 1800,
  "ratingB": 1500,
  "homeAdvantage": 65
}
Example response
{
  "ratingA": 1800,
  "ratingB": 1500,
  "homeAdvantage": 65,
  "adjustedGap": 365,
  "winProbabilityA": 0.891011,
  "winProbabilityB": 0.108989,
  "fairDecimalA": 1.122321,
  "fairDecimalB": 9.17523,
  "fairAmericanA": -818,
  "fairAmericanB": 818,
  "formula": "P_A = 1/(1+10^(-(R_A + HFA - R_B)/400))"
}
Input schema
{
  "type": "object",
  "required": [
    "ratingA",
    "ratingB"
  ],
  "properties": {
    "ratingA": {
      "type": "number",
      "examples": [
        1800
      ]
    },
    "ratingB": {
      "type": "number",
      "examples": [
        1500
      ]
    },
    "homeAdvantage": {
      "type": "number",
      "description": "Elo points added to A for home field",
      "examples": [
        65
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}