I used the chess.com public API to build a little web app. It's similar to the Chess Insights app over at lichess, but instead of taking a sample of your games, it just churns through as many positions as you want to import. You can also import positions for any player, not just yourself. I mostly wrote it to serve as a portfolio piece, but it's functional, and I hope people find it useful. If you have any questions, you can email me--see the "About the Author" page--or post in this thread. acpltracker.com
ACPLTracker Jun 3, 2020
Long time ago I started on the tool for club admins to run their clubs. I have many ideas, but not much time to continue. My version uses mySql and php. If anybody is interested or would like to continue or cooperate you can check it. Working version with my clubs: http://cm.tode.cz After registration I can give you access to sample club. Github: https://github.com/Dale00007/clubmanager1?files=1
Dale00007 Jun 3, 2020
Althoughhttps://api.chess.com/pub/player/erik/games/archivestells me what game archives are available for a user, but all the links i.e.https://api.chess.com/pub/player/erik/games/2009/10return with the same message: {"message":"'Chess\\WebBundle\\Doctrine\\ORM\\Internal\\Hydration\\GameLiveHydrator' is an invalid hydration mode.","code":0} Examples from page https://www.chess.com/news/view/published-data-api
Is there any way that we can note the peak/highest rating (blitz/rapid) of a player in a given period of time (Like from the last 30/60/90 days)? If so let me know (For spreadsheets).
dhacker1341 May 30, 2020
I am urgently looking for a solution to get the TRF out of a Tournament. I am getting stuck with manual pairing and capturing while other platforms offer solution in the form of the TRF file. Can this be adressed as a matter of urgency or what pairing software is used by other arbiter? I am using Swiss Manager and with the TRF I can speed up my process significantly. Format of TRF (Tournament Report File)Agreed general Data-Exchange Format for tournament results to be submitted to FIDE. https://www.fide.com/FIDE/handbook/C04Annex2_TRF16.pdf
I was trying to access information about one of our club tournaments over the following endpoint:https://api.chess.com/pub/tournament/the-fast--furious-friday-185254Unfortunately, the players listed in the player section are not those having played in the tournament but seem somewhat random. You can check this by having a look at the tournament results under:https://www.chess.com/tournament/live/arena/the-fast--furious-friday-185254It would be great if this could be fixed.
BetweenTheBoard May 11, 2020
Hey, I'm working on a way to automate sub-battles between streamers. When the match begins, I want to create a challenge with the proper time/increment between the first two players in the bracket. When the match is over, I want to send a new challenge to the next players. I can't do this with the API. If I create a bot to send the challenges, will it get banned? Is there a better way to do this? Thanks
These two matches played more then 12 hours ago: https://api.chess.com/pub/match/live/10355 "status":"registration" Match completed 18:42 GMT on 10th May "boards":7 Actual boards 19https://www.chess.com/club/matches/live/10355https://api.chess.com/pub/match/live/10357"status":"registration" Match completed 19:18 GMT on 10th May "boards":0 Actual boards 19https://www.chess.com/club/matches/live/10357/games
I'm writing a webapp to view games from individual players. When making my requests I keep running into CORS errors when trying to fetch the monthly game archives. Getting the following error:'Access to fetch at 'https://api.chess.com/pub/player/lawnpawnfawn/games/2017/02' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.' I tried setting the mode to no-cors, but that just returns a response with nothing as the fetch still seems to be failing. Not sure if I'm doing something wrong here, maybe the API doesn't work from localhost? I will re-verify I'm not making the requests concurrently, but from what I've seen that gives a different error. Any help would be appreciated.
munitras118 May 8, 2020
Hello, Well, what the title says I noticed a bug in the API to fetch leaderboards (https://api.chess.com/pub/leaderboards). All categories seem to work properly with the exception of lessons which returns only 49 players instead of 50.
Mig_Well May 3, 2020
How do I show data from chess.com API JSON-LD to my blogger as table? Thank you. Gens Una Sumus.
sucof4reve May 1, 2020
PGN data from the API Endpoint is different from the Chess.com web "Download PGN" option. The archive api and web based download return different fields and differ in the in the information provided in moves. It would be best to merge these and have all the data accessible, instead of different data for each view. Here is a summary of the differences I see: API Endpoint provides the following additional information not found in Web "export/download": ECOUrl -- a link to the chess.com discussion of the opening LInk -- link to the game EndDate StartTime -- note this is always the same as EndTime except in Daily games -- IMO this should be the actual start time of the game or omitted as in the Web interface. Web provides the following additional information not found in API: Game clock information with each move. formatted as {%clk} Example: https://www.chess.com/live/game/2103285046 Via player api under the archive https://api.chess.com/pub/player/tryingtolearn1234/games/2017/05 [Event "Live Chess"][Site "Chess.com"][Date "2017.05.16"][Round "-"][White "tryingtolearn1234"][Black "111roger"][Result "1-0"][ECO "C47"][ECOUrl "https://www.chess.com/openings/C47-Four-Knights-Game-Italian-Variation"][WhiteElo "1118"][BlackElo "1048"][TimeControl "600"][Termination "tryingtolearn1234 won by checkmate"][StartTime "02:48:20"][EndDate "2017.05.16"][EndTime "02:48:20"][Link "https://www.chess.com/live/game/2103285046"] 1. e4 e5 2. Nf3...(game continues) Via the Download Feature [Event "Live Chess"][Site "Chess.com"][Date "2017.05.15"][White "tryingtolearn1234"][Black "111roger"][Result "1-0"][ECO "C47"][WhiteElo "1003"][BlackElo "974"][TimeControl "600"][EndTime "19:48:20 PDT"][Termination "tryingtolearn1234 won by checkmate"][CurrentPosition "2bk1b1r/3pqpp1/1Q1N3p/2p5/2B5/8/PPP3PP/1K1R4 b - - 0 18"] 1.e4 {[%clk 0:10:00]} e5 {[%clk 0:09:59]}....
rafaelmonge Apr 29, 2020
Is there an API endpoint for the embed id of the match? I see this differs from the id used at the end of the game url? Or alternatively is there a link to the id at the end of the game url and the embed id?
stephen_33 Apr 21, 2020
How can I get it to fetch members from a certain club to show on a website?
Hi, I've contacted support, but was redirected to post here. I don't user Google Play Store. Is there any other way to get the Chess.com Android app .apk? Kind regards,Mikołaj
klausweiss Apr 15, 2020
I can’t write why? I know that I was hacked, but they told me that that little man is a developer and I didn’t write bad words and I can’t write! Why?
BaronVonChickenpants Apr 14, 2020
Hello, I have tried to get my tournament data through: https://api.chess.com/pub/tournament/3eobr-1174076 And https://api.chess.com/pub/tournament/3eobr-1174076/1/1 It works almost fine except that the list of players in the first endpoint is limited to 25. Is there way to get full list ordered by standing? Thanks, Petr
Dale00007 Apr 13, 2020
Do you know any software which can determine your elo just after one 10 minutes blitz game? I have one. It can be usefull for new players’ calibration or just for interest. I think when new user chooses his skill by himself it could probably spoil next few games for both players (cause skill difference could be very big). So, my solution: https://github.com/dendiod/elometer
DATACOMMANDER Apr 5, 2020
I've read through the API overview here: https://www.chess.com/news/view/published-data-api Is there no endpoint for live games? Would that just be too hard to keep updated, or...?
DATACOMMANDER Mar 21, 2020
Dear developers, this is the tournament: https://api.chess.com/pub/tournament/iecc-cc4-2019-01 on https://api.chess.com/pub/tournament/iecc-cc4-2019-01/1/1 instead of the tournament results I get this error report: Unrecognized field: game.gameEndTime Any idea where this error comes from? I need to download the tournament games in PGN format. The other tournaments I do they are ok. For example: https://api.chess.com/pub/tournament/iecc-cc7-2020-01/1/1 Any idea. Best, Detlef
DelfMittelmark Mar 6, 2020