Skip to content
onelayer.
All tools

Tool detail

cloud-eval

Returns Stockfish cloud evaluation (depth, score, principal variation) for a FEN chess position, when Lichess has it cached.

Categories: Entertainment

Use when

  • evaluate a chess position from a FEN string
  • get Stockfish depth, eval, and best line for a position
  • analyze a chess960 or other chess-variant position

Not for

  • not a live engine call; only returns evals Lichess already cached
  • not full game analysis; one position per call

Inputs

POST JSON body: { fen: string 15-100 chars (required), multiPv: int 1-5 (optional), variant: enum (optional) }

Admitted input schema

{
  "type": "object",
  "properties": {
    "fen": {
      "type": "string",
      "minLength": 15,
      "maxLength": 100,
      "description": "Standard FEN position string, e.g. 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1'"
    },
    "multiPv": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "description": "Number of principal variations to return (1-5). Default 1."
    },
    "variant": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "standard",
        "chess960",
        "crazyhouse",
        "antichess",
        "atomic",
        "horde",
        "kingOfTheHill",
        "racingKings",
        "threeCheck"
      ],
      "description": "Chess variant. Default 'standard'."
    }
  },
  "required": [
    "fen"
  ],
  "additionalProperties": false,
  "description": "Cloud-eval request: FEN position to analyze plus options."
}

Endpoint

Method
POST
URL
https://chess402.vercel.app/api/cloud-eval

Payment

Protocol
x402
Listed price
0.005 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://chess402.vercel.app/api/cloud-eval
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z