Games

Stream moves of a game

Changed on

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}

Request

  • Base URL
    https://lichess.org
  • URL
    https://lichess.org/api/stream/game/{id}
  • Auth
    none required

Path parameters

idstring required
Example:LuGQwhBb

Response

The stream of the game moves.

Changes

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • breaking

      added to the /// response property oneOf list for the response status

    • breaking

      added to the /// response property oneOf list for the response status

    • breaking

      the /// response's property type changed from object to no type for status

    • breaking

      the /// response's property type changed from object to no type for status

    • breaking

      removed the required property //// from the response with the status

    • breaking

      removed the required property //// from the response with the status

    • breaking

      removed the required property //// from the response with the status

    • breaking

      removed the required property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status