Powered by Stockfish 17 lite NNUE. Free API access is available; paid subscriptions are not enabled.

Openings / C42

Petrov Defense

1. e4 e5 2. Nf3 Nf6

♜♞♝♛♚♝♜♟♟♟♟♟♟♟♞♟♙♘♙♙♙♙♙♙♙♖♘♗♕♔♗♖
Evaluation
+0.30 (White's view)
White to move, best
f3e5
Main line
f3e5 d7d6 e5f3 f6e4 d2d4
Depth
24, Stockfish 17
FEN
rnbqkb1r/pppp1ppp/5n2/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R w KQkq - 2 3

Black counterattacks e4 rather than defending e5. After 3.Nxe5 d6 4.Nf3 Nxe4 5.d4 d5 the position is symmetrical and solid, a favourite at the top level for holding with Black.

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":"rnbqkb1r/pppp1ppp/5n2/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R w KQkq - 2 3","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": "rnbqkb1r/pppp1ppp/5n2/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R w KQkq - 2 3",
    "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": "rnbqkb1r/pppp1ppp/5n2/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R w KQkq - 2 3",
        "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.