---
title: "Get the FEN (Forsyth-Edwards Notation) representation of the board - use this is the user asks for the FEN"
method: GET
path: "/api/fen"
---

# Get the FEN (Forsyth-Edwards Notation) representation of the board - use this is the user asks for the FEN

`GET /api/fen`

## Response `200`

The current game's FEN

- object
  - `FEN` string — The FEN (Forsyth-Edwards Notation) representation of the board - use this to determine where the pieces are

## Other responses

- `404` — Game not found

## Changes

> 9 revisions in range; 1 could not be searched.

- **2023-05-05** `7ecbc70f0627` — 2 breaking, 2 info
  - the response property `FEN` became optional for the status `200`
  - removed the required property `error` from the response with the `404` status
  - added the optional property `message` to the response with the `404` status
  - added the optional property `success` to the response with the `404` status
- **2023-04-17** `511695a7b151` — 1 info
  - endpoint added
- **2023-04-16** `9010552b8c66` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/atomic14/apis/chess-assistant-api/changes/api/fen/get.md)

---

[API](https://skmtc.dev/atomic14/apis/chess-assistant-api.md) · [All operations](https://skmtc.dev/atomic14/apis/chess-assistant-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atomic14/chess-assistant-api/revisions/8ab254be01c9/schema)
