Skip to content

Blocks API

Read confirmed block records by number or hash, with timestamps, transaction counts, and gas metrics.

Endpoints

MethodPathDescriptionCU / CallUSD / 1M CallsCalls per free cycle (approx.)
GET/{chain}/blocks/{number}Get a block by number5$0.506,000,000
GET/{chain}/blocks/hash/{hash}Get a block by hash5$0.506,000,000

Free plan: all keys in your account share an average of 25 calls per second.

Response fields

GET/{chain}/blocks/{number}

FieldType
numberinteger
hashstring
parent_hashstring
timestampstring
minerstring
gas_limitinteger
gas_usedinteger
base_fee_per_gasstring | null
state_rootstring
transactions_rootstring
receipts_rootstring
tx_countinteger
sizeinteger
l1_block_numberinteger | null
extraobject

GET/{chain}/blocks/hash/{hash}

FieldType
numberinteger
hashstring
parent_hashstring
timestampstring
minerstring
gas_limitinteger
gas_usedinteger
base_fee_per_gasstring | null
state_rootstring
transactions_rootstring
receipts_rootstring
tx_countinteger
sizeinteger
l1_block_numberinteger | null
extraobject

Available on Chains

View live status →

Quick example

curl -s "https://api.blockvectra.com/v1/data/arb_mainnet/blocks/1" -H "x-api-key: {api_key}"

Documentation

Try this dataset for free

Get 30M CU on sign-up, refilled every 30 days.

Data API bills only successful responses.