chess.com API?

Sort:
mgx9600

Hi,

I remember reading that chess.com has public API allowing third party developers to write client software.

Is this true? If so, where can I find some docs on it?

blueemu

They might not want to release it so as to avoid engine monkeys from making use of the info.

Jeff2E161

https://www.chess.com/club/chess-com-developer-community

Martin_Stahl
mgx9600 wrote:

Hi,

I remember reading that chess.com has public API allowing third party developers to write client software.

Is this true? If so, where can I find some docs on it?

 

 

Last I recall, it allowed some ways to interface with the site, but was mostly limited to data lookup. There is no way to write a chess client to play, as I recall. The link provided be @jeff2e16 should have all the details.

mgx9600

Thanks for the info.

 

handsoffhans

No major website is in a developy mood, <Moderator> Text Removed for Violating Community  guidelines. gchess325.

Lyks01

The staff says the Interactive API should be coming by the end of 2020, so perhaps in 2021.
https://www.chess.com/news/view/published-data-api
This would be huge to be able to make your own physical electronic chessboard for example and play versus online humans by receiving and sending game moves through their API !

mgx9600

Yes, if the API comes along, I'll write a chessboard software that works with chess.com.

Right now, I have 2 ideas in mind:

1. A phone (with camera) set up above a regular board to forward moves to chess.com and speak opponent moves.

2. The above set up but also ask the phone to control a robot arm to physically perform the opponent move (as well as speak it). The arm can also move the player's pieces so with voice command.

 

mgx9600

Oh, the above cases will use a regular chessboard, of course.

alexeykutirev

So, how square shess off works then? if api is not allowed. They have mobile app with connection to chess.com

Martin_Stahl
alexeykutirev wrote:

So, how square shess off works then? if api is not allowed. They have mobile app with connection to chess.com

 

Square Off worked with the site to develop it and my guess is that it is locked down to the Square Off servers.

piotrwys

I would love to see game API to enable Chess.com in VR. How cool this might be!

danpkbar
@mgx9600

This is actually exactly what I was looking to do when I landed on this thread.

Now that I’m home all day my hope was to be able to set up my chess board in the corner and have it always accurately reflect the game I’m playing against my dad on here. Thought that would be pretty neat and I’m hoping to build some part of that. Will post any results here.
masterofamn

Another +1 from me, recently joining chess.com coming from the ICS. I have already implemented an ICS interface for my DGT chessboard and if this new interactive API

"This is read-only data. You cannot send game-moves or other commands to Chess.com from this system. If you wish to send commands, you will be interested in the Interactive API releasing later this year."

is indeed coming "later this year", I'll try to do an implementation of it to play online-"otb" with the DGT clock/board also for chess.com.

Martin_Stahl
masterofamn wrote:

Another +1 from me, recently joining chess.com coming from the ICS. I have already implemented an ICS interface for my DGT chessboard and if this new interactive API

"This is read-only data. You cannot send game-moves or other commands to Chess.com from this system. If you wish to send commands, you will be interested in the Interactive API releasing later this year."

is indeed coming "later this year", I'll try to do an implementation of it to play online-"otb" with the DGT clock/board also for chess.com.

 

The site already has DGT support.

https://support.chess.com/article/1257-how-can-i-play-with-a-dgt-board

 

But the site won't open the API to allow game play.

masterofamn

Thanks for the link, I will take a closer look at this. What I want to do though is to implement this on my DGTPi, i.e. use the RasPi inside my DGT clock for the link. If the interface to DGT already exists this should be possible to do...

 

[Edit: entry was cut short on my smartphone]

My_Budgies

ok

svarog15
mgx9600 wrote:

Hi,

I remember reading that chess.com has public API allowing third party developers to write client software.

Is this true? If so, where can I find some docs on it?

 

My friend at school made a discord bot that uses chess.com api to show chess player stats.

Dmrenger

Does anyone have an update on this? I would like to integrate my Chess.com activity into Timeular, an activity tracking app I use. I want to know how much time per week I spend playing chess.

Martin_Stahl
Dmrenger wrote:

Does anyone have an update on this? I would like to integrate my Chess.com activity into Timeular, an activity tracking app I use. I want to know how much time per week I spend playing chess.

 

I replied in the Developer club notes, but you would need to write a process to export your games and parse them to extract the time spent playing each game and do the calculations.