Blocks API
blocksProvides read-only access to confirmed block records by height or hash. Ideal for block explorers, data pipelines, and services verifying block metadata such as timestamps, transaction counts, and gas metrics.
Endpoints
| Method | Path | Description | CU / Call | USD / 1M Calls |
|---|---|---|---|---|
| GET | /{chain}/blocks/{number} | Get a block by number | 5 | $0.5 |
| GET | /{chain}/blocks/hash/{hash} | Get a block by hash | 5 | $0.5 |
Available on Chains
Quick Example
curl -s "https://dev-api.blockvectra.network/v1/data/eth_mainnet/blocks/1" -H "x-api-key: {api_key}"