---
title: "Get spec params."
method: GET
path: "/eth/v1/config/spec"
tags: ["Config", "ValidatorRequiredApi"]
---

# Get spec params.

`GET /eth/v1/config/spec`

## 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/config/spec`
- Auth: none declared

Retrieve specification configuration used on this node.  The configuration should include:
  - Constants for all hard forks known by the beacon node, for example the [phase 0](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#constants) and [altair](https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/beacon-chain.md#constants) values
  - Presets for all hard forks supplied to the beacon node, for example the [phase 0](https://github.com/ethereum/consensus-specs/blob/dev/presets/mainnet/phase0.yaml) and [altair](https://github.com/ethereum/consensus-specs/blob/dev/presets/mainnet/altair.yaml) values
  - Configuration for the beacon node, for example the [mainnet](https://github.com/ethereum/consensus-specs/blob/dev/configs/mainnet.yaml) values

Values are returned with following format:
  - any value starting with 0x in the spec is returned as a hex string
  - numeric values are returned as a quoted integer

## Response `200`

Success

- object
  - `data` object: Key value mapping of all constants, presets and configuration values for all known hard forks Values are returned with following format: - any value starting with 0x in the spec is returned as a hex string - numeric values are returned as a quoted integer

## Other responses

- `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)
