Hello, I am using chess.com games archives to download player games. Today the PGN are no more present in the api response.For example https://api.chess.com/pub/player/jrrossibr/games/2021/02 does not contain any PGN.The PGN field is in the documentation: https://www.chess.com/news/view/published-data-api#pubapi-endpoint-games-archive Is it a bug or you intentionally removed it? It was super useful to have the PGN. Best regards,Noé
How can I make a Chess game mode like Chess960 or CrazyHouse? Please respond, thanks!
acity609 Jan 9, 2022
I posted this before but it got lost. It makes no sense that the API provides highest and lowest puzzle rating. Those are likely not even relevant except maybe a chart. My application gives you profile data. Since it has both Lichess and Chess.com, I cannot allow a scenario where your puzzle rating on Lichess is your current rating, and your puzzle rating on Chess.com is your best rating, as this is discrimination. As a result, my application ( discord bot ) doesn't support Chess.com puzzle rating in the claim that Chess.com does not give me that data.
https://api.chess.com/pub/club/{ID}/matches if request sent to this end point with team name with UTF chars then returns null string. No error code sent back. Would expect either 404 or 410 response. Example: https://api.chess.com/pub/club/principauté-de-monaco/matches
stephen_33 Jan 4, 2022
The API does not provide a current tactics rating. Only highest and lowest.
ChessGrandmaster2600 Jan 3, 2022
Tools for downloading, parsing, and searching PGN:https://github.com/josephbharrison/pgn-toolsMerry Christmas everyone!
YankeeBastid Jan 1, 2022
Hi all, It doesn't seem like I can access tournament data for the large Chess.com official tournaments. Is this because of the size of those tournaments or is there some official reason why they are not accessible? https://www.chess.com/tournament/2021-chess-com-daily-chess-championship https://api.chess.com/pub/tournament/2021-chess-com-daily-chess-championship Thanks for any information, Jeremy
mwakanosya Dec 22, 2021
Anyone know if we can retrieve the new league data such as trophies, etc...?
spieschess Dec 22, 2021
Hi all! I call: https://api.chess.com/pub/player/levonaronian/stats and get next answer: {"chess_bullet":{"last":{"rating":3002,"date":1636672838,"rd":87},"best":{"rating":3191,"date":1605125818,"game":"https://www.chess.com/game/live/3596245108"},"record":{"win":52,"loss":80,"draw":23}},"chess_blitz":{"last":{"rating":3132,"date":1636670422,"rd":70},"best":{"rating":3152,"date":1636670032,"game":"https://www.chess.com/game/live/5726414488"},"record":{"win":66,"loss":50,"draw":53}},"fide":2790,"tactics":{},"lessons":{},"puzzle_rush":{}} There isn't rapid information, but in levonaronian's profile we can see: Bullet: 3002, Blitz: 3132, Rapid: 2778. How to explain it ?
Both are gimmicks for my discord bot. Right now it only says if you are premium, not gold, platinum or diamond. Avatar URL is also a useful gimmick. I understand OAuth supplies it but I don't want to authenticate the user, and some bots have commands to fetch other people's data. Again I really need the premium level above all. Edit: Also I really want Biography to be exposed, aka "About Me"
I'm trying to make a chess application with java swing and tcp socket for my school project. But I still have some problems. Please help me out. 1. Should I put the clock for each player on server side or client side? 2. What is effective way to detect a checkmate? I can detect a check by checking all the square on the king's column, row, etc. But I dont think this way can detect a checkmate. 3. One again, where shoud i put the checkmate detector? If a player clicks on a piece, the client side will find all legal moves and display it. Shoud I put the checkmate detector somewhere here? Sorry for my bad english.
ZanyZombie22 Nov 18, 2021
I was looking into using the API to look at US Players, but the API doesn't seem to be working. When I use this link, it says there is a Internal Server Error: https://api.chess.com/pub/country/US/players Does anyone know how to fix this? Thanks!
mwakanosya Nov 17, 2021
Hi all!There is example 'https://api.chess.com/pub/player/erik/is-online'in chapter 'Player online status'on 'https://www.chess.com/news/view/published-data-api'.Data Format must be:{"online": boolean, //true or false}I call 'https://api.chess.com/pub/player/erik/is-online'and has result:{"code":0,"message":"Data provider not found for key \"/pub/player/erik/is-online\"."}What am I doing wrong ?
I'm trying to build a utility tool pack for blindfold chess and one of the tools involves calculating the minimum number of moves to get from one square to another with any piece. The pawn, bishop, queen, and rook are relatively simple (mathematically resolvable), but I don't particularly understand how to go about doing this with the knight. Someone has already suggested a solution utilizing some graph theory but is there, by chance, a simpler way to do this?
WhiteDrake Nov 11, 2021
Hi all!There is description "fide": "integer" // FIDE ratingin chapter 'Player Profile'on 'https://www.chess.com/news/view/published-data-api'.I call 'https://api.chess.com/pub/player/hikaru'and element 'fide' not found in result.What am I doing wrong ?
Tricky_Dicky Nov 10, 2021
Game `7a93b1c4-2fad-11ec-9f26-09ff3c010001` has an end time before start time in the pgn when viewing through the api. It is important to note this was a 1+1 game where I gave my opponent a lot of extra time. Also, I think it is possible that we had a game abort by accident due to inactivity. Then we restarted the game. So perhaps the end time is from the accidental aborted game? Reproduction: Go to https://api.chess.com/pub/player/gammonheck/games/2021/10 Search in page for 7a93b1c4-2fad-11ec-9f26-09ff3c010001 Note that the end time is before the start time.
stephen_33 Nov 10, 2021
What API can return data about arena?
Hello guys, I made an eletronic board to play on a real board and a mobile app to control the match using bluetooth, the question is: on lichess I use the board API to start, finish and play matchs, there is something similar here? I do prefer chess.com and don't want to give it no support on my board. Thanks.
rodolpho_netto Nov 2, 2021