Skip to main content

Final Block by Height

Fetch the finalized block document for a given height. Depending on deployment topology, the request may redirect to the host that owns the canonical archive range. This embed starts with the genesis block height for the selected network so the request is runnable immediately.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://mainnet.neardata.xyz
Authnone detected
Live Response

Responses from the selected endpoint appear here after you run a request.

Live response output will appear here after you run a request.

Request reference

GET

This operation performs GET /v0/block/{block_height}.

Required request inputs: yes

GET /v0/block/9820210

Path parameters

block_height *string

Query parameters

apiKeystring

Response reference

200 application/json

Requested document, or null when the selected slice is absent

Response schema

object

Full block document as served by neardata, including block and shards.