lichess.org

Welcome Lichess Boards

A new way to play on Lichess!

2 years ago we released a public API for Bots, that allows chess engine developers to test their creations against players and other bots.

While the Bot API can also be used by human players, it is restricted to challenge games, and require creating a special BOT account. As a result, it has been mostly used for creating artificial opponents.

Enters the new Board API. Designed for devices that are operated by a single human player, it has a different set of capabilities and restrictions that makes it more suitable to electronic boards and third-party clients. It can be used with a normal Lichess account, and it can play pool games and tournament games.

Here's a comparison of the Board API and the Bot API.

Board API

For e-boards and any chess client operated by a single human player.

Features

  • Play games, read/write chat, create/receive challenges
  • Compatible with normal Lichess accounts
  • Lobby games, tournament games, challenges and AI games

Restrictions

Links

Bot API

For chess engines, centaur/cyborg play, and vote chess programs.

Features

  • Play games, read/write chat, create/receive challenges
  • Engine assistance is allowed
  • All time controls are allowed, with the exception of UltraBullet

Restrictions

  • Requires a special BOT account
  • Only challenge games and AI games. Pools and tournaments are off-limits.
  • Rated games only grant half the points
  • No leaderboards

Links

If you develop a chess client based on the new Board API, please let us know, and we will list it here.

Happy coding and chessing!

Illustrations: ChessboARDunio by @bichopebitou

F.A.Q.

  • Why is it restricted to Rapid, Classical and Correspondence?
    For cheating reasons. When moves are received through an API, Lichess can't tell who really played them. Is could be a person, or a chess engine. The Lichess website and mobile app embed cheat detection tools that help us know if moves are played fairly. But APIs bypass these tools.
    Of course, most of our cheat detection happens on the server-side, and therefore also applies to the Board API. But we still don't feel comfortable giving up on client-side detection for any games faster than Rapid.

Lichess is a charity and entirely free/libre open source software.
All operating costs, development, and content are funded solely by user donations.