{hash}: Get block by hash

API: mempool.space:mempool
Endpoint: /block/{hash}
Response format: application/json
Auth: none
Method: GET
Last Status: 200
Latency: 136ms

Description

Returns detailed information about a specific block including timestamp, transaction count, size, difficulty, and merkle root. Use this to analyze block properties and confirm transactions.

From spec: Returns detailed information about a specific block.

Usage Tips

- Block hash must be 64 hex characters - Returns tx_count which can be used to estimate block fullness - Size and weight fields help understand block capacity usage

Parameters (1)

hash (string, path, required)

Block hash (64 character hex string)

Constraints: {'pattern': '^[0-9a-f]{64}$'}

Examples (1)

Get block details by hash probe-gate

Demonstrates retrieving detailed metadata about a specific block using its hash

curl 'https://mempool.space/api/block/00000000000000000000b4644da0b48256b69c3c50339c9970bf9e8459072492'
import requests

resp = requests.get("https://mempool.space/api/block/00000000000000000000b4644da0b48256b69c3c50339c9970bf9e8459072492")
data = resp.json()
import zingu_apis

api = zingu_apis.api("mempool")
result = api.fetch("block/{hash}")

for item in result:
    print(item)
const resp = await fetch("https://mempool.space/api/block/00000000000000000000b4644da0b48256b69c3c50339c9970bf9e8459072492");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 00:18:46.859770 200 136ms
2026-04-15 03:08:43.629837 200 143ms
2026-04-14 02:50:53.884990 200 149ms
2026-04-12 16:49:53.972185 200 146ms
2026-04-10 04:18:59.782653 200 96ms
2026-04-09 02:22:26.040516 200 161ms
2026-04-08 07:13:19.497677 200 143ms
2026-04-07 00:03:48.536280 200 148ms
2026-04-05 21:06:15.513001 200 1510ms
2026-04-05 01:51:40.629941 200 174ms