Stockfish 16 Tribute
Stockfish 16 Tribute · Actions GPT
Stockfish Online API
Interacts with the Stockfish chess engine to analyze chess positions using FEN.
GET /api/stockfish.phpGet the best move from Stockfish based on the current FEN.Sends the current FEN of the chess position and retrieves the best move from Stockfish.
Schéma original API
{
"openapi": "3.0.0",
"info": {
"title": "Stockfish Online API",
"description": "Interacts with the Stockfish chess engine to analyze chess positions using FEN.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://stockfish.online",
"description": "Stockfish Chess Engine API Server"
}
],
"paths": {
"/api/stockfish.php": {
"get": {
"operationId": "getBestMove",
"summary": "Get the best move from Stockfish based on the current FEN.",
"description": "Sends the current FEN of the chess position and retrieves the best move from Stockfish.",
"parameters": [
{
"name": "fen",
"in": "query",
"required": true,
"description": "Current game state in FEN format.",
"schema": {
"type": "string"
}
},
{
"name": "depth",
"in": "query",
"required": true,
"description": "Depth of analysis, set to 13 for the maximum depth.",
"schema": {
"type": "integer",
"default": 13
}
},
{
"name": "mode",
"in": "query",
"required": true,
"description": "Type of value to return, which is the best move in this case.",
"schema": {
"type": "string",
"default": "bestmove"
}
}
],
"responses": {
"200": {
"description": "Best move received",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"move": {
"type": "string",
"description": "The best move in standard chess notation."
}
}
}
}
}
}
}
}
}
}
}