Skip to contents

Authentication

Manage Personal API access tokens for authenticated requests.

lic_token()
Get Lichess API Token

API Clients: Games

Direct interfaces to the Lichess Games API (HTTP requests).

lic_games_user() lic_get_games()
Download Games of a Lichess User
lic_game() lic_get_game()
Download a Single Lichess Game

API Clients: Users & Ratings

Direct interfaces to the Lichess Users and Ratings API (HTTP requests).

lic_user() lic_user_profile()
Get Lichess User Profile
lic_user_perfs()
Get Lichess User Performances Summary
lic_user_rating_history() lic_rating_history()
Get Rating History of a Lichess User
lic_user_perf_stats()
Get Detailed Performance Statistics of a Lichess User

API Clients: Opening Explorer

Direct interfaces to the Lichess and Masters Opening Explorer databases.

lic_explorer_lichess() lic_opening_explorer()
Query Lichess Opening Explorer Database
lic_explorer_masters() lic_masters_explorer()
Query Lichess Masters Opening Explorer
lic_explorer_player()
Query Player Opening Explorer Database

API Clients: Puzzles

Direct interfaces to the Lichess Puzzles API.

lic_puzzle_daily()
Get Daily Lichess Puzzle
lic_puzzle_activity()
Get User Puzzle Activity

Tidy Wranglers (Offline Transformation)

Offline data manipulation functions that unnest, standardize, and format chess data into tidy tibbles.

lic_tidy_games()
Tidy Lichess Game Data
lic_tidy_moves()
Tidy Game Moves, Clocks, and Evaluations
lic_normalize_games()
Normalize Game Data (Legacy Alias)

Chess Analytics (Offline Statistics)

Offline analysis tools to summarize win rates, repertoire performance, and tactical metrics.

lic_stats_openings()
Calculate Opening Statistics
lic_stats_opponents()
Calculate Head-to-Head Opponent Statistics
lic_stats_time()
Calculate Performance Statistics by Time and Day
lic_stats_clocks()
Calculate Clock Usage and Time Trouble Statistics

Package Datasets

Built-in datasets included with the package.

lichess_openings
Lichess Chess Openings Database