AsyncAPI channel · Lichess · Lichess Streaming API

/api/stream/games-by-users

Stream the games played between a list of users in real time. Only games where both players are part of the list are included. Emits an event each time a game is started or finished. Use the `withCurrentGames` query parameter to also receive currently ongoing games at the start of the stream. Up to 300 users.

Provider: Lichess AsyncAPI: v2.6.0 Spec: Lichess Streaming API Operations: 1 Messages: 1

Channel address

/api/stream/games-by-users

Operations

streamGamesByUsers
Stream games of users (ND-JSON)

Messages

gameStreamGame
A game record emitted on `/api/stream/games-by-users` and `/api/stream/games/{streamId}`. Emitted when a game starts or finishes (and for already-running games at stream open when requested).
Content-Type: application/x-ndjson

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.