- APIs
- Stacks Blockchain API
- Block By Height V3
Block by height (v3)
RPC node
Retrieves a block by its height using the v3 endpoint.
GET
Parameters
Path Parameters
block_height
REQUIRED
integer The block's height
Query Parameters
tip
string Stacks chain tip to query from. Options:
- (empty/omitted): Use latest anchored tip (canonical confirmed state)
- `latest`: Use latest known tip including unconfirmed microblocks
- `{block_id}`: Use specific block ID (64 hex characters)
Status code | Description |
---|---|
200 | The raw SIP-003-encoded block will be returned. |
400 | Bad request |
404 | Not found |
500 | Internal Server Error |
cURL
curl -L \"https://api.hiro.so/v3/blocks/height/{block_height}?tip={tip}" \-H 'Accept: application/json'