Compute an Elo rating change for a single game
Pure arithmetic. Returns the new rating, point change, and expected score.
get/elo-calculator
Request
- Base URLhttps://www.chessigma.com/public-api/v1
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
yourRatinginteger required
Your rating before the game.
opponentRatinginteger required
Your opponent's rating before the game.
result'win' | 'draw' | 'loss' required
The game's result for you.
system'fide' | 'chesscom' | 'lichess'
The rating system whose default K-factor applies.
kFactorinteger
Override the default K-factor for the chosen system.
Response
Computed rating change
Changes
No recorded changes to this operation across all 1 revision of this API.