hello, is there a way to generate games via API? I looked at it right now, but I wasn't able to, but are there future plans to include it? Also, what will be a work-around to this problem? Thanks
Martin_Stahl Apr 9, 2024
If you check out this account @tennisultra34On the site, it reports it's closed.https://www.chess.com/member/tennisultra34 But when I use the API, there's no information that the account is closed. $ curl https://api.chess.com/pub/player/tennisultra34 | jq{ "avatar": "https://images.chesscomfiles.com/uploads/v1/user/203178245.27e2aaf9.200x200o.7d2c52138116.png", "player_id": 203178245, "@id": "https://api.chess.com/pub/player/tennisultra34", "url": "https://www.chess.com/member/TennisUltra34", "name": "Lucas H", "username": "tennisultra34", "followers": 37, "country": "https://api.chess.com/pub/country/CZ", "location": "US", "last_online": 1710643009, "joined": 1666659217, "status": "basic", "is_streamer": false, "verified": false, "league": "Champion"}
seanfeifei Apr 5, 2024
In lichess arenas there is often an option 'berserk', which gains an extra arena point when winning, but the player who chose the option lost half of their time. Shall we allow this option on chess.com?
Paingloss Mar 29, 2024
Something happened yesterday that has me completely baffled. I needed to open a match endpoint in my Chrome browser to check one or two details as I've done many times before. Well it loaded in the window as usual but something about the display looked different - there was a new Chrome 'toolbar' at the top of the browser pane (just above the data), that had the title in it of 'Pretty print' with a checkbox. I clicked on the checkbox and the alph-spaghetti tangle of the JSON endpoint was suddenly transformed into a beautifully formated and readable list of fields. I've often pasted an endpoint into a separate website that offers this service but I've never seen Chrome do it before. That's a really useful new feature I thought and assumed it was now part and parcel of Google Chrome. But firing up my laptop this morning and opening Chrome, there's no sign of that feature anywhere. I've just been searching through Chrome docs and help sites for an hour or two and the only thing I can find is a Chrome extension that provides the feature but I've never loaded or used such an extension. I'm convinced I must have done something accidentally with a shortcut key to enable Pretty print but I've scoured the list in the Help information and there's nothing listed. Question: Has anyone else experienced this and if so, how do I get that back easily? * If I didn't need that extension to use Pretty print yesterday, I shouldn't need it today.
ImperfectAge Mar 28, 2024
Hello World! I call the https://api.chess.com/pub/club/<my-example-club>/matches endpoint of the public API and I expect to receive a team match that I created. Using the "match" endpoint ( https://api.chess.com/pub/match/live/<match-id> ) I can see that the match is created. I think that the "matches" endpoint returns only matches in "registered" (and "in_progres" and "finished") state but the state of my match is "scheduled" according to the match endpoint Can anyone explain how to receive all the matches that are scheduled, but neither started nor finished yet? Thank you
PiotrJanas Mar 24, 2024
Hi I'm the developer of chessinsights.xyz. I'm currently planning on adding more features and I wanted to ask y'all what type of features you would find useful or interesting. The data from the API is enough to replicate many features seen on the premium insights page. Some ideas I've had are: - A heat map of countries you've played people with - Interactivity to graphs which will open an page containing all games that match the criteria of the data point clicked. - Section showing games with biggest ELO difference - Section showing games that ended with checkmate in the last 5 seconds of rapid games - Filtering games by checkmates made with specific peaces - Filtering games by rating This project is open source and built with javascript & vue.js/nuxt.js you can view the source code here https://github.com/NotJoeMartinez/chess-insights, feel free to make a PR or DM me if you would like to collaborate. Thanks.
AbrahamTama Mar 23, 2024
This one, for example https://api.chess.com/pub/club/uschess (US Chess on chess.com) $ curl https://api.chess.com/pub/club/uschess{"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 ."} Specifying the user agent does not help: curl -H "User-Agent: Username:ImperfectAge, Email:.... " https://api.chess.com/pub/club/uschess Same error.
Martin_Stahl Mar 6, 2024
C.C have changed the policy on how daily matches are handled when minimum boards not achieved. https://api.chess.com/pub/match/{ID} This has resulted in a change to the API endpoint. Unannounced, undocumented and nothing in CHANGELOG Extra fields added. Fields missing. Board numbers missing. Published specification is now completly wrong for these circumstances.
stephen_33 Mar 4, 2024
Does anyone know how to download your whole library of games and sort by move accuracy or a similar filter?
JonnyCoco49 Feb 27, 2024
so I was testing the swisstournament endpoint, and I was unable to receive the tiebreaks for players I am trying for https://api.chess.com/pub/tournament/1st-sat-rapid-2024-12-1700-4560201/4/1 actual tournament here:https://www.chess.com/tournament/live/1st-sat-rapid-2024-12-1700-4560201in the docs it mentions getting the tie breaks for daily chess tournaments is possiblehttps://www.chess.com/news/view/published-data-api#pubapi-endpoint-tournament-round-groupbut why the tie breaks are not shown in the normal Swiss tournament? I think this is a bug, which should be fixed.Thanks!
Martin_Stahl Feb 25, 2024
Is there any information regarding the logic behind how the game review calculates the following: Brilliant (!!)... I think there's an article on this but it doesn't mention the others. Great (!) Good (checkmark) Inaccuracy (?!) Mistake (?) Miss (X) Blunder (??) I think Best and Book are self evident and depends on engine depth and book being used.
ciaradale Feb 23, 2024
Hi there, I am making a Google chrome extension about Chess and I need your help. The extension allows you to start a new game by clicking on the extension without having to visit chess.com. I did this by calling this custom URL: https://www.chess.com/play/online/new?action=createLiveChallenge&base=600&timeIncrement=0 Now, I want to add other features, like the ability to pick a rating range, and pick a specific player to start this game. Would you be willing to help me out on this by letting me know the appropriate query parameters? Thanks in advance.
TheVikingPotato Feb 18, 2024
The web page is fine but the endpoint for Team Morocco (Team Morocco) seems to be broken? https://api.chess.com/pub/club/team-morocco2 {"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 ."}The club name and url haven't changed so is this a simple case of the endpoint becoming corrupted, or some other problem?
Tricky_Dicky Feb 10, 2024
Hey, there! I recently found out about this API and decided to work with it. While doing it, I decided it would be great to make a public NPM package that interacts with the API and thought I could share it here. It's written in TS, type safe and all documented. It would be very helpful if you could just give it a try and give me some feedbacks on what I should change or improve. Thanks Link to chess-com NPM package: https://www.npmjs.com/package/chess-com
DanIMirza58 Feb 10, 2024
The API shows this match was lost by both teams, but the match page shows it was a draw. No indication it was canceled due to failing to meet the minimum players by the start time. Example: https://api.chess.com/pub/match/1575841 - Both sides lose https://www.chess.com/club/matches/1-day-per-move-club/1575841 - looks like a draw https://api.chess.com/pub/club/1-day-per-move-club/matches - search for the above match, result shows draw. It's inaccurate to show "lose" with one endpoint and "draw" on another. The match also never started, so is it really finished? So, will a canceled status and canceled result be added any time soon? We have finished, registration, and in-progress match statuses and win, lose, and draw game results, but neither has a canceled status. I think it would be beneficial to add a canceled section to the club matches endpoint. Not only would it make our lives easier, but it would also fix the misleading data the API returns.
MasterMatthew52 Feb 1, 2024
I often download games from players I follow. I grabbed the PGNs from bortnyk's games from Jan 2024. And when I imported the downloaded multi-game PGN file, I got a bunch of parsing errors. I am not totally familiar with PGN syntax, so I am wondering if the downloaded PGN has incorrect syntax, or if SCID's PGN parser is not right. I got the PGN file from here https://api.chess.com/pub/player/oleksandr_bortnyk/games/2024/01/pgn I would appreciate any insights into this! An example of a parsing error: (game 659, line 16507) Error parsing the tag pair: FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR/ w KQkq - 0 1"(game 659, line 16523) Failed to parse the move: B@c5(game 659, line 16523) End of game, ignored the part after the last error.
LateToMate Feb 1, 2024
Hey all - I wrote about this app on here during my development stage but the app is officially available now. It's free, please leave a rating and review if you like it!https://apps.apple.com/us/app/chessbud/id6474365238?ign-itscg=30200&ign-itsct=apps_box_link
knucklehe4d Jan 24, 2024
Hey all, first time poster.I bought an apple watch a couple months ago and was shocked to find there are no apps for reviewing your chess games AT ALL. Like, not even a single one.Anyway I went ahead and built one. It's currently in testflight on the app store and I'm looking for a handful of beta testers to try it out on their own devices and let me know how it goes.This is a watchOS only app, not an iOS app with a companion watch app. If you're interested please reply here! cheers! Steve
knucklehe4d Jan 24, 2024
https://api.chess.com/pub/tournament/2024-chess-com-daily-chess-championship gives:{"status":"error","message":"Internal Server Error"} Is this supposed to work?