{"uid":"cap_ZO1pVvc8387Af6ijBMyyN","slug":"chess-best-move-api-stockfish-927b7c20","name":"Chess Best Move API (Stockfish)","description":"Get Stockfish chess analysis for any position","url":"https://api.ruliad.xyz/api/best-move","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fen":{"type":"string"},"depth":{"type":"number","default":10}}},"responseSchema":{"type":"json","example":{}},"example":{"request":{"fen":"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1","depth":10},"response":{"mate":null,"success":true,"bestmove":"bestmove e2e4 ponder c7c5","evaluation":0.4}},"exampleRequest":{"fen":"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1","depth":10},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_btCrIHk9XflqHS6tnf-j2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a chess position given in FEN notation and returns the best move using the Stockfish engine at a specified depth","exampleAgentPrompt":"Run a Stockfish analysis on this chess position — rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1 — at depth 15 and tell me the best move.","exampleUseCases":null,"resultDescription":"A JSON object containing the best move recommended by the Stockfish engine for the provided chess position, computed at the specified search depth","failureModes":["Invalid FEN string returns an error or unexpected result","Depth value too high may cause timeout or slow response","Missing required 'fen' field returns a 400-level error","Malformed JSON body causes request failure","Payment not included or rejected causes 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need server-side Stockfish chess engine analysis without running a local engine — ideal for agents or apps that want to evaluate a chess position by FEN notation and receive a best-move recommendation at a configurable search depth","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:33:34.862Z","isFirstParty":false}