Lichess Board API
Play on Lichess with physical boards and third-party clients.Works with normal Lichess accounts. Engine play or assistance is [forbidden](https://lichess.org/page/fair-play).### Features- [Stream incoming chess moves](#tag/board/GET/api/board/game/stream/{gameId})- [Play chess moves](#tag/board/POST/api/board/game/{gameId}/move/{move})- [Read](#tag/board/GET/api/board/game/stream/{gameId}) and [write](#tag/board/POST/api/board/game/{gameId}/chat) in the player and spectator chats- [Receive](#tag/board/GET/api/stream/event), [create](#tag/challenges/POST/api/challenge/{username}) and [accept](#tag/challenges/POST/api/challenge/{challengeId}/accept) (or [decline](#tag/challenges/POST/api/challenge/{challengeId}/decline)) challenges- [Abort](#tag/board/POST/api/board/game/{gameId}/abort) and [resign](#tag/board/POST/api/board/game/{gameId}/resign) games- Compatible with normal Lichess accounts### Restrictions- Engine assistance, or any kind of outside help, is [forbidden](https://lichess.org/page/fair-play)- Time controls: [Rapid, Classical and Correspondence](https://lichess.org/faq#time-controls) only. For direct challenges, games vs AI, and bulk pairing, Blitz is also possible.### Links- [Announcement](https://lichess.org/blog/XlRW5REAAB8AUJJ-/welcome-lichess-boards)- [Implementation example](https://github.com/lichess-org/api-demo) and [live demo](https://lichess-org.github.io/api-demo/)- [Certabo support](https://github.com/haklein/certabo-lichess)- [Lichs (play from command-line)](https://github.com/Cqsi/lichs)- [Lichess discord bot](https://top.gg/bot/707287095911120968)- [cli-chess](https://github.com/trevorbayless/cli-chess/)- [Blunderly 3D board](https://github.com/maurimo/blunderly)- Yours? Please make [an issue or pull request](https://github.com/lichess-org/api).
Lichess Board API is one of 23 APIs that Lichess publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
This API exposes 2 JSON Schema definitions.
Tagged areas include Boards. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, a JSON-LD context, and 2 JSON Schemas.
This API exposes 13 operations across 12 paths, and defines 35 schemas. It is described by OpenAPI 3.1.0, at version 2.0.144.
Requests are made against 4 base URLs: https://lichess.org, https://lichess.dev, http://localhost:{port}, http://l.org.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Lichess Board API declares
1 security scheme
for authenticating requests.
It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 23 scopes.
OAuth2— Read [the introduction for how to make authenticated requests](description/authentication).
Paths & Operations 13
Across 12 paths, the API surfaces 13 operations — 3 GET, 10 POST. Each is listed below with its method, path, parameters, and response codes.
Play on Lichess with physical boards and third-party clients. Works with normal Lichess accounts. Engine play or assistance is [forbidden](https://lichess.org/page/fair-play). Fea…
Schemas 35
The contract defines 35 schemas that model the data the API accepts and returns. The most detailed are GameEventInfo (21 properties), ChallengeJson (15 properties), GameFullEvent (14 properties), GameStateEvent (13 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Lichess 12
Other APIs Lichess publishes across the network.
This is an independent, third-party profile of Lichess Board API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.