Stream an ongoing broadcast round as PGN
Changed onThis streaming endpoint first sends all games of a broadcast round in PGN format. Then, it waits for new moves to be played. As soon as it happens, the entire PGN of the game is sent to the stream. The stream will also send PGNs when games are added to the round. This is the best way to get updates about an ongoing round. Streaming means no polling, and no pollings means no latency, and minimum impact on the server.
Request
- Base URLhttps://lichess.org
- URLhttps://lichess.org/api/stream/broadcast/round/{broadcastRoundId}.pgn
- AuthOAuth 2Authorization code: https://lichess.org/oauthToken URL: https://lichess.org/api/token scopes: study:read
Path parameters
The broadcast round ID
Query parameters
Include clock comments in the PGN moves, when available. Example: 2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }
Include analysis comments in the PGN moves, when available. Example: 12. Bxf6 { [%eval 0.23] }
Response
The PGN representation of the round games, then the PGNs of games as they are updated.
Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info