# getHeaderForHeight

> For the complete documentation index, see [llms.txt](https://bsvblockchain.com/docs/llms.txt).

**POST** `/getHeaderForHeight`

Base URL: `http://localhost:3321`

Retrieves the block header for a specific height

## Body

Content type: `application/json`

- `height` (integer)

Example:

```json
{
  "height": 0
}
```

## Responses

### 200

The block header

- `header` (string)

Example:

```json
{
  "header": "string"
}
```

### 400

Invalid input

### 500

Internal server error