Games

Stream games by IDs

Changed on

Creates a stream of games from an arbitrary streamId, and a list of game IDs. The stream first outputs the games that already exists, then emits an event each time a game is started or finished. Games are streamed as ndjson. Maximum number of games: 500 for anonymous requests, or 1000 for OAuth2 authenticated requests. While the stream is open, it is possible to add new game IDs to watch.

post/api/stream/games/{streamId}

Request

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

Path parameters

streamIdstring required

Arbitrary stream ID that you can later use to add game IDs to the stream.

Example:myAppName-someRandomId

Request body text/plain

string required

Response

The stream of the games matching the requested IDs.

Changes

    • info

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

    • info

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