Access to all data of users, games, puzzles and etc on Lichess.
Lichess is a free, open-source chess server that provides an API for programmatic access to its platform. The API is built on OpenAPI 3.1.0 and covers account management (reading and writing profile information and preferences), authentication, and other server operations, with some endpoints supporting streamed responses in newline-delimited JSON format.
The API supports two authentication methods: personal access tokens for direct use, and an OAuth2 authorization code flow with PKCE for applications that let users log in with their Lichess account. Access tokens obtained through OAuth2 are long-lived, expected to last about one year, and refresh tokens are not supported. Requests are rate-limited, with a 429 response indicating a limit has been exceeded.
Client libraries are available for Python (including async and MicroPython variants), Java, JavaScript/TypeScript, Rust, and .NET/C#, along with example applications demonstrating OAuth2 login and gameplay. The API is intended for developers building applications, bots, or integrations on top of Lichess, such as chess bots, board interfaces, and third-party clients. Bulk downloads of rated games, puzzles, and evaluated positions are also referenced as available resources.
Yes, Lichess is a free/libre, open-source chess server powered by volunteers and donations, and its API is free to use.
It supports personal access tokens for quick access and OAuth2 authorization code flow with PKCE for letting users log in with their Lichess account.
Yes, all requests are rate limited, and exceeding a limit returns an HTTP 429 status, after which you should wait before retrying.
Official or community clients are listed for Python, MicroPython, Java, JavaScript/TypeScript, Rust, and .NET, among others.
It is for developers building chess-related tools, bots, or applications that need to read account data, play games, or access Lichess game and puzzle datasets.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
JSON API for getting jokes about Italians.
Programming, Miscellaneous and Dark Jokes.
Joke of the day and large category of jokes accessible via REST API.
Magic The Gathering Game Information.
API to get Information about a Minecraft Server.
Minecraft server status, player counts, MOTD, and live status badges.