StockfishOnline | Stockfish REST API By Jacute Technologies


Documenation

Sending a Request

Endpoint:

HTTP Method:

Parameter : FEN string to analyze

Parameter : Depth for engine to go to (int<16)

Receiving a Response

Format:

Value : Either or depending on if the request completed successfully or not. If false, the value will have error information.

Conditional on success:

Value : Contains the best move in the given position. Example:

Value : Either contains the standard evaluation of the given position, or if there is a forced checkmate.

Value : Is unless there is a forced checkmate in the given position, in which case it is the number of moves in which the forced checkmate is completed in (positive when white is checkmating, negative for when black is checkmating).

Value : Top engine line in the position.
Example:

---

Example response:

The license agreement for this service can be found here

(c) 2024 Jacute Technologies

Certain images and names used on this website are the property of their respective owners.