> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /eth/v1/config/spec

> Get spec params

```bash title="Mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl -X GET \
    "https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/config/spec" \
    -H "Content-Type: application/json"
```

```bash title="Testnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl -X GET \
    "https://sepolia.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/config/spec" \
    -H "Content-Type: application/json"
```


## OpenAPI

````yaml nodeapi/openapi/beacon-node-oapi-v4.json GET /eth/v1/config/spec
openapi: 3.1.0
info:
  title: Eth Beacon Node API
  version: v4.0.0 - Ethereum Proof-of-Stake Consensus Specification v1.5.0
  description: >-
    Subset of the Ethereum Beacon Node API v4.0.0 for routes added after the
    v2.3.0 spec used by the other beacon pages.
servers:
  - url: https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/
    description: Mainnet Beacon API
  - url: https://sepolia.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/
    description: Sepolia Beacon API
security: []
tags:
  - name: Beacon
    description: Set of endpoints to query beacon chain.
  - name: Config
    description: Endpoints to query chain configuration, specification, and fork schedules.
  - name: Debug
    description: Set of endpoints to debug chain and shouldn't be exposed publicly.
  - name: Node
    description: Endpoints to query node related information.
  - name: Validator
    description: Endpoints intended for validator clients.
  - name: ValidatorRequiredApi
    description: >
      Minimal set of endpoints to enable a working validator implementation.


      [Checkout validator flow](./validator-flow.md) to learn how to use this
      api.
  - name: Rewards
    description: Endpoints to query rewards and penalties for validators.
paths:
  /eth/v1/config/spec:
    get:
      tags:
        - Config
        - ValidatorRequiredApi
      summary: Get spec params.
      description: >
        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/v1.3.0/specs/phase0/beacon-chain.md#constants) and [altair](https://github.com/ethereum/consensus-specs/blob/v1.3.0/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/v1.3.0/presets/mainnet/phase0.yaml) and [altair](https://github.com/ethereum/consensus-specs/blob/v1.3.0/presets/mainnet/altair.yaml) values
          - Configuration for the beacon node, for example the [mainnet](https://github.com/ethereum/consensus-specs/blob/v1.3.0/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
          - array values are returned as a JSON array
      operationId: getSpec
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                title: GetSpecResponse
                type: object
                required:
                  - data
                properties:
                  data:
                    description: >
                      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
                    type: object
                    example:
                      DEPOSIT_CONTRACT_ADDRESS: '0x00000000219ab540356cBB839Cbe05303d7705Fa'
                      DEPOSIT_NETWORK_ID: '1'
                      DOMAIN_AGGREGATE_AND_PROOF: '0x06000000'
                      INACTIVITY_PENALTY_QUOTIENT: '67108864'
                      INACTIVITY_PENALTY_QUOTIENT_ALTAIR: '50331648'
                      BLOB_SCHEDULE:
                        - EPOCH: '269568'
                          MAX_BLOBS_PER_BLOCK: '6'
                        - EPOCH: '364032'
                          MAX_BLOBS_PER_BLOCK: '9'
        '500':
          description: Beacon node internal error.
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - message
                properties:
                  code:
                    description: >-
                      Either specific error code in case of invalid request or
                      http status code
                    type: number
                    example: 404
                  message:
                    description: Message describing error
                    type: string
                  stacktraces:
                    description: Optional stacktraces, sent when node is in debug mode
                    type: array
                    items:
                      type: string
              example:
                code: 500
                message: Internal server error

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.