https://api.chess.com/pub/club/team-colombia {"code":0,"message":"An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community ."}
Avatar of stephen_33
stephen_33 Jan 10, 2025
https://api.chess.com/pub/club/team-canada {"code":0,"message":"An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community ."}
Avatar of stephen_33
stephen_33 Jan 10, 2025
https://api.chess.com/pub/club/pinoy-chess-philippines {"code":0,"message":"An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community ."}
Avatar of stephen_33
stephen_33 Jan 7, 2025
https://api.chess.com/pub/player/cathateme {"code":0,"message":"An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community ."} ...they shut your endpoint down 😉
Avatar of PlayGeometryDaash
PlayGeometryDaash Jan 4, 2025
https://api.chess.com/pub/club/team-sweden {"code":0,"message":"An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community ."}
Avatar of stephen_33
stephen_33 Jan 1, 2025
 was thinking about updating his website as well as adding your features like new tournament for Grandmasters and streamer tournaments and fix
Avatar of thundertoad2379
thundertoad2379 Dec 30, 2024
I am interested to know the full tech architecture that chess.com is built on. Also, the CI strategy and also if your code is open source or private?? Also, where is it hosted and what kind of hardware resources are used Is anyone privvy to this information?
Avatar of M27moud_7assan
M27moud_7assan Dec 29, 2024
Hi, first time poster.  This is about getting an opening name from a transposed position  I've been working on a Chess React app for a while which provides stats, including win rates for openings.  I've created a JSON file of about 60000 lines which has lots of chess openings.  My code reads the games PGN, matches the first part of it to my JSON and returns that opening.  I've created seperate "game" logic in another project that converts the PGN to a FEN position. (I don't want to use this seperate code in my react app as it's quite large on its own.) The issue is, my code will only recognise the opening if the PGN matches, meaning that the moves must be in a correct order It will recognise this as the Italian Game, Blackburne Shilling Gambit: 1.e4 e5 2.Nf3 Nc6 3.Bc4 Nd4 But it will recognise this as a Bishops opening: 1.e4 e5 2.Bc4 Nc6 3.Nf3 Nd4 Despite the FEN being the same  I'm looking for ways to get them both to say the correct opening, as well as all other openings. An idea would be to get every possible FEN and put the opening name to that, but considering the number of board positions that exist, that doesn't seem possible.  If this is more vague, I can definitely elaborate Uhh... How do you post images? 😅 I can't really explain this without a visual aid haha 
Avatar of BenArthurOce
BenArthurOce Dec 26, 2024
I now that you are busy working on api.chess.com, but would an api for chesskid.com work? I don't think that it could be public though do to it being "100% Safe!". But would it come some time in the future?
This link works fine on the site https://www.chess.com/club/matches/1510381 But the API lookup of the match fails. curl https://api.chess.com/pub/match/1510381 {"code":0,"message":"An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community ."}
Avatar of Tricky_Dicky
Tricky_Dicky Dec 11, 2024
Returns this comment at the end of the string, following Registration matches. ,"comment":"Results are temporarily reduced to the most recent 500 matches for performance reasons" This is not shown in the spec for the end point as far as I can see.
Avatar of stephen_33
stephen_33 Dec 10, 2024
A new chess board And apply a chess.com system?
Avatar of Martin_Stahl
Martin_Stahl Dec 10, 2024
Game URL format update: The `/pub/player/{username}/games/{yyyy}/{mm}` endpoint now uses a uuid for the url instead of large integer and has a slightly different path. So `https://www.chess.com/game/live/4795281310` is now `https://www.chess.com/game/a6e9f7d8-8b7f-11ea-9bde-eb3d40010001` although both urls still work and the legacy url is still present in the pgn data. This was first reported two weeks ago but I'm not sure exactly when it was changed as I couldn't find an official change log aside from the inactive pinned topic. Potentially new values in the results: I got these based off an old blog post I made where I put an example of what the endpoint returns but I'm not sure if I removed any values for brevity when I posted. Please correct me if you happen to have a more accurate version of the endpoint. rated - Boolean: true/false value probably representing if the user was playing rated chess? eco - String: This is a url to the chess.com wiki for the opening in the game, this was and still is available via the pgn data but it's nice that they put it there so we don't have to parse pgn data to get it. I should note that this was previously available and documented but was removed at some point. white.uuid and black.uuid - String: I'm not sure what these do but they are present. tcn - String: Possibly an encoded string representing the moves of a game. I'm not sure what encoding was used but it might be related to the implementation of web based stockfish https://github.com/lichess-org/stockfish.wasminitial_setup - String: I have been unable to find an example where this was populated but I'm guessing it has something to do with custom games with a custom setup---In this image I've underlined what I think they added in green and what they changed in red
Avatar of jirkavrba
jirkavrba Dec 8, 2024
When people go to settings nothing works... for last week 'till today on my chromebook
Avatar of Martin_Stahl
Martin_Stahl Dec 6, 2024
Example for member @rendiorton   Games last 90 days TO last 90 days TO Web stats API Calculated TO Last 20 games Standard 152 66 46% 0% 43% 0% Chess960 7 3 42% 35% 43% 35%   There appears to be no logic to the approach and no thought into how these results are presented.  How can this be trusted with the obvious inaccuracies?
Avatar of stephen_33
stephen_33 Dec 6, 2024
can someone add this mode when it hides the rateing of my oppents? temorarly ofc tho.
Avatar of ThroughtonsHeirAlexHebert
ThroughtonsHeirAlexHebert Nov 22, 2024
The creation of this guide may lead to blockades within the unofficial API, as it is not known if one or more pieces of data this guide contains may be purposely hidden by Chess.com for legal or their own reasons. However I hope this guide will not have a capacity to be used abusively. Let's start with a link to the official API documentation https://www.chess.com/news/view/published-data-api If you're still here you want undocumented stuff. Let me warn what it means to use undocumented endpoints: List of endpoints that don't exist:1. About Me in a player's profile I will send links and mention what useful stuff I found in them. In all of them, the website will look like this, with {username} replaced by hikaru, for hikaru's account: https://www.chess.com/callback/user/popup/{username} Let's start: https://www.chess.com/callback/user/popup/hikaru This is generated from trying to message hikaru, and answers the following questions?What's your status*? Are you a staff? What type of premium do you have? Can I gift you a premium subscription, and why? what's your Country ID? Are we friends? Did I send you a friend request? Did you send me a friend request? What's your top puzzle rush score? What's your best rating? In what time control your best rating is? * Status is not Biography of the user, it's the 50 character status as you input directly in your profile page. I will be honest. I don't have anything else, so I will let you know how to get the PGN of a game by its URL Step 1: Take a random URL you need. I will use this: https://www.chess.com/game/live/15360860817 Step 2: Go to this endpoint, the number being the ID of the game. Notice live and game are swapped for unknown reasons: https://www.chess.com/callback/live/game/15360860817 Step 3: From the unofficial endpoint of the callback fetch the date of the game. Step 4: Use the official API to fetch all games within the same month of one of the participants ( top or bottom ) Step 5: Find the URL of the game within the result, as the URL itself is given. Step 6: You also get a PGN. Step 7: ???? Profit https://www.chess.com/callback/member/activity/hikaru?page=1 This endpoint allows you to see hikaru's recent activity over Chess.com Let me know if you have other uses which you know the way to do / want to know how to do. https://www.chess.com/callback/user/games?locale=en_US&all=1&userId=15448422 This gets Hikaru's last games, which is extremely useful for some deep learning programs. The User ID of hikaru was found here, which is identical to one of the other callbacks in this guide: https://www.chess.com/callback/user/popup/hikaru https://www.chess.com/callback/live/stats/hikaru/chart?daysAgo=30&type=blitz This one finds a chart of Hikaru's changes in blitz. You can change time control and days to pinpoint data. https://www.chess.com/callback/member/stats/hikaru General stats of Hikaru from the unofficial API of Chess.com. It gives an important missing data of latest tactics rating. https://www.chess.com/callback/leagues/user-league/search/hikaru League stats of Hikaru from the unofficial API of Chess.com
Avatar of EternalTofu
EternalTofu Nov 17, 2024
Just wanted to share my progress on a Chess Gif Maker I'm currently working on.Got it to where you can choose custom colors, pieces, resolution, etc. just working on figuring out how I can make it faster and what I can do to make it better. Like ui, etc. Here's some results from exploration.
Avatar of vijaypuliparazh
vijaypuliparazh Nov 17, 2024
Hi guys,  When pulling the API: https://api.chess.com/pub/player/skywood55/games/2024/11, The game with the UUID:3f906267-a28d-11ef-bc0e-5206c001000f The PGN says this is an indian game black knights tango, when it is pretty far from that. Real Indian Game Black Knights tango:1.d4 Nf6 2.c4 Nc6 This game (Scotch Game): 1.e4 e5 2.Nf3 Nc6 3.d4 This game is a Scotch game and it even says so when you are doing an analysis on the game. Is this a mistake in the API or is it deciding that it somehow transposed into a bizarre Indian game black knights tango? Has anyone else seen errors like this in the data? I am working on a project and I have run into this and if there is errors in the data like this it would essentially ruin my project. I would have to clean my data once a month which would take way too long. 
Avatar of Martin_Stahl
Martin_Stahl Nov 15, 2024
Hi, I'm a developer and for my personal use, I'd like to programmatically fetch my game reviews. I'd like to monitor for example game accuracy or number of blunders etc. I don't plan to make a product out of this   but it's only for my personal use. Is it still possible to get access to such APIs?  thanks
Avatar of AwesomeAtti
AwesomeAtti Nov 14, 2024
Admins