curl --request GET \
--url 'https://beaconcha.in/api/v1/execution/block/{blockNumber}?apikey='{
"status": "OK",
"data": [
{
"blockHash": "0x160a5ea46dcbaca7fce7bbeef3a3448197c021af6c3e258150ab017629794678",
"blockNumber": 23540530,
"timestamp": 1760017151,
"blockReward": 15027635123493132,
"blockMevReward": 11268157891595494,
"producerReward": 11268157891595494,
"feeRecipient": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97",
"gasLimit": 44999957,
"gasUsed": 26436568,
"baseFee": 473717334,
"txCount": 235,
"internalTxCount": 725,
"uncleCount": 0,
"parentHash": "0x57ddc629098d3a47ddf8c2a554c75c4d9ab0a8bd740c1e86b0f1da324a425953",
"uncleHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"difficulty": 0,
"posConsensus": {
"executionBlockNumber": 23540530,
"proposerIndex": 1843949,
"slot": 12766094,
"epoch": 398940,
"finalized": false
},
"relay": {
"tag": "ultrasound-relay",
"builderPubkey": "0xa3523967a7955c0244910f23b7b1fc59636f03bec437286b622815408d51389f7f6cd54617733b93926b7860e1f6afb0",
"producerFeeRecipient": "0xa27cef8af2b6575903b676e5644657fae96f491f"
},
"consensusAlgorithm": "pos"
}
]
}Retrieve one or more execution-layer blocks by block number. Provide block numbers as a comma-separated list in the blockNumber path segment (up to 100 values). The response includes per-block metadata, rewards, consensus linkage, and relay information when available.
curl --request GET \
--url 'https://beaconcha.in/api/v1/execution/block/{blockNumber}?apikey='{
"status": "OK",
"data": [
{
"blockHash": "0x160a5ea46dcbaca7fce7bbeef3a3448197c021af6c3e258150ab017629794678",
"blockNumber": 23540530,
"timestamp": 1760017151,
"blockReward": 15027635123493132,
"blockMevReward": 11268157891595494,
"producerReward": 11268157891595494,
"feeRecipient": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97",
"gasLimit": 44999957,
"gasUsed": 26436568,
"baseFee": 473717334,
"txCount": 235,
"internalTxCount": 725,
"uncleCount": 0,
"parentHash": "0x57ddc629098d3a47ddf8c2a554c75c4d9ab0a8bd740c1e86b0f1da324a425953",
"uncleHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"difficulty": 0,
"posConsensus": {
"executionBlockNumber": 23540530,
"proposerIndex": 1843949,
"slot": 12766094,
"epoch": 398940,
"finalized": false
},
"relay": {
"tag": "ultrasound-relay",
"builderPubkey": "0xa3523967a7955c0244910f23b7b1fc59636f03bec437286b622815408d51389f7f6cd54617733b93926b7860e1f6afb0",
"producerFeeRecipient": "0xa27cef8af2b6575903b676e5644657fae96f491f"
},
"consensusAlgorithm": "pos"
}
]
}One or more execution block numbers as a comma-separated list. Each item must be a non-negative integer. A maximum of 100 block numbers is allowed per request.
100x >= 0Matching blocks were found. The data array contains one item per retrieved block. If a provided block number is not found, it is omitted from the result.
Was this page helpful?