I'm looking for a way to check if a player is currently in a blitz match and the link of the game, but I can't find an endpoint.I would appreciate any help, thank you
stephen_33 Mar 30, 2021
Just wondering if there is an endpoint for the Passport, list of countries a person has played against type of thing. https://www.chess.com/awards/crww/passport
Hi,Is there an Endpoint to get the list of the Friends of a player?
Hello, I'm trying to use the chess.com API for a discord bot, but have run into an issue when retrieving player ratings. Previously I just web-scraped the user's profile page to get all the ratings from there, but when using the API, the data I get back seems to be missing several game modes (the variant modes). As far as I can tell, the API is supposed to include the variant modes and everything else that is already publicly available on a user's profile. I appreciate any help or ideas as to what is happening. If it's relevant, I'm using this python wrapper library to use the API, but I don't think that's the issue here. Here is the response I get from making the API call for my own ratings (couldn't make the screenshot any longer, just open the image in a new tab and it'll be readable) Here are the stats as they show up on my profile (notice the presence of several more gamemodes)
This looks to be an exceptional situation for rating restricted team matches during registration. Relates only to players who have registered but then their rating exceeds limits before match starts. On web page, player who exceeds rating limit is moved down to bottom of roster and if rating remains outside limits then will be eliminated as match starts. Web page shows rating, API end point does not. Example: https://www.chess.com/club/matches/1204580/games board #16. (as at 10th Feb) In Team match endpoint https://api.chess.com/pub/match/{ID} spec shows "players": [ { "username": "username", "board": "url", // url of board *** "rating": 1355, //rating of player "rd": 25.12, //Glicko RD "timeout_percent": 25.12, //timeout percentage in the last 90 days "status": "basic" //status of user } ]From API endpoint https://api.chess.com/pub/match/1204580 no rating shown.{"username":"thewiddy","timeout_percent":0,"rd":88.54,"status":"premium"}*** Also in all cases no board url is shown during registration
By chance I came across this seeming anomaly in the following league match:- https://www.chess.com/club/matches/1221540/games It's a match with an upper ratings limit and as often happens, a player ('Da_Crusha') has drifted above that limit and will be excluded from the final cut. The curious thing is, the endpoint returns all usual data on this player with the exception of their rating... see: https://api.chess.com/pub/match/1221540 A typical player: "username":"aardvark92","rating":1253,"timeout_percent":0,"rd":55.9,"status":"premium" Da_Crusha:"username":"da_crusha","timeout_percent":0,"rd":45.06,"status":"basic" It's not clear to me why the rating should be omitted - any ideas?
Hi,I'm trying to find a way to automatically send a friend request on chess.com when someone registers on my WordPress website.Is it possible using cURL Post (in the functions.php file) to access: https://www.chess.com/member/{nicknameofthefriendtoadd}Login to my chess.com account and simulate a "click" on the "Add Friend" button?
SarahCBack Mar 29, 2021
Hello, I am currently trying to build a project to provide data-analysis on player's games. The idea behind the project is to offer some analysis based on a large amount of games, instead of studying games one by one. Since the tool is based on the analysis of multiple games at once, it would be interesting to be able to only enter your chess.com username, provide a time period and run the analysis based on the games provided by the API. However, since I would like to make profit from this project, I am wondering about the legal terms of the usage of the API in the context described previously. As stated in the readme: "Under no circumstances may data obtained from the Chess.com website or API be used to create or augment a competing service. If you are concerned that your service may be deemed "competing," ask us. " Would such a service be considered as a competing service of chess.com ? Thanks a lot
RocketmanDan Mar 28, 2021
Hello, I just discovered chess.com API and want to start to play with it and it seems there's a problem with my username or something else cause some endpoints are broken. For example: https://api.chess.com/pub/player/gauthierdscmps returns 200 with all the data. https://api.chess.com/pub/player/gauthierdscmps/is-online same Some other endpoints like /stats, /archives, /{yyyy}/{month} also work fine. But when I try https://api.chess.com/pub/player/gauthierdscmps/games it just returns an empty array. Does someone has an explanation and/or a solution ? Thanks in advance
GauthierDscmps Mar 24, 2021
I was carrying out a task as a favour for one of the admins of The Empire Of Assassins, involving sequentially downloading the club's list of team matches and unexpectedly got this response after the 772nd. match:- match_id=444708 / HTTP error code: 429 - 'Too many requests' I've read responses from staff members on the subject of limits on parallel endpoint requests but I've always understood sequential (i.e. in series, one after the other) are absolutely fine. Has something changed?
stephen_33 Mar 20, 2021
Trying to load live match details for LCEL2021 S3 Rapid Team England Live vs Azerbaijan https://www.chess.com/club/matches/live/585706 https://api.chess.com/pub/match/live/585706 Returns match header details but no score, teams or boards.
Tricky_Dicky Mar 18, 2021
So I planned on getting links to random chess.com puzzles for a discord bot. Problem is that there doesn't appear to be a public api for getting them except for daily puzzles. This means it appears my plans to create a tool to enter a rating range and get a puzzle are on hold but I wondered if maybe you could get a totally random puzzle by simply changing the number at the end of the URL (e.g. https://www.chess.com/puzzles/problem/1018284). My question is this. Is there a known format that this link conforms to? Are they always 7 digits long? Are they chronologically incremental (meaning that newer puzzles have higher numbers, this has implications like more pending ratings at high numbers)? Is there a maximum and minimum ranger of acceptable numbers? I expect I'm not the first to try to do this but I struggled to find the search terms to get meaningfully helpful google results.
I've recently written a blog post which uses chess.com's API to answer the above question. If you're interested, please give it a read - I would be very grateful and welcome any thoughts! Thanks!
mountain72 Mar 10, 2021
Hello all, I am currently working on collecting data from titled players, and have noticed some strange difference in various ratings. For example the player https://www.chess.com/member/denguvi is currently rated 1304 in bullet, however her "highest" rating was 1200 according to the website. In the API under https://api.chess.com/pub/player/denguvi/stats it shows that the "last" bullet rating she had was 1304, but the "best" was still 1200. This has been the same case for quite a few players I've seen. Does anyone know the reason for this rating discrepancy? Is this for certain dates, or was it after the Chess.com update to add 150 bullet rating to everyone's account? Thanks for the info!
Hello. Is there an anticipated release date for the interactive API?
infestationPit Feb 27, 2021
Hi All, I've played around with making a simple chrome extension to replace the standard pieces with my own image files of StarCraft characters. However, I noticed this only works for games vs. the computer. When apply the extension with real games, I notice that 'canInteractWithPieces': is set to 0 (False). Does anyone know a way to update the image file for a piece that doesn't violate canIteractWithPieces?
ZenithIRL Feb 27, 2021
Hey. Is there is any endpoint to check user about me/biography text? I'm making a discord bot where user can connect his account from chess.com, but I need to verify if it is his account. Any ideas how to do it?
Hi, So in this lesson, the last question (6/6) of the quiz seems to be broken on mobile (iOS) targets. I get the position, but no message and the hint only displays "No tips available" (or whatever it is in English, my client is set to German). The correct move is also not recognized, every move is marked as wrong. I tested it several times on both my iPhone and iPad, both with most recent iOS and Chess App versions. On the web version, I was able to solve the quiz.