Chess StockFish 16 API

FREE
By cinnamon17 | Updated 9 days ago | Gaming
Popularity

9.3 / 10

Latency

802ms

Service Level

94%

Health Check

N/A

README

Description:
Welcome to the Chess StockFish 16 - Get Best Chess Moves API! This API is designed to provide you with the best moves for a given chess game based on the Forsyth-Edwards Notation (FEN) as input. FEN is a standard notation used to describe the current state of a chess game. By providing the FEN representation of a particular game position, our API will analyze the position and suggest the best moves to play.

Endpoint:

POST /best-move

Parameters:

  • fen (required): The FEN representation of the chess game position.

Response:
The API will respond with a JSON object containing the suggested best moves for the given position. The response will include the following fields:

  • position: The FEN representation of the current game position.
  • bestmove: The best move suggested by the API.
  • ponder: Alternative move
  • depth: The actual depth of the engine.

Example Request:

POST /best-move

request body(form data)

fen=rnbqkbnr/pppp1ppp/8/4p3/4P3/8/PPPP1PPP/RNBQKBNR

Example Response:

{
  "position": "rnbqkbnr/pppp1ppp/8/4p3/4P3/8/PPPP1PPP/RNBQKBNR",
  "bestmove": "e2e4",
  "ponder": "g8f6",
  "depth": 12
}

Note:

  • The API assumes that the FEN representation provided is valid and accurately represents a valid chess game position. Enjoy exploring the best chess moves with our API!
Followers: 9
Resources:
Terms of use
API Creator:
C
cinnamon17
cinnamon17
Log In to Rate API
Rating: 5 - Votes: 1