Documentation
Start with the quickstart, then the reference. The whole API is also in openapi.json and llms.txt.
Start
- QuickstartFirst evaluation in two minutes
- Errors and next_actionEvery error tells you what to do
- Limits, units and budgetsHow cost works and how to cap it
Guides
- Stockfish from Pythonrequests, async, and python-chess
- Stockfish from JavaScript and TypeScriptfetch in Node, Deno, Bun and the browser
- Stockfish MCP server: setup and examplesConnect over HTTP, discover tools and analyze a FEN
- A Discord chess bot in 60 linesanswer /analyze with a board and the best line
- A lichess bot backed by the APIplay on lichess without hosting an engine
- Annotate PGNs in CIa GitHub Action that evaluates every game in a repo
- Give an OpenAI or Anthropic model a chess enginetool-calling definition and a budget guard
API reference
POST /v1/evalPOST /v1/bestmoveGET /v1/enginesGET /v1/pricePOST /v1/legal-movesPOST /v1/validatePOST /v1/auth/device/startPOST /v1/auth/device/tokenPOST /v1/signupGET /v1/meGET /v1/usageGET /v1/keysPOST /v1/keysPATCH /v1/keys/{id}DELETE /v1/keys/{id}POST /v1/keys/{id}/rotatePOST /v1/analyzePOST /v1/batchGET /v1/jobs/{id}DELETE /v1/jobs/{id}GET /v1/jobs/{id}/resultGET /v1/billing/plansPOST /v1/billing/reconcileGET /v1/billing/overagesPOST /v1/billing/overages/reconcilePOST /v1/billing/setupPOST /v1/billing/checkoutPOST /v1/billing/portal