---
title: "returns the epoch start block for a given epoch, following the protocol structure, JSON encoded"
method: GET
path: "/internal/json/startofepoch/metablock/by-epoch/{epoch}"
tags: ["internal"]
---

# returns the epoch start block for a given epoch, following the protocol structure, JSON encoded

`GET /internal/json/startofepoch/metablock/by-epoch/{epoch}`

## Path parameters

- `epoch` integer, required

## Response `200`

successful operation

- GenericResponse
  - `data` object
  - `error` string
  - `code` string

## Other responses

- `400` — validation error

## Changes

- **2023-02-09** `eaf76635324d` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2023-02-08** `82d543636074` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Change history](https://skmtc.dev/multiversx/apis/multiversx-gateway-api/changes/internal/json/startofepoch/metablock/by-epoch/:epoch/get.md)

---

[API](https://skmtc.dev/multiversx/apis/multiversx-gateway-api.md) · [All operations](https://skmtc.dev/multiversx/apis/multiversx-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/multiversx/apis/multiversx-gateway-api/revisions/44c49bc12621?raw)
