curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/blocks/{height_or_hash} \
--header 'api-key: <api-key>'{
"data": {
"coinbase_tag": "A8tlDQgvVmlhQlRDLyz6vm1tPXaDOuJgXZs6zuF9J7o+V55Fu/UWyF9S+hZG5d/z+c8QAAAAAAAAABDThC4BY8HxNM7fc9SQsQ8AAAAAAA==",
"hash": "000000000000000000004fe9dc835b41f2da749287c4d1fca9055d83b2e06fa4",
"height": 878027,
"metaprotocols": [
"inscriptions",
"runes",
"brc20"
],
"miner_name": "ViaBTC",
"size": 1865672,
"timestamp": "2025-01-06 02:09:37",
"total_fees": "2110512",
"total_txs": 1849,
"total_volume": "240371600038",
"unix_timestamp": 1736129377,
"weight_units": 3993329
},
"last_updated": {
"block_hash": "00000000000000000002467d678b845978ef175b424cff2985860bb156280c53",
"block_height": 878064
}
}Get detailed Bitcoin block information by block height or hash including transactions, size, and mining details.
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/blocks/{height_or_hash} \
--header 'api-key: <api-key>'{
"data": {
"coinbase_tag": "A8tlDQgvVmlhQlRDLyz6vm1tPXaDOuJgXZs6zuF9J7o+V55Fu/UWyF9S+hZG5d/z+c8QAAAAAAAAABDThC4BY8HxNM7fc9SQsQ8AAAAAAA==",
"hash": "000000000000000000004fe9dc835b41f2da749287c4d1fca9055d83b2e06fa4",
"height": 878027,
"metaprotocols": [
"inscriptions",
"runes",
"brc20"
],
"miner_name": "ViaBTC",
"size": 1865672,
"timestamp": "2025-01-06 02:09:37",
"total_fees": "2110512",
"total_txs": 1849,
"total_volume": "240371600038",
"unix_timestamp": 1736129377,
"weight_units": 3993329
},
"last_updated": {
"block_hash": "00000000000000000002467d678b845978ef175b424cff2985860bb156280c53",
"block_height": 878064
}
}Project API Key
Block height or block hash
Whether numeric path param should be taken as timestamp instead of block height. Default: false.
Requested data
Show child attributes
Base64-encoding of script pubkey used in coinbase transaction input.
"A8tlDQgvVmlhQlRDLyz6vm1tPXaDOuJgXZs6zuF9J7o+V55Fu/UWyF9S+hZG5d/z+c8QAAAAAAAAABDThC4BY8HxNM7fc9SQsQ8AAAAAAA=="
Block hash.
"0000000000000000000290db65621592a96224ecbe92ae22532a35dc40213471"
Block height.
x >= 0875075
Whether any of the transactions in the block involved metaprotocols.
inscriptions, runes, brc20 Block size in bytes.
x >= 01865672
The timestamp of the block, as claimed by the miner, in UTC format.
"2024-12-16 22:48:06"
Total fees paid by all transactions in the block, in satoshis.
"2110512"
Total number of transactions.
x >= 0"1849"
Total number of satoshis that went through this block, minus fees.
"240371600038"
The timestamp of the block, as claimed by the miner.
x >= 01734389286
Number of weight units (WU) of the block.
x >= 03993329
Miner name.
"ViaBTC"
Was this page helpful?