org.lichess.puzzle.getById

pds.dad

Documentation

Get a chess puzzle by its id.

main query

Get a chess puzzle by its id.

Parameters

id string Required

the id of the puzzle to fetch.

Output

Encodingapplication/json

Errors

PuzzleNotFound No puzzle exists with the given id.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
the id of the puzzle to fetch.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "PuzzleNotFound",
      "description": "No puzzle exists with the given id."
    }
  ],
  "output": {
    "schema": {
      "ref": "org.lichess.puzzle.defs#puzzleView",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "id"
    ],
    "properties": {
      "id": {
        "type": "string",
        "description": "the id of the puzzle to fetch."
      }
    }
  },
  "description": "Get a chess puzzle by its id."
}

Lexicon Garden

@