Skip to content
Chess.com logovsLichess logo

Chess.com API vs Lichess API

Two free Games & Comics APIs compared on access, reliability and developer ratings, using data from our daily health checks.

The verdict

  • Choose Chess.com API if you want to start without an API key.
  • Choose Lichess API if you want faster responses.

Side by side

Chess.com APILichess API
What it doesThe PubAPI is a read-only REST API that responds with JSON-LD data.Access to all data of users, games, puzzles and etc on Lichess.
ProviderChess.comLichess.org
API keyNot neededOAuth
HTTPSYesYes
CORS (browser calls)UnknownUnknown
Status todayOnline · 2587 msOnline · 919 ms
Uptime (30 days)UpUp
Developer ratingNot rated yetNot rated yet
PriceFree / free tierFree / free tier

About each API

Chess.com logoChess.com API

The PubAPI is a read-only REST API that responds with JSON-LD data.

The PubAPI is a read-only REST API that responds with JSON-LD data. The API re-packages public data from the website and makes it available via the PubAPI. "Public Data" is information available to people who are not logged in, such as player data, game data, and club/tournament information. This e…

Strengths

  • No API key needed
  • HTTPS

Ratings, reviews and FAQ →

How to choose between them

  • Prototyping or a tutorial? Pick the one that needs no API key.
  • Calling from a web page? You need CORS. Otherwise route requests through your own server or a serverless function.
  • Going to production? Favour HTTPS, a strong uptime record and a provider with clear rate limits and terms. Check each API's docs before you commit.
  • Still unsure? Both are free to try: send one request to each and compare the data you get back.

Chess.com vs Lichess FAQ

Which needs an API key, Chess.com API or Lichess API?

Lichess API requires an API key; Chess.com API doesn't, so Chess.com API is quicker to try.