---
title: "Get block details"
method: GET
path: "/blocks/{block}"
tags: ["Blocks"]
---

# Get block details

`GET /blocks/{block}`

Retrieve metadata for a specific block.

## Path parameters

- `block` union, required
  - integer
  - string

## Response `200`

Block details retrieved successfully

- object
  - `block_number` integer, required
  - `hash` string, required
  - `timestamp` string, required
  - `gas_used` integer, required
  - `transaction_count` integer, required
  - `created_at` string, required
  - `updated_at` string

## Other responses

- `400` — Invalid block number
- `404` — Block not found
- `422` — Validation error
- `500` — Internal server error

## Changes

- **2025-08-12** `7084efecbd8e` — 3 info
  - `path` request parameter `block` list-of-types was widened by adding types `integer`
  - for the `path` request parameter `block`, the type/format was generalized from `string`/`` to ``/``
  - added the optional property `updated_at` to the response with the `200` status
- **2025-07-12** `9f04b98e6728` — 1 info
  - endpoint added
- **2024-12-09** `f327feab88d3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ethproofs/apis/ethproofs-api/changes/blocks/:block/get.md)

---

[API](https://skmtc.dev/ethproofs/apis/ethproofs-api.md) · [All operations](https://skmtc.dev/ethproofs/apis/ethproofs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ethproofs/ethproofs-api/revisions/cad0595821db/schema)
