Player games
Endpoint: https://explorer.lichess.org/player
Games of a Lichess player.
Responds with a stream of newline delimited JSON. Will start indexing on demand, immediately respond with the current results, and stream more updates until indexing is complete. The stream is throttled and deduplicated. Empty lines may be sent to avoid timeouts.
Will index new games at most once per minute, and revisit previously ongoing games at most once every day.
Example: curl https://explorer.lichess.org/player?player=revoof&color=white&play=d2d4,d7d5&recentGames=1
Query parameters
Username or ID of the player
Look for games with player on the given side
Variant
X-FEN of the root position
Comma separated sequence of legal moves in UCI notation. Play additional moves starting from fen. Required to find an opening name, if fen is not an exact match for a named position.
Comma separated list of game speeds to look for
Comma separated list of modes
Include only games from this month or later
Include only games from this month or earlier
Number of most common moves to display
Number of recent games to display
Response
Opening statistics and game references for the position.