For Agents
Read player profiles, stream chess games, run puzzle workflows, and operate bots on Lichess via OAuth2-authenticated endpoints across 170 path entries.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Lichess.org API reference, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Lichess.org API reference API.
Stream live game state and board events for ongoing Lichess games via NDJSON feeds
Fetch user profiles, rating histories, and per-perf statistics for any Lichess account
Query the opening explorer and Syzygy tablebase to evaluate chess positions
Operate a Lichess bot account with move submission, chat, and game acceptance endpoints
GET STARTED
Use for: I want to fetch a Lichess player's rating history for blitz, Stream the moves of an ongoing Lichess game in real time, Get the daily Lichess puzzle and submit a solution, Find all top 10 bullet players on Lichess right now
Not supported: Does not handle over-the-board tournament management, chess engine hosting, or paid premium-account billing — use for Lichess platform game, puzzle, and bot operations only.
Jentic publishes the only available OpenAPI document for Lichess.org API reference, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for Lichess.org API reference, keeping it validated and agent-ready. The Lichess API exposes the free, open-source chess platform's full feature set including account management, game streaming, puzzle workflows, broadcasts, tournaments, bot play, and analysis. Agents can stream live game events, fetch player rating histories, query the opening explorer and tablebase, run puzzle dashboards, and operate Lichess bots. The API is OAuth2-protected with personal access tokens and supports newline-delimited JSON streaming for board events and TV feeds.
Run puzzle dashboards, daily puzzles, and racer/storm activity feeds for training analysis
Manage broadcasts, tournaments, and bulk pairings for organized chess events
Patterns agents use Lichess.org API reference API for, with concrete tasks.
★ Chess Coaching Dashboard
Pull player rating history, puzzle activity, and game archives from Lichess to build a coaching dashboard that highlights weaknesses across openings and time controls. Endpoints cover rating-history, per-perf statistics, and puzzle dashboards across configurable day windows. Integration takes a few hours via OAuth2 with read-only scopes.
Fetch the rating history for username 'DrNykterstein' and the last 30 days of puzzle dashboard activity, then summarize weakest opening categories
Live Tournament Broadcast
Stream Lichess broadcasts and tournament games for live commentary or visualization. The broadcasts and tournaments tags expose round-by-round PGN streaming so agents can react to moves as they happen. Suited for chess news sites and streaming overlays needing sub-second latency.
Subscribe to the broadcast round stream for tournament ID 'broadcast-id-123' and emit each move as it arrives
Chess Bot Operation
Run a chess bot on Lichess by upgrading an account to bot status, accepting challenges, and submitting moves through the bot endpoints. The Board and Bot tags expose the full game lifecycle including chat, draw offers, and resignation. A working bot integration takes one to two days versus weeks of manual UCI plumbing.
Accept the next incoming challenge for the authenticated bot account and play a move every time it is the bot's turn
AI Agent Chess Analysis
An AI agent uses Jentic to discover Lichess endpoints by intent, then composes opening explorer queries, tablebase lookups, and game export operations to analyze a user's recent games. Agents avoid scraping the web UI by calling the structured API directly through Jentic's MAXsystem credential vault.
Search Jentic for 'analyze a chess game on Lichess', load the game export and opening explorer schemas, then produce a move-by-move analysis for game ID 'abc123'
170 endpoints — jentic publishes the only available openapi specification for lichess.
METHOD
PATH
DESCRIPTION
/api/user/{username}
Get public profile for a Lichess user
/api/user/{username}/rating-history
Get rating history across all perfs
/api/users/status
Get realtime online status for users
/api/puzzle/daily
Get the daily Lichess puzzle
/game/export/{gameId}
Export a game as PGN or JSON
/api/user/{username}
Get public profile for a Lichess user
/api/user/{username}/rating-history
Get rating history across all perfs
/api/users/status
Get realtime online status for users
/api/puzzle/daily
Get the daily Lichess puzzle
/game/export/{gameId}
Export a game as PGN or JSON
Three things that make agents converge on Jentic-routed access.
Credential isolation
Lichess OAuth2 tokens are stored encrypted in the Jentic MAXsystem vault. Agents receive scoped, time-limited execution credentials — the raw token never enters the agent's prompt or memory.
Intent-based discovery
Agents search by intent (e.g., 'fetch Lichess rating history') and Jentic returns the matching operation across the 170 Lichess path entries, including the input schema and required scopes.
Time to first call
Direct Lichess integration: 1-2 days for OAuth2 setup, NDJSON streaming, and rate-limit handling. Through Jentic: under 30 minutes — search, load, execute.
Alternatives and complements available in the Jentic catalogue.
Twitter API v2
Post Lichess game results and broadcasts to social timelines
Choose Twitter when the agent needs to publish chess content to a social audience after pulling games from Lichess
Spotify Web API
Pair chess streaming with curated background playlists for a chess-content overlay
Choose Spotify when the agent is building a chess streaming experience that also surfaces music tracks alongside Lichess game data
Lichess.org API reference
Identical Lichess spec under the 'main' slug
Choose the main slug when working from the canonical vendor index; the operations are equivalent
Specific to using Lichess.org API reference API through Jentic.
Why is there no official OpenAPI spec for Lichess.org API reference?
Lichess does not publish a maintained OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call the Lichess API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Lichess API use?
Lichess uses OAuth2 with personal access tokens. Scopes determine which endpoints are accessible — for example, 'bot:play' is required for bot move submission and 'preference:read' for account preferences. Through Jentic, the token is stored in the MAXsystem vault and never enters the agent's prompt context.
Can I run a chess bot with the Lichess API?
Yes. Upgrade an empty account to bot status via /api/bot/account/upgrade, then use /api/bot/game/stream/{gameId} and /api/bot/game/{gameId}/move/{move} to play. Bot accounts cannot have played any human games before upgrade.
What are the rate limits for the Lichess API?
Lichess applies per-endpoint rate limits — most read endpoints allow 20 requests per second per IP, and abusive clients receive HTTP 429 responses. Streaming endpoints count separately. Exceeding limits returns 429 with a Retry-After hint.
How do I stream live game events through Jentic?
Run pip install jentic, then search Jentic with 'stream a Lichess game' to retrieve the /api/board/game/stream/{gameId} operation schema. Execute it through the SDK; Jentic returns NDJSON chunks as the game progresses.
Is the Lichess API free?
Yes. Lichess is free and open-source, and the API has no paid tier. Heavy commercial use should respect the rate limits and the Lichess terms of service.