Lichess games
Endpoint: https://explorer.lichess.org/lichess
Aggregated rated games from all Lichess players.
Example: curl https://explorer.lichess.org/lichess?variant=standard&speeds=blitz,rapid,classical&ratings=2200,2500&fen=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR%20w%20KQkq%20-%200%201
Query parameters
Variant
X-FEN or EPD 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 filter by
Comma separated list of ratings groups to filter by. Each group ranges from its value to the next higher group in the enum (0 from 0 to 999, 1000 from 1000 to 1199, ..., 2500 from 2500 to any rating above).
Include only games from this month or later
Include only games from this month or earlier
Number of most common moves to display
Maximum number of top games to display.
Due to the way banned users are handled internally, the response may contain fewer games than expected.
Maximum number of recent games to display.
Due to the way banned users are handled internally, the response may contain fewer games than expected.
Optionally retrieve history
Response
Opening statistics and game references for the position.