Fork me on GitHub

Machine readable endgame statistics

API

All endgame stats with keys such as KRNvKNN.
Endgame stats for a specific endgame, e.g. KRNvKNN. Redirects to normalized endgame names.

Example (KRNvKNN)

{
  "w": { // white to move
    "win_hist": [
      0,
      1924310948,
      35087,
      363845772,
      37120,
      138550471,
      // ...
    ]
    "loss_hist": [
      98698,
      144,
      3810,
      0,
      596,
      0,
      58
    ],
    "wdl": {
      "-2": 0,
      "-1": 103306,
      "0": 1333429189,
      "1": 162344388,
      "2": 2959977091
    }
  },
  "b": { // black to move
    // ...
  },
  "longest": [
    {
      "epd": "3n1n2/8/8/8/4R3/8/8/NK1k4 b - -",
      "ply": 100,
      "wdl": -2
    },
    {
      "epd": "6k1/5n2/8/8/8/5n2/1RK5/1N6 w - -",
      "ply": 485,
      "wdl": 1
    },
    {
      "epd": "8/8/8/8/8/8/N1nk4/RKn5 b - -",
      "ply": 7,
      "wdl": 2
    }
  ]
}

Information for w and b to move respectively.

Histograms win_hist and loss_hist: Number of positions winning/losing in 0, 1, 2, ... plies until the next pawn move or capture.

Number of positions with wdl.

longest endgames with white and black winning and winning except for the fifty-move rule, if such endgames exist.