GET
/
blocks
/
{height_or_hash}
Block Info
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
  }
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

height_or_hash
string
required

Block height or block hash

Query Parameters

from_timestamp
boolean | null

Whether numeric path param should be taken as timestamp instead of block height. Default: false.

Response

200
application/json

Requested data

The response is of type object.