STOCKFISH 14–19Latest release: 19Explore engines ↗

Openings / C65

Ruy Lopez: Berlin Defense

1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6

♜♝♛♚♝♜♟♟♟♟♟♟♟♞♞♗♟♙♘♙♙♙♙♙♙♙♖♘♗♕♔♖
Evaluation
+0.26 (White's view)
White to move, best
e1g1
Main line
e1g1 f6e4 f1e1 e4d6 f3e5
Depth
24, Stockfish 17
FEN
r1bqkb1r/pppp1ppp/2n2n2/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 4 4

The Berlin leads to the famous queenless endgame after 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8, where White's kingside majority faces Black's bishop pair.

Get this from the API

curl -s https://stockfishapi.com/v1/eval \
  -H "Authorization: Bearer $STOCKFISH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fen":"r1bqkb1r/pppp1ppp/2n2n2/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 4 4","depth":24,"multipv":3}'
const res = await fetch("https://stockfishapi.com/v1/eval", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.STOCKFISH_API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({
    "fen": "r1bqkb1r/pppp1ppp/2n2n2/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 4 4",
    "depth": 24,
    "multipv": 3
  }),
});
const data = await res.json();
import os, requests

r = requests.post(
    "https://stockfishapi.com/v1/eval",
    headers={"Authorization": f"Bearer {os.environ['STOCKFISH_API_KEY']}"},
    json={
        "fen": "r1bqkb1r/pppp1ppp/2n2n2/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 4 4",
        "depth": 24,
        "multipv": 3
    },
)
data = r.json()

Related openings

Evaluations refresh monthly with the current engine version. Get a free key to analyse your own positions.