Home

Get a block hash by height.

GET
https://ethw-blockbook.nownodes.io/api/v2/block-index/{height}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the block hash for a height on the backend main chain. Blockbook follows the backend main chain; after a rollback or reorg, height lookups resolve to the current main-chain block.

Load estimate: Low; indexed height-to-hash lookup.

live-verified behavior:

  • Live capture (height 1): the Ethereum genesis-era hash 0x88e96d...06cb6.

Parameters

heightinteger>= 0requiredpath

Block height on the backend main chain.

Response

200OK

Block hash at the requested height.

400Bad Request

Public API error (JSON).

401Unauthorized

Missing or invalid API key (plain text).