cURL
curl --request GET \ --url https://xbt-mainnet.gomaestro-api.org/v0/esplora/block-height/{height} \ --header 'api-key: <api-key>'
"00000000000000000001b9dca5d168a8e959df258814beec486572e843fddee5"
Get the block hash for a Bitcoin block at a specific height in the blockchain.
Project API Key
The height of the block.
804000
Block hash as plain text.
The response is of type string.
string
Was this page helpful?