---
title: "Get Fork object for requested state"
method: GET
path: "/eth/v1/beacon/states/{state_id}/fork"
tags: ["Beacon", "ValidatorRequiredApi"]
---

# Get Fork object for requested state

`GET /eth/v1/beacon/states/{state_id}/fork`

## Request

- Base URL: `eth2-beacon-mainnet.nodereal.io/v1/api_key` (relative, and the document’s source URL is not known)
- URL: `eth2-beacon-mainnet.nodereal.io/v1/api_key/eth/v1/beacon/states/{state_id}/fork`
- Auth: none declared

Returns [Fork](https://github.com/ethereum/consensus-specs/blob/v0.11.1/specs/phase0/beacon-chain.md#fork) object for state with given 'stateId'.

## Path parameters

- `state_id` string, required

## Response `200`

Success

- object
  - `execution_optimistic` boolean: True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.
  - `data` object: The [`Fork`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#fork) object from the CL spec.
    - `previous_version` string: a fork version number
    - `current_version` string: a fork version number
    - `epoch` string

## Other responses

- `400`: Invalid state ID
- `404`: State not found
- `500`: Beacon node internal error.

---

[API](https://skmtc.dev/nodereal/apis/eth-beacon-node-api.md) - [All operations](https://skmtc.dev/nodereal/apis/eth-beacon-node-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nodereal/apis/eth-beacon-node-api/revisions/1878ea8657a1?raw)
