Chess DNA

v1.0.0
app.chessdna/chess-dna Checked 19 hours ago Published 27 days ago

Chess ratings explained, an Elo calculator, and any Chess.com or Lichess player's recent games.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

rating_meaning What does a chess rating mean?

Explains what a chess rating (Elo, Chess.com or Lichess) means: whether it is good, where it sits among online players, and a link to the full guide for that level. Use for questions like "is 1200 a good chess rating?"

ParameterTypeDescription
rating *integerThe rating, e.g. 1200

elo_change Elo rating change calculator

Calculates how many rating points a player wins or loses for a win, draw and loss against an opponent, using the Elo formula. Also returns the expected score.

ParameterTypeDescription
opponent *integerThe opponent's rating
rating *integerThe player's rating
kintegerK-factor (default 20; FIDE uses 40 for new players, 20 normally, 10 above 2400)

recent_games A player's recent games

Summarizes a player's recent public games on Chess.com or Lichess: wins, draws and losses, rating trend, results by colour, and most played openings. Links to a free Chess DNA analysis of the player's strengths and weaknesses.

ParameterTypeDescription
username *stringChess.com or Lichess username
countintegerHow many recent games (default 30)
sitestringWhich site (default chesscom)