Is the API documented anywhere? Or do I have to search through posts for potential samples? I want to start by retrieving the PGN of a game. If necessary... call for a list of games then retrieve one of those games. Thanks in advance.
Avatar of chesslover0003
chesslover0003 Oct 18, 2023
that day i tried to change my theme and not working
Avatar of Tricky_Dicky
Tricky_Dicky Oct 14, 2023
Not able to upload any backgrounds. It has been like this for the last 5-6 days. It was just working like a week or two ago but now the "Upload" button is not displaying.
Avatar of Martin_Stahl
Martin_Stahl Oct 14, 2023
Hi, I tried to use chess.com api to get my players archive. In browser it works fine, but in VB (using HttpWebRequest) I get an 403 error. Do I need any authorizsation, headers,...? Regards, Martin
Avatar of Hellesemer
Hellesemer Oct 11, 2023
Hi, I am new here, but I didn't find an answer in the previous posts: I need to download "all" games played within a month (Feb. 2023) like the monthly lichess data dumps. They contain all pgns for all games played on their servers in a given month. I guess, since such data dump doesn't exist, I would need to download the monthly data dumps for each player ... but for that I would need a more or less complete player list. So, the question is, how to obtain such list, or if there is a better method for obtaining that data. I am aware that I probably won't get all games within a month, but in order to compare properly, I need a similar number than what I got from lichess, which is ~100.000.000 games. Cheers Arend
Hey there, I've been getting into chess engines recently and have been wondering if it was possible to get information of CCC games using chess.com's API, such as statistics and the current position. After looking through the Published Data API, I was not able to find anything related to this and thought that it might be a cool addition if it is not already available.
Avatar of Whitelisted0
Whitelisted0 Sep 28, 2023
Hi guys, Not sure this is the right place to ask but I created a small iOS Swift library that analyzes a picture of a chessboard and renders the FEN notation of the pieces. I'm currently training my Machine learning model with a lot of different pictures of 2d top-down puzzles. If you are interested in helping me feel free to reach out to me. I'm looking for sharp photos taken from books or newspaper chessboard puzzles. Andy
Avatar of AlexeyChess
AlexeyChess Sep 22, 2023
Member listed in country players endpoint incorrectly https://api.chess.com/pub/country/XE/players Looks to be a Guest account with international flag Listed member @Guest0691425877
Avatar of Tricky_Dicky
Tricky_Dicky Sep 22, 2023
Chess.com is undoubtedly a popular platform among chess enthusiasts, offering a plethora of useful tools and resources for players of all levels. While the platform has undoubtedly provided a positive experience, it's important to continually strive for improvements. In this discussion, I would like to suggest an enhancement that could further elevate the user experience. Enhancement Proposal: In the current version of the Chess.com app, one minor inconvenience stands out: when a player selects a chess piece to move, the possible moves are indicated by a point at the center of the destination square. While this approach works, I believe there is room for improvement. Suggestion: Extend the Clickable Area: Instead of indicating the possible moves with a point at the center of the destination square, I suggest extending the clickable area to cover the entire selected square. This means that when a player taps on a piece and then taps on a destination square, the entire square should register the move, rather than just its center. Benefits: Preventing Accidental Errors: This adjustment would significantly reduce the chances of accidental errors during piece placement. Currently, users might occasionally misplace pieces due to the limited clickable area, leading to frustration and disrupted games. Expanding the clickable area would alleviate this issue.Smoother Interaction: With a larger clickable area, the interaction between the user and the app would become smoother and more intuitive. Players would feel more in control of their moves, enhancing their overall gaming experience.User-Friendly Design: To avoid any potential confusion during the development phase, it would be wise to incorporate a slight padding around each square. This padding would ensure that users have no difficulty accurately placing pieces in their desired squares, even on smaller screens or when using touch-based devices. Implementing this suggested change would be a step forward in enhancing the Chess.com app's user experience. It's a small adjustment that can make a big difference, ensuring that players can enjoy the game without the frustration of accidental errors. I appreciate the hard work and dedication of the Chess.com team in creating an exceptional platform for chess enthusiasts, and I believe this enhancement would further solidify Chess.com as the go-to platform for chess players of all levels.
Avatar of Martin_Stahl
Martin_Stahl Sep 15, 2023
On the 8th September I got a 'Error 502': Database overload. First time ever. Not sure now where that is documented now as it is no longer in the spec? Today (9th September) I've got a 'Error 429': 'we are refusing to interpret your request due to rate limits' Again never had this before. From the spec: Your serial access rate is unlimited. If you always wait to receive the response to your previous request before making your next request, then you should never encounter rate limiting. However, if you make requests in parallel (for example, in a threaded application or a webserver handling multiple simultaneous requests), then some requests may be blocked depending on how much work it takes to fulfill your previous request. You should be prepared to accept a "429 Too Many Requests" response from our server for any non-serial request that you make. In some cases, if we detect abnormal or suspicious activity, we may block your application entirely. If you supply a recognizable user-agent that contains contact information, then if we must block you application we will attempt to contact you to correct the problem. I NEVER make parallel requests. Never have done and the module was one I have run virtually everyday for the past 4+ years. Some understanding of what is happening would be appreciated.
Avatar of Tricky_Dicky
Tricky_Dicky Sep 9, 2023
https://api.chess.com/pub/player/{username} last logon date incorrectly shown for random user names. Unable to see any pattern. examples: https://www.chess.com/member/thrain31 TODAY API 24/08/2023 13:53:00https://www.chess.com/member/joshcad 06/09/23 API 23/08/2023 12:26:00https://www.chess.com/member/robertson80 07/09/23 API 28/08/2023 09:17:00https://www.chess.com/member/jdelej TODAY API 20/08/2023 23:32:00
Avatar of Tricky_Dicky
Tricky_Dicky Sep 8, 2023
Hey all, I've started building a twitch bot in NodeJS using TypeScript, which is a bot that connects to a Twitch channel and listens to user commands. I've started on this project yesterday, so currently it's limited to a single command "!rating <user> <type>" which queries the Player Stats API endpoint and sends a message to the Twitch channel: You can check out more info on the idea and the code at GitHub: https://github.com/sliceofcode/chess-twitch-bot
Avatar of KittyFleetCommander
KittyFleetCommander Sep 7, 2023
Hello! I have been using this endpoint: https://api.chess.com/pub/player/{user} to get info of a user. The endpoint works well in the navigator, but fails with Error 403 in my python code. What is wrong? Is this related with the OAuth 2.0 topic?
Avatar of stephen_33
stephen_33 Sep 7, 2023
Hello,I have a list of dozens of users on my site. Currently, once a day I make appropriate requests to the api to update information about the games they have played.However, I would like to do it more often, e.g. every hour.Wouldn't such a frequency be considered too frequent? Can I calmly execute my queries at such intervals?Thank you in advance for your response
Avatar of Martin_Stahl
Martin_Stahl Sep 3, 2023
Couldn't work out why a 'match-settings' checking routine I use suddenly started returning errors in every match sampled but on checking a match I found something new! "initial_setup":"" has suddenly appeared in the match "settings" data. It doesn't appear to do anything at this stage but does anyone know anything about this?
Avatar of stephen_33
stephen_33 Sep 1, 2023
For example the response for a certain random puzzle: "url":"https://www.chess.com/forum/view/daily-puzzles/962010---mate-in-3" Yet visiting that link does not take you to that puzzlee but instead takes you to today's daily puzzle. You'll see that none of these daily puzzle links actually take you to the right puzzle, instead always redirecting to today's daily puzzle. https://www.chess.com/forum/view/daily-puzzles/3242015---mate-in-4 https://www.chess.com/forum/view/daily-puzzles/7-11-2019-protecting-attacking-and-winning https://www.chess.com/forum/view/daily-puzzles/5-16-2019-double-discovery
I had an idea that could potentially make use of the interactive API at some point. I've wanted to write my own engine for a while, but never gotten around to it. But if/when I do, I'd love to be able to take it online in a clearly-designated computer account, similar to the chess.com computers like @Computer4-IMPOSSIBLE, but running on my hardware. I believe FICS has a feature similar to this (update: so does Lichess). This might be best as a new kind of account type, perhaps with a little computer icon next to the name (similar to where staff have a green pawn and mods have a blue pawn). That way there's no confusion from anyone (including potential opponents) as to whether there's cheating going on. It would also allow people to use the existing seek filter to exclude these computer accounts. It might be good if there was some kind of verification that people have developed their own engines so that you don't get dozens of Stockfish clones. A feature like this could make chess.com a popular platform for engine developers, but it would need caution so as to avoid facilitating cheating.
Hello Chess.com, We are students at the University of Texas at Austin that are members of ECLAIR, a club focused around completing projects related to robotics and artificial intelligence. We were hoping we could get some guidance on one such project, a robotic arm that is capable of playing and teaching chess to users through a web interface. So far, our arm is able to use CV to interpret user moves, and passes the game state on to Stockfish in order to make its own move. However, we were also hoping to create our own AI to eventually use in the place of Stockfish, and so we were wondering if you had any advice you could offer as to how we could create an analysis engine capable of identifying why a move was good or bad (such as identifying forks or isolated pawns)? If possible, we would really appreciate it if you could put us in touch with a developer or someone else who is familiar with such systems. Thank you! Sincerely, Hursh
Avatar of SteelFeathers8
SteelFeathers8 Aug 25, 2023
https://api.chess.com/pub/player/jan1080/stats Error with time stamp of latest daily rating Endpoint return 05/07/2023 20:22:00 last finished game Dec 9th 2022
Avatar of Tricky_Dicky
Tricky_Dicky Aug 23, 2023
Admins