# getHeight

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

**POST** `/getHeight`

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

Retrieves the current blockchain height

## Responses

### 200

The current blockchain height

- `height` (integer)

Example:

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

### 400

Invalid input

### 500

Internal server error