Bot

Make a Bot move

Make a move in a game being played with the Bot API. The move can also contain a draw offer/agreement.

post/api/bot/game/{gameId}/move/{move}

Request

  • Base URL
    https://lichess.org
  • URL
    https://lichess.org/api/bot/game/{gameId}/move/{move}
  • Auth
    OAuth 2
    Authorization code: https://lichess.org/oauth
    Token URL: https://lichess.org/api/token scopes: bot:play

Path parameters

gameIdstring required
Example:5IrD6Gzz
movestring required
Example:e2e4

The move to play, in UCI format

Query parameters

offeringDrawboolean

Whether to offer (or agree to) a draw

Response

The bot move was successfully made.

okboolean required

Changes

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