info - Stacks

Returns core node information: peer and server version, network ID, the current burnchain (Bitcoin) block height, the Stacks chain tip height and hash, tenure height, and sync status.

Endpoint

httpGET /v2/info

Example

bashexport STACKS_RPC=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${STACKS_RPC}v2/info"

Response

json{
    "peer_version": 4207599114,
    "burn_block_height": 867890,
    "stable_burn_block_height": 867889,
    "server_version": "stacks-node 3.1.0.0.8 (release/3.1.0.0.8)",
    "network_id": 1,
    "parent_network_id": 3652501241,
    "stacks_tip_height": 512345,
    "stacks_tip": "b1807a2d5f70910013af2c9e4b7a1d6f3028e5c7b9a0d4f1e6c3b8a2d5f70910",
    "stacks_tip_consensus_hash": "3a5b6e8f0c2d4a6b8e0f1c3d5a7b9e0f27c3b8a2",
    "tenure_height": 512345,
    "is_fully_synced": true
}

Response Fields

FieldTypeDescription
peer_versionnumberP2P protocol version
burn_block_heightnumberCurrent Bitcoin (burnchain) block height
server_versionstringNode software version string
network_idnumberChain network ID (1 = mainnet)
stacks_tip_heightnumberHeight of the Stacks chain tip
stacks_tipstringBlock hash of the Stacks chain tip
tenure_heightnumberCurrent Nakamoto tenure height
is_fully_syncedbooleanWhether the node is fully synced

Use Cases

  • Health probe: Confirm the node is up and fully synced
  • Sync tracking: Compare stacks_tip_height against your indexer

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA path, query, or body parameter was invalid or the transaction was rejected
404 / Not foundNot foundThe account, contract, map entry, variable, or constant does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect