v3

OpenAPI 3.1.0AGPL-3.0-or-later2026-07-311871891.1 MB
Games

Stream moves of a game

Stream positions and moves of any ongoing game, in ndjson. A description of the game is sent as a first message. Then a message is sent each time a move is played. Finally, a description of the game is sent when it finishes, and the stream is closed. Ongoing games are delayed by 3 moves, as to prevent cheat bots from using this API. No more than 8 game streams can be opened at the same time from the same IP address.

get/api/stream/game/{id}

Path parameters

idstring required
Example:LuGQwhBb

Response

The stream of the game moves.