♟️ Chess Best Move x402 API

Status: healthy ✓

About

Stockfish chess engine analysis for any position via FEN notation. Each request costs $0.01 and is powered by the x402 payment protocol.

Endpoint

POST /best-move

Parameters

  • fen required FEN string of the chess position
  • depth optional analysis depth, 1–30 (default: 10)

Example

curl -X POST https://api.ruliad.xyz/best-move \
  -H "Content-Type: application/json" \
  -d '{"fen": "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1", "depth": 15}'

Response

{
  "success": true,
  "evaluation": 0.2,
  "bestmove": "e2e4",
  "mate": null
}

Links