Chess API
Chess API is a compact position analyzer. Get legal moves, a best-move suggestion, and win-chance evaluation — in a single request and a single format.
Chess API endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
List of all available moves /moves |
Returns all legal moves for the side to move for the given position. |
| POST |
Best move /bestmove |
Returns the best move suggestion for the side to move, based on our AI search. |
| POST |
Chance of winning /win_chance |
Returns an evaluation in centipawns plus a win probability split (White vs Black) calculated using the Lichess logistic formula. |
Chess API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $10 / month | 10 / second |
|
| ULTRA Recommended | $30 / month | 10 / second |
|
| MEGA | $100 / month | 10 / second |
|