Skip to content

Block Headers

Returns the block headers matching the given criteria (slot, parent root). If no criteria are specified, returns the header for the head slot.

GET /eth/v1/beacon/headers
ParameterTypeDescription
slotstringSlot number to filter by (optional)
parent_rootstringParent root to filter by (optional)
Terminal window
# Get latest headers
curl https://eth-beacon.blockreq.com/v1/rpc/public/eth/v1/beacon/headers
# Get header for specific slot
curl https://eth-beacon.blockreq.com/v1/rpc/public/eth/v1/beacon/headers?slot=1000000