> ## 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/fork_schedule

> Get scheduled upcoming forks

```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/fork_schedule" \
    -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/fork_schedule" \
    -H "Content-Type: application/json"
```


## OpenAPI

````yaml nodeapi/openapi/beacon-node-oapi-v4.json GET /eth/v1/config/fork_schedule
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/fork_schedule:
    get:
      tags:
        - Config
      summary: Get scheduled upcoming forks.
      description: >-
        Retrieve all forks, past present and future, of which this node is
        aware.
      operationId: getForkSchedule
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                title: GetForkScheduleResponse
                type: object
                required:
                  - data
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      description: >-
                        The
                        [`Fork`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#fork)
                        object from the CL spec.
                      required:
                        - previous_version
                        - current_version
                        - epoch
                      properties:
                        previous_version:
                          type: string
                          format: hex
                          description: a fork version number
                          example: '0x00000000'
                          pattern: ^0x[a-fA-F0-9]{8}$
                        current_version:
                          type: string
                          format: hex
                          description: a fork version number
                          example: '0x00000000'
                          pattern: ^0x[a-fA-F0-9]{8}$
                        epoch:
                          type: string
                          example: '1'
        '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.