v52

latestOpenAPI 3.1.0CC-0raw.githubusercontent.com2026-08-06565587.2 KB
Blocks

Get Stacks 2.x block by ID

Get a specific Stacks 2.x era block by its block ID. This endpoint streams the block data from the filesystem storage where traditional Stacks blocks are stored as individual files.

Compatibility: Works with all Stacks 2.x blocks. For Nakamoto blocks (Stacks 3.x+), use /v3/blocks/{block_id}.

get/v2/blocks/{block_id}

Path parameters

block_idstring required

Hex-encoded block ID (64 characters)

Response

The block data