Home
Lichess
Lichess
Lichess is a free, ad-free, open-source online chess server operated by a French nonprofit and powered entirely by volunteers and donations. It serves millions of games per day with live play, tournaments, puzzles, studies, broadcasts, analysis, and a public API. The server (lila), engine library (scalachess), mobile app, board UI (chessground), and distributed Stockfish analysis network (fishnet) are all open source under AGPL-3.0, MIT, and GPL-3.0 licenses. The Lichess API provides 185 documented operations across 23 functional areas including Account, Users, Games, Puzzles, Teams, Board, Bot, Challenges, Arena and Swiss Tournaments, Simuls, Studies, Broadcasts, Messaging, OAuth, FIDE, Opening Explorer, Tablebase, External Engine, and Cloud Analysis, with comprehensive ND-JSON streaming support.
1 APIs
23 Capabilities
26 Features
Chess Games Open Source Nonprofit Tournaments Puzzles Bots Streaming ND-JSON OAuth
Lichess publishes 1 API on the APIs.io network. Tagged areas include Chess, Games, Open Source, Nonprofit, and Tournaments.
The Lichess catalog on APIs.io includes 23 machine-runnable capabilities , 1 JSON-LD context, and 1 Spectral governance ruleset.
Lichess’ developer surface includes developer portal, documentation, sandbox, SDKs, tooling, code examples, authentication, and 36 more developer resources.
The Lichess API is a comprehensive REST and streaming API covering account, users, games, puzzles, teams, challenges, board and bot play, Arena and Swiss tournaments, simuls, st...
Run Capabilities with Naftiko — Deploy and orchestrate these API capabilities using Naftiko Fleet.
Run with Naftiko
Lichess API — Account. 6 operations. Lead operation: Get my profile. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Analysis. 1 operation. Lead operation: Get cloud evaluation of a position.. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Tournaments (Arena). 13 operations. Lead operation: Get current tournaments. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Board. 13 operations. Lead operation: Stream incoming events. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Bot. 12 operations. Lead operation: Get online bots. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Broadcasts. 19 operations. Lead operation: Get official broadcasts. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Bulk pairings. 6 operations. Lead operation: View your bulk pairings. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Challenges. 11 operations. Lead operation: List your challenges. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — External engine. 8 operations. Lead operation: List external engines. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — FIDE. 3 operations. Lead operation: Get a FIDE player. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Games. 13 operations. Lead operation: Export one game. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Messaging. 1 operation. Lead operation: Send a private message. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — OAuth. 4 operations. Lead operation: Request authorization code. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Opening Explorer. 4 operations. Lead operation: Masters database. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Puzzles. 11 operations. Lead operation: Get the daily puzzle. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Relations. 5 operations. Lead operation: Get users followed by the logged in user. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Simuls. 1 operation. Lead operation: Get current simuls. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Studies. 9 operations. Lead operation: Export one study chapter. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Tournaments (Swiss). 10 operations. Lead operation: Create a new Swiss tournament. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Tablebase. 3 operations. Lead operation: Tablebase lookup. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Teams. 14 operations. Lead operation: Get team swiss tournaments. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — TV. 4 operations. Lead operation: Get current TV games. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Lichess API — Users. 13 operations. Lead operation: Get real-time users status. Self-contained Naftiko capability covering one Lichess business surface.
Run with Naftiko
Run Capabilities with Naftiko — Deploy and orchestrate these API capabilities using Naftiko Fleet.
Run with Naftiko
Free, ad-free, open-source online chess server operated by a French nonprofit, funded by donations
Full OpenAPI 3.1 specification with 185 operations across 23 tags published at github.com/lichess-org/api
Account, users, relations, and messaging endpoints for managing players and social graph
Games REST and ND-JSON streaming endpoints for current and historical games, including PGN export
TV channels and current best games for live broadcast and embedding
Daily puzzle, puzzle by ID, puzzle activity, and puzzle dashboard endpoints
Teams API for creating, joining, listing, and managing chess teams
Board API for playing real-time games with physical boards and third-party clients using regular accounts
Bot API for programmatic play by accounts upgraded to bot status, with streaming game state
Challenges API for issuing, accepting, declining, and listing challenges including AI and open challenges
Bulk pairings for programmatically creating many games at once
Arena and Swiss tournament APIs including create, update, terminate, join, withdraw, and result export
Simuls endpoint for current and upcoming simultaneous exhibitions
Studies API for exporting and importing study chapters in PGN
Broadcasts API for creating tournaments, rounds, and pushing PGN updates for live event coverage
FIDE endpoints exposing FIDE player and federation data
Opening Explorer with Masters database, Lichess database, and player database lookups
Tablebase endpoint for 7-piece Syzygy endgame results
External Engine API enabling user-hosted engines to power analysis on lichess.org/analysis
Cloud evaluation lookup for previously evaluated positions
OAuth 2.0 Authorization Code Flow with PKCE plus personal access tokens, long-lived (one year typical)
Newline-delimited JSON (ND-JSON) streaming for events, games, and TV feeds
Distributed Stockfish analysis network (fishnet) and open client-side Stockfish WASM builds
Public dataset exports of all rated games, puzzles, and computer evaluations at database.lichess.org
Official community SDKs in Python (berserk), Java (chariot), JavaScript/TypeScript (equine), .NET, and more
AGPL-3.0 licensed server (lila), with MIT scalachess engine library and GPL-3.0 mobile and tooling code
55 classes · 16 properties
JSON-LD
11 rules ·
4 errors
6 warnings
1 info
SPECTRAL
Sources
aid: lichess
url: https://raw.githubusercontent.com/api-evangelist/lichess/refs/heads/main/apis.yml
apis:
- aid: lichess:lichess-api
name: Lichess API
tags:
- Chess
- Games
- Open Source
- REST
humanURL: https://lichess.org/api
baseURL: https://lichess.org
properties:
- url: https://lichess.org/api
type: Documentation
- url: openapi/lichess-openapi.yml
type: OpenAPI
- url: https://github.com/lichess-org/api/blob/master/doc/specs/lichess-api.yaml
type: OpenAPI
- url: json-schema/lichess-game-schema.json
type: JSONSchema
- url: json-schema/lichess-user-schema.json
type: JSONSchema
- url: json-ld/lichess-context.jsonld
type: JSONLD
- url: rules/lichess-rules.yml
type: SpectralRuleset
- type: NaftikoCapability
url: capabilities/account.yaml
- type: NaftikoCapability
url: capabilities/users.yaml
- type: NaftikoCapability
url: capabilities/games.yaml
- type: NaftikoCapability
url: capabilities/puzzles.yaml
- type: NaftikoCapability
url: capabilities/teams.yaml
- type: NaftikoCapability
url: capabilities/board.yaml
- type: NaftikoCapability
url: capabilities/bot.yaml
- type: NaftikoCapability
url: capabilities/challenges.yaml
- type: NaftikoCapability
url: capabilities/arena-tournaments.yaml
- type: NaftikoCapability
url: capabilities/swiss-tournaments.yaml
- type: NaftikoCapability
url: capabilities/studies.yaml
- type: NaftikoCapability
url: capabilities/broadcasts.yaml
- type: NaftikoCapability
url: capabilities/opening-explorer.yaml
- type: NaftikoCapability
url: capabilities/tablebase.yaml
- type: NaftikoCapability
url: capabilities/external-engine.yaml
description: The Lichess API is a comprehensive REST and streaming API covering account, users, games, puzzles,
teams, challenges, board and bot play, Arena and Swiss tournaments, simuls, studies, broadcasts, messaging,
OAuth, FIDE data, opening explorer, tablebase, external engine, and cloud evaluation. The full OpenAPI 3.1
specification is published at github.com/lichess-org/api with 185 operations across 23 tags, and many endpoints
stream responses as newline-delimited JSON (ND-JSON).
name: Lichess
tags:
- Chess
- Games
- Open Source
- Nonprofit
- Tournaments
- Puzzles
- Bots
- Streaming
- ND-JSON
- OAuth
kind: contract
image: https://lichess1.org/assets/logo/lichess-pad12.svg
access: 3rd-Party
common:
- url: https://lichess.org
name: Lichess
type: Portal
- url: https://lichess.org/api
name: API Reference
type: Documentation
- url: https://lichess.org/api/ui
name: API UI
type: Sandbox
- url: https://lichess-org.github.io/api-demo/
name: API Demo
type: Sandbox
- url: https://github.com/lichess-org
name: Lichess on GitHub
type: GitHubOrganization
- url: https://github.com/lichess-org/api
name: Lichess API Documentation Repository
type: SourceCode
- url: https://github.com/lichess-org/lila
name: Lila - Lichess Server
type: SourceCode
- url: https://github.com/lichess-org/scalachess
name: scalachess Engine Library
type: SourceCode
- url: https://github.com/lichess-org/chessground
name: Chessground Board UI
type: SourceCode
- url: https://github.com/lichess-org/pgn-viewer
name: PGN Viewer
type: SourceCode
- url: https://github.com/lichess-org/mobile
name: Lichess Mobile (Flutter)
type: SourceCode
- url: https://github.com/lichess-org/berserk
name: Berserk - Python Client
type: SDK
- url: https://github.com/tors42/chariot
name: Chariot - Java Client
type: SDK
- url: https://github.com/devjiwonchoi/equine
name: Equine - JavaScript/TypeScript Client
type: SDK
- url: https://github.com/Rabergsel/LichessNET
name: LichessNET - C# Client
type: SDK
- url: https://github.com/Dblike/LichessSharp
name: LichessSharp - .NET Client
type: SDK
- url: https://github.com/mkomon/uberserk
name: uberserk - MicroPython Client
type: SDK
- url: https://pypi.org/project/async-lichess-sdk
name: async-lichess-sdk
type: SDK
- url: https://github.com/lichess-bot-devs/lichess-bot
name: lichess-bot - Python Bot Reference
type: Tool
- url: https://github.com/lichess-org/fishnet
name: Fishnet - Distributed Stockfish Analysis
type: Tool
- url: https://github.com/lichess-org/external-engine
name: External Engine
type: Tool
- url: https://github.com/lichess-org/broadcaster
name: Broadcaster
type: Tool
- url: https://github.com/lichess-org/pgn-mule
name: PGN Mule
type: Tool
- url: https://github.com/lichess-org/api-ui
name: API UI Source
type: Tool
- url: https://github.com/lichess-org/api/tree/master/example
name: OAuth and API Examples
type: CodeExamples
- url: https://discord.gg/lichess
name: Lichess Discord
type: Forum
- url: https://lichess.org/forum
name: Lichess Forum
type: Forum
- url: https://database.lichess.org/
name: Lichess Database Exports
type: BulkDataDownload
- url: https://lichess.org/account/oauth/token
name: Personal Access Token
type: Authentication
- url: https://lichess.org/developers
name: Lichess Widgets
type: Documentation
- url: https://lichess.org/account/oauth/app
name: OAuth App Registration
type: Authentication
- url: https://lichess.org/page/fair-play
name: Fair Play Policy
type: TermsOfService
- url: https://lichess.org/terms-of-service
name: Terms of Service
type: TermsOfService
- url: https://lichess.org/privacy
type: PrivacyPolicy
- url: https://lichess.org/source
name: Source Code
type: SourceCode
- url: https://lichess.org/patron
name: Become a Lichess Patron
type: Donate
- url: https://status.lichess.org/
name: Lichess Status
type: StatusPage
- url: https://lichess.org/blog
type: Blog
- url: https://lichess.org/api#section/Introduction/Rate-limiting
name: Rate Limiting
type: RateLimits
- url: https://lichess.org/api#tag/OAuth
name: OAuth and PKCE
type: Authentication
- url: https://www.gnu.org/licenses/agpl-3.0.txt
name: AGPL-3.0
type: License
- url: plans/lichess-plans-pricing.yml
type: Plans
- url: rate-limits/lichess-rate-limits.yml
type: RateLimits
- type: Features
data:
- Free, ad-free, open-source online chess server operated by a French nonprofit, funded by donations
- Full OpenAPI 3.1 specification with 185 operations across 23 tags published at github.com/lichess-org/api
- Account, users, relations, and messaging endpoints for managing players and social graph
- Games REST and ND-JSON streaming endpoints for current and historical games, including PGN export
- TV channels and current best games for live broadcast and embedding
- Daily puzzle, puzzle by ID, puzzle activity, and puzzle dashboard endpoints
- Teams API for creating, joining, listing, and managing chess teams
- Board API for playing real-time games with physical boards and third-party clients using regular accounts
- Bot API for programmatic play by accounts upgraded to bot status, with streaming game state
- Challenges API for issuing, accepting, declining, and listing challenges including AI and open challenges
- Bulk pairings for programmatically creating many games at once
- Arena and Swiss tournament APIs including create, update, terminate, join, withdraw, and result export
- Simuls endpoint for current and upcoming simultaneous exhibitions
- Studies API for exporting and importing study chapters in PGN
- Broadcasts API for creating tournaments, rounds, and pushing PGN updates for live event coverage
- FIDE endpoints exposing FIDE player and federation data
- Opening Explorer with Masters database, Lichess database, and player database lookups
- Tablebase endpoint for 7-piece Syzygy endgame results
- External Engine API enabling user-hosted engines to power analysis on lichess.org/analysis
- Cloud evaluation lookup for previously evaluated positions
- OAuth 2.0 Authorization Code Flow with PKCE plus personal access tokens, long-lived (one year typical)
- Newline-delimited JSON (ND-JSON) streaming for events, games, and TV feeds
- Distributed Stockfish analysis network (fishnet) and open client-side Stockfish WASM builds
- Public dataset exports of all rated games, puzzles, and computer evaluations at database.lichess.org
- Official community SDKs in Python (berserk), Java (chariot), JavaScript/TypeScript (equine), .NET, and more
- AGPL-3.0 licensed server (lila), with MIT scalachess engine library and GPL-3.0 mobile and tooling code
sources:
- https://lichess.org/api
- https://github.com/lichess-org/api
- https://github.com/lichess-org
- https://lichess.org/about
updated: '2026-05-25'
created: '2026-05-25T00:00:00.000Z'
modified: '2026-05-25'
position: Consuming
description: Lichess is a free, ad-free, open-source online chess server operated by a French nonprofit and powered
entirely by volunteers and donations. It serves millions of games per day with live play, tournaments, puzzles,
studies, broadcasts, analysis, and a public API. The server (lila), engine library (scalachess), mobile app,
board UI (chessground), and distributed Stockfish analysis network (fishnet) are all open source under AGPL-3.0,
MIT, and GPL-3.0 licenses. The Lichess API provides 185 documented operations across 23 functional areas
including Account, Users, Games, Puzzles, Teams, Board, Bot, Challenges, Arena and Swiss Tournaments, Simuls,
Studies, Broadcasts, Messaging, OAuth, FIDE, Opening Explorer, Tablebase, External Engine, and Cloud Analysis,
with comprehensive ND-JSON streaming support.
maintainers:
- FN: Kin Lane
email: [email protected]
X: apievangelist
url: https://apievangelist.com
specificationVersion: '0.16'