For AI agents: the documentation index is at https://www.chessigma.com/llms.txt, and this page is available as Markdown at https://www.chessigma.com/developers/api/elo-calculator.md.
Developers / APICalculate the new rating and the point change after one game, from both players' ratings and the result.
https://www.chessigma.com/public-api/v1/elo-calculatorPure arithmetic. Returns the new rating, point change, and expected score.
yourRating integer, 100 to 4000, requiredYour rating before the game.
opponentRating integer, 100 to 4000, requiredYour opponent's rating before the game.
result string, one of win, draw, loss, requiredThe game's result for you.
system string, one of fide, chesscom, lichess, default fide, optionalThe rating system whose default K-factor applies.
kFactor integer, 1 to 100, optionalOverride the default K-factor for the chosen system.
curl "https://www.chessigma.com/public-api/v1/elo-calculator?yourRating=1500&opponentRating=1400&result=win"200 Computed rating change
{
"yourRating": 1500,
"opponentRating": 1400,
"result": "win",
"system": "fide",
"kFactor": 20,
"expectedScore": 0.6401,
"newRating": 1507,
"change": 7
}yourRating integeropponentRating integerresult string, one of win, draw, losssystem string, one of fide, chesscom, lichesskFactor integerThe K-factor used: kFactor if you passed one, otherwise the system's default.
expectedScore numberProbability of scoring, from 0 to 1.
newRating integerYour rating after the game.
change integernewRating minus yourRating.
400 Invalid query parameters429 Rate limit exceedederror field says what went wrong.