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
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
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?
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
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?
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
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
Tricky_Dicky Aug 23, 2023
At https://api.chess.com/pub/player/defaultedwastaken/stats , it says "chess_rapid":{"last":{"rating":800,"date":1689907538,"rd":48} but on https://www.chess.com/member/defaultedwastaken the user's rating is shown as 2000, which seems to be correct. What's going on, why is the rating incorrect in the API?
I just want to know that. How can I see who blocked me with chess.com published data API?
Tricky_Dicky Aug 7, 2023
For example, if I had a list of 1000 players, and i wanted to get the stats for all 1000 to ultimately find who has the highest amount of followers, or to see how many out of the 1000 are streamers. I would have to make 1000 requests to the pub/player/{username} endpoint. Would I encounter any rate limits? If not, what if the list is even larger, lets say for 300000 users? I've done some testing for 100ish users at once and found no issues other than some loading times but I'm unsure whether I should test a larger amount of users. Also curious if different rate limits are applied to different endpoints (I also want to make requests to the user stats endpoint for ratings).Thanks for the help!
CosmosOfSolomon Aug 4, 2023
I've noticed the new DOM had variables in root like --theme-piece-set-wp which makes it a lot easier to style pieces and boards using just CSS. I already updated my own code when it broke down, but it's still going between the old and new versions, which is annoying.
SaberSpeed77 Aug 1, 2023
I would like to use OAuth authorization to bypass api limits.Is it enough that it generates one token and I can use it all the time in my application or do I have to renew it every time it starts/shoots the api? If I want to download only a few data from the api without requiring users to log in, can I use my account to generate a token? Can you give some example? :) Thank you in advance!
CosmosOfSolomon Jul 29, 2023
um, I would like to learn more about the Chess.com API, I have read the documentation, and I would like to find some websites that actually use the API. For example, chessinsights.xyz and openingtree.com are good ones. Are there any other websites that use the Chess.com API?
ShawnBierman Jul 23, 2023
Hi! Could someone explain me how the API works, please? A step-by-step introduction with references etc. would be very kind and helpful!
LOL_Gamer2 Jul 23, 2023
hello guys, when chess live was up some months ago, this link used to work in order to invite a player by just clicking this link in this case to invite my friend abfchess https://www.chess.com/live#time=3m0s2i&game=&rated=unrated&minrating=&maxrating=&color=&member=abfchess now it's not working anymore, could someone create another one? for the new online play or teach how to do it?
itsBenAndKaren Jul 17, 2023
Hello friends, I am thinking of starting to work with the API and have already posted a question on the sticky posts where related as to which API would be required for my needs.I saw one project that made use of it and was interested at that moment to start communicating with the club members. My use of the API would be to help visualize data in a different way. being a programmer (2000-2003 canadian pre-uni degree) and a statistician by nature, gotta get some stats I crave and the API seems the way to go for ease of access. Before starting the study of how everything works in these forums (lots of great info present) I must know if it's a viable project based on feasibility.Question being now for thes current post : My project is not much more "complicated" that this, (displaying data based on the user, but from DIAMOND MEMBERSHIP deep analysis data), https://chessheat.com/?hue=213&user=throughtonsheiralexhebert&year=2023 would I be able to use the basic public API or do I need the authorization one? Being that for my use I'd require the diamond user statistics, and public users wanting to see their stats could see those public as I would not make a system where the public could enter their username login. This is not that kind of project.Public frontend : check by username akin to that chess-heat example,but intranet I'd like to get my deeper personal data to talk about the progression and ''career'' in my Chess.com blogs. Each would be separate, encapsulated project. I'd get data to analyze in one, intranet then only keep the resulting graphs/details. Use them in blogs on here. The public application if possible would show user's data by name entered.Telling the story of our passion for chess can be helped by those deep stats and there is a youtube channel that inspired me to execute my vision of such data presentation. The chess.com API project would be a first step.
The /callback/live/game/{gameid} response for Bughouse recently changed, some hours ago it contained the partnerGameId value that pointed for the other game id, but it does not anymore. Can you please put it back? Not like I used it or anything since that would be against the ToS but some people surely use it. Also I think it broke the ability to review past games on your end as well. - - For a workaround: the vast majority of the recent games, the game id for the other game is gameid+2 or gameid-2. There are some exceptions where the other game id is different. Also for older games it is +1 or -1.
While I am clearly not Chess.com staff, I finally found the official application form. Could not find it anywhere else so here you go: https://forms.gle/RwGLuZkwDysCj2GV7 Edit: Official Documentation for after the application is successful below: https://chesscom.notion.site/Getting-started-with-Chess-com-OAuth-2-0-Server-5958e57c8c934a3aa7abda2d670969e8
ThroughtonsHeirAlexHebert Jul 9, 2023