Puzzles

Solve multiple puzzles at once

Set puzzles as solved and update ratings.

post/api/puzzle/batch/{angle}

Request

  • Base URL
    https://lichess.org
  • URL
    https://lichess.org/api/puzzle/batch/{angle}
  • Auth
    OAuth 2
    Authorization code: https://lichess.org/oauth
    Token URL: https://lichess.org/api/token scopes: puzzle:write

Path parameters

anglestring required
Example:mix

The theme or opening of the solved puzzles.

Available themes are listed in the lichess source code and the lichess training themes hyperlinks.

Query parameters

nbinteger
Example:1

When > 0, the response includes a new puzzle batch with that many puzzles.

This is equivalent to calling /api/puzzle/batch/{angle}, and can sometimes save a request.

Request body

Response

The solved puzzles, named rounds, and a new puzzle batch named puzzles.

Changes

No recorded changes to this operation across all 16 revisions of this API.