API (games archive) returns empty list of games

Sort:
Avatar of paintednow

Hi,

I just noticed that my games archive returns an empty set of games, even though I just played a couple of games. This is the first time I see this:

https://api.chess.com/pub/player/paintednow/games/2021/10

The response is just an empty set of games, i.e.

{
games: [ ]
}

Any ideas/tips what is going wrong?

Thanks,

PaintedNow

Avatar of Martin_Stahl

The API is cached data and gets updated periodically. So recent games won't be accessible through the API until the cache updates.

Avatar of Tricky_Dicky

Martin, it's the 16th of November and @paintednow is asking for his October games.

Can you define "updated periodically" please.

My understanding is that API gets updated on a 24 hour basis in general.

Mine seems to be OK

https://api.chess.com/pub/player/tricky_dicky/games/2021/10

 

Avatar of paintednow

It is not that recent games are missing: the overall list of games is empty. I downloaded the last 10 games just the day before, but since yesterday, the archive is empty for all months.

 

Due to this, I do not think this is a caching or "latency" problem.

 

Any ideas?

Avatar of evad90

Similar problem here, I cannot see any games in monthly archives from 08/2020. Earlier months are available. 

Yesterday all months were available.

Avatar of Donky-Shot

same for me...

Avatar of ThomasAix

Can confirm, same here.

Avatar of Donky-Shot

openingtree.com is not working neither, certainly du to this API pb.

hoping someone will fix it, but I do not know how to contact support....

 

Avatar of dimpoul

Guys, this is a recent regression from chess.com side. I have implemented a score command that gives me the scores between any two chess com players by going through all their archives. This command was giving me the correct results up until a few days ago, but ever since a few days ago some game archives got completely lost! @chess.com can you double check for any regressions in the game archives API area? It seems like many of us are seeing the same issue from different angles. THanks.

Avatar of paintednow

I contacted the support, but I'm not sure if it really reaches anyone. Hard to believe they don't have any health tests for their API.

Avatar of paintednow

I'm not on Twitter, but maybe that's the best way to reach them...

Avatar of BaronVonChickenpants

Support do respond if you use the 'Ask A Question' system at the bottom of the left hand menu. It just takes a little while.

Avatar of dimpoul

Yeah, this is something that needs to be taken care of soon. It seems like several game archives have disappeared.

Avatar of BaronVonChickenpants

I'm guessing Martin above can flag this up also

Avatar of ieshuaganocry

Hi everyone <3

I can confirm that API works incorrectly. Here is the simplest example:
https://api.chess.com/pub/player/bubster99/games/2021/11 <- returns 0 games played in November.

At the same time you can see that bubster99 has played at least 10 games in November, starting from November, 2. About 500 of our active users already has been migrated to the lichess due to this issue.

Avatar of Donky-Shot

I sent a message to the support, referring our pb and this forum topic

 

Avatar of Tricky_Dicky

Seems this might only be live server games

New forum ==> Live Games Not in Public API anymore

Avatar of ieshuaganocry

Chess.com team said that they are noticed the issue and they are working on it.

Avatar of Martin_Stahl

This should be mostly fixed and should be fully fixed soon as the the caches update.

Avatar of paintednow

Works for me again :-)