Head to head · Hobbies games · October 2026 research run
Chess.com Published-Data API vs Lichess API
Lichess API scores 63.7 (B) on agent readiness against Chess.com Published-Data API's 43.9 (E), and leads in every scored category. Both do hobbies games.
Best hobby, sport and recreation APIs for AI agents · All 4 hobbies comparisons
Which one, for what
Chess.com Published-Data API E
Best for An agent reading a named player's games, ratings and club or tournament history with no setup, or pulling the daily puzzle.
Also in its favour
- No key needed to call it
Watch for
In maintenance and bug-fix only mode since mid-December 2024, with the documentation last reviewed on 10 May 2022
Best for An agent that reads a player's games, ratings, puzzles and broadcasts, or plays as a bot account.
Ahead on
- Schema & documentation, 78 against 48
- Agent ergonomics, 67 against 58
- Security & auth, 57 against 35
- Payments & pricing, 85 against 75
- Maintenance & community, 82 against 5
- Transparency & trust, 68 against 54
Also in its favour
- Open source
Watch for
No status page, SLA or incident history found
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community Lichess API +77
Chess.com Published-Data API 5
Read for a closed service. The last published change is the live games by time control endpoint of 10 November 2024, and the API has been in maintenance and bug-fix only mode since mid-December 2024, per the staff post of 10 January 2025 (0 of 30). No dated changes in the last 90 days (0 of 20). The Developer Community club has staff admins and locked status threads; the newest user threads on 3 November, an HTTP 500 on match endpoints and a stats endpoint failure, show no staff reply on the index (5 of 15). No official SDK or MCP registry entry, only third-party wrappers (0 of 15). No package or CI (0 of 10). 0 + 0 + 5 + 0 + 0 = 5.
Lichess API 82
Specification v2.0.180 released on 16 November 2026, with lila commits the day of the check (30). Seven specification releases in the 90 days to 23 November, v2.0.174 (19 September) to v2.0.180 (20). 28 open issues on lichess-org/api, 5 closed since 25 August, and several open since March to July 2026 with no or one reply. Help is offered in Discord (14 of 25). The berserk Python client and the npm types package are under the lichess-org organisation. No official MCP server (10 of 15). The types package is published by GitHub Actions with npm provenance, and lint and dependency bumps run in the repository (8 of 10). 30 + 20 + 14 + 10 + 8 = 82.
Schema & documentation Lichess API +30
Chess.com Published-Data API 48
No OpenAPI file. The only machine-readable description is a Postman v2 collection of 22 GET requests in seven folders with empty descriptions, no examples and no variables (10 of 25). No llms.txt (404) and no Markdown docs (0). The documentation page explains each endpoint's purpose, refresh interval and caveats, such as the 3 per cent of players on the old site whose games lag, and says plainly what the API cannot do (14 of 20). Inputs are path segments only, meaning usernames, URL IDs, ISO country codes with listed exceptions, the ten title codes and year and month; responses are JSON-LD with some optional fields (8 of 15). Example URLs and a curl walkthrough, a response code table and a game result code table, but no error body (11 of 15). No version in /pub paths, the page last reviewed on 10 May 2022 under a header updated 22 April 2026, the club CHANGELOG thread ends in January 2018, and later changes were posted in forum threads (5 of 15). 10 + 0 + 14 + 8 + 11 + 5 = 48.
Lichess API 78
A public OpenAPI 3.1 specification, version 2.0.180, with 176 paths and 189 operations and typed schemas, published from the lichess-org/api repository with a generated npm types package (25). No llms.txt (404). The specification is public YAML whose descriptions are Markdown, though no Markdown docs are served for agents (3 of 10). Every operation has a description, and tag introductions say when to use the Board API and when the Bot API, with the restrictions of each (18 of 20). Required fields and enums on 25 operations, typed query flags, but PGN, FEN and UCI moves are strings and some responses are loosely typed (12 of 15). 203 example responses and generated curl, JavaScript and Python snippets in the reference. An {error} body schema with 400 documented on 50 operations, but 429 documented on one (12 of 15). The specification is versioned and released, and /api/version gives the deployed commit, but there is no API changelog, no versioned path and no deprecation markers. Changes are visible only as commits (8 of 15). 25 + 3 + 18 + 12 + 12 + 8 = 78.
Security & auth Lichess API +22
Chess.com Published-Data API 35
No credential at all. There is nothing to leak or rotate, but Chess.com can identify and block a caller only by User-Agent and traffic pattern (10 of 30). Read-only by design, with private data such as chat and conditional moves excluded (18 of 20). Usernames, club descriptions, tournament names and PGN headers are user content with no guidance on treating them as untrusted (5 of 15). No log or usage view for the caller (0 of 15). No security.txt is served, the User Agreement names no disclosure route, and the only route is the support contact page; no bug bounty or certification found (2 of 20). 10 + 18 + 5 + 0 + 2 = 35.
Lichess API 57
OAuth 2.0 with PKCE (S256 only) and 24 scopes, scoped personal tokens, and revocation through DELETE /api/token or the account page. Tokens last about a year with no refresh. 10 off because the start-clocks endpoint takes both players' OAuth tokens as query parameters, a documented option (20 of 30). Scopes separate reads from writes, such as challenge:read and challenge:write, and bot:play works only for bot accounts. No confirmation step for actions such as resigning or sending a message (14 of 20). Responses carry text others wrote (chat, messages, study comments, usernames, PGN comments) with no guidance on treating it as untrusted, though token-security advice is given (4 of 15). The account page lists active tokens. We found no per-call log for the caller (5 of 15). A valid security.txt to 15 December 2027 with a policy, GitHub private advisories and published acknowledgements. No bounty or certification found (14 of 20). 20 + 14 + 4 + 5 + 14 = 57.
Transparency & trust Lichess API +14
Chess.com Published-Data API 54
Closed service. The API page sets no terms and says only to respect brand assets and credit the daily puzzle. The User Agreement of 25 March 2026 bars robots, spiders, data mining and AI tools on the Services and the building of game databases, while its section 2(C) says game records can be accessed, used and monetised by anyone, so which rules govern an API caller is unclear (8 of 30). The privacy policy of 25 March 2026 gives no fixed retention periods, names only Google among providers, lists EEA and UK representatives and transfer mechanisms, and says nothing on AI training (12 of 30). The maintenance status was announced with a date, 410 marks removed data, and 2017 changes were announced in the club; no written notice period and the 8 August 2024 backend changes were posted as they happened (8 of 20). Processing in the United States and wherever providers sit, with no subprocessor list (6 of 20). 8 + 12 + 8 + 6 = 34.
Lichess API 68
The lila server and the API specification are AGPL-3.0-or-later, and the terms set out licences per service and allow commercial use of the API (30). The privacy policy, last updated 16 March 2022, gives retention periods and legal bases and hosts data in the EU. It is four years old and says nothing about API tokens or third-party apps (20 of 30). No deprecation policy and no dated notices in the specification. The introduction says the User-Agent is used to warn of breaking changes, and the broadcasts section warns that unauthenticated endpoints might stop working (5 of 20). EU hosting is stated, and providers are named by category in the EU or the US, with no named list (10 of 20). 30 + 20 + 5 + 10 = 65.
Payments & pricing Lichess API +10
Chess.com Published-Data API 75
Read with the hosted rubric. No x402, MPP or L402 (0). No fee is charged and no login exists, but no page says the API is free or sets commercial terms (10 of 20). Free with no card (20). Keyless, so an agent calls it with no signup (20). 0 + 10 + 20 + 20 = 50. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.
Lichess API 85
Read with the hosted rubric. No x402, MPP or L402 (0). Free, which the about page states ("100% free"), and the terms allow personal and commercial use (30). Free with no card (30). Many reads need no token at all, and PKCE needs no app registration, but every write and private read needs a person's Lichess account and approval (25 of 30). 0 + 30 + 30 + 25 = 85.
Agent ergonomics Lichess API +9
Chess.com Published-Data API 58
No field selection; a monthly archive returns every game of the month with PGN, while stats, profile and is-online endpoints are small (10 of 25). No pagination or filters beyond the month, time control and title segments (8 of 20). Response codes are documented with what to do on each (update the URL on 301, use the cache on 304, stop on 410), with no error body (12 of 20). Every call is a read, safe to repeat, with ETag and If-None-Match to skip unchanged data (18 of 20). No parameters beyond the path and no key, with unofficial wrappers only (10 of 15). 10 + 8 + 12 + 18 + 10 = 58.
Lichess API 67
Game exports take flags to include or drop moves, clocks, evaluations, accuracy, openings and tags, and max caps the count. Many endpoints stream NDJSON so a reader can stop early (20 of 25). Exports filter by since, until, vs, rated, perfType, color and analysed, but most lists have no cursor pagination (16 of 20). Errors return {"error": ...} with status codes, and 429 carries no detail on which limit was hit (13 of 20). Reads are safe to repeat and two writes are documented as idempotent, with no idempotency keys elsewhere. A retried challenge or message can repeat (8 of 20). Most reads need only a username and no token. The Python client berserk sits under the lichess-org organisation, last pushed in June 2026, and the npm types package is current (10 of 15). 20 + 16 + 13 + 8 + 10 = 67.
Score by category
| Category | Weight | Chess.com Published-Data API | Lichess API | Edge |
|---|---|---|---|---|
| Reliability | 16% | 30 | 32 | Lichess API +2 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 48 | 78 | Lichess API +30 |
| Agent ergonomics | 13% | 58 | 67 | Lichess API +9 |
| Security & auth | 14% | 35 | 57 | Lichess API +22 |
| Payments & pricing | 10% | 75 | 85 | Lichess API +10 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 5 | 82 | Lichess API +77 |
| Transparency & trust | 7% | 54 | 68 | Lichess API +14 |
| Negative events | ≤15 | 0 | 0 | |
| Total | E 43.9/100 | B 63.7/100 |
Facts side by side
| Fact | Chess.com Published-Data API | Lichess API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Chess.com LLC | Lichess |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | None | OAuth or key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Proprietary service. The API page sets no terms of its own; the Chess.com User Agreement (25 March 2026) applies to the site | AGPL-3.0-or-later (the lila server and the API specification). The Lichess Terms of Service allow personal and commercial use of the API |
| Tools exposed | 0 | 0 |
| Read-only variant documented | yes | no |
| llms.txt | no | no |
| Last release | 2024-11-10 | 2026-11-16 |
| Terms last updated | 2026-03-25 | couldn't be read |
| Privacy policy last updated | 2026-03-25 | couldn't be read |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | yes | couldn't be read |
| Terms restrict benchmarking | yes | couldn't be read |
| Terms or service can change without notice | yes | couldn't be read |
| Arbitration or class-action waiver | yes | couldn't be read |
| Popularity | none | 19k stars |
How the scores have moved
Lichess API
No score change since it was listed.
Verdicts
Chess.com Published-Data API
A keyless, read-only API that returns a player's monthly game archives with PGN, ratings, clubs and tournaments, with ETag caching and a documented 429 rule. It has been in maintenance mode since December 2024, with no status page, no contract file beyond a bare Postman collection, and a User Agreement that bars robots and AI tools from the Services.
Lichess API
A free API that reads and streams games, users, puzzles and broadcasts and lets an authorised account play, with a complete OpenAPI 3.1 specification and OAuth 2.0 with PKCE and 24 scopes. There is no status page or SLA, rate limits are mostly a one-request-at-a-time rule, and engine or outside help is banned in Board API games.
Before you call either
Chess.com Published-Data API
- Send a User-Agent with an app name and contact address, as Chess.com asks, and make requests one at a time; parallel calls can draw 429 or a block
- Cache by ETag and send If-None-Match; most endpoints refresh only every 12 to 24 hours, so re-polling sooner returns the same data
- Fetch /pub/player/{username}/games/archives first, then one month at a time; a 410 means stop asking for that URL and a 301 means update it
- Expect reads only. There is no way to play a move, join a club or read private games, so hand those to the person
- Check the Developer Community club before relying on an endpoint, since the API is in maintenance mode and backend changes can affect it without notice
Lichess API
- Send a
User-Agentnaming the app or a contact address, because requests without one may be rejected or rate limited - Make one request at a time. After a 429, wait at least a minute and reduce the request rate
- Read streamed endpoints line by line as newline-delimited JSON instead of waiting for the response to end
- Never suggest moves in a person's ongoing Board API game. Outside help is cheating under the fair play rules. Use a Bot account to play
- Request only the scopes the task needs, and revoke the token with DELETE
/api/tokenwhen done
Questions
Which is better for AI agents, Chess.com Published-Data API or Lichess API?
Lichess API scores 63.7 (B) on agent readiness against Chess.com Published-Data API's 43.9 (E), and leads in every scored category.
Do Chess.com Published-Data API and Lichess API need an API key?
Chess.com Published-Data API needs no key. Lichess API takes an API key or an OAuth sign-in.
Can an agent call Chess.com Published-Data API and Lichess API without installing anything?
No hosted endpoint is listed for Chess.com Published-Data API. No hosted endpoint is listed for Lichess API.
Are Chess.com Published-Data API and Lichess API open source?
No open-source release is listed for Chess.com Published-Data API. Lichess API is open source (AGPL-3.0-or-later (the lila server and the API specification). The Lichess Terms of Service allow personal and commercial use of the API).
Machine-readable
- This page as Markdown
/compare/chess-com-vs-lichess-api.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/chess-com.json·/api/v1/tools/lichess-api.json - From a terminal
anchor compare chess-com lichess-api(the CLI) - Over MCP
compare_tools {"a": "chess-com", "b": "lichess-api"}at/mcp, no key