---
title: "Retrieves the block header for a specific height"
method: POST
path: "/getHeaderForHeight"
tags: ["HTTPWalletJSON"]
---

# Retrieves the block header for a specific height

`POST /getHeaderForHeight`

## Request body

- object
  - `height` integer

## Response `200`

The block header

- object
  - `header` string

## Other responses

- `400` — Invalid input
- `500` — Internal server error

---

[API](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api.md) · [All operations](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bsv-blockchain/wallet-json-api/revisions/4b04a6edb128/schema)
