# Latest Height

## **ENDPOINT**

```
GET https://api.data123.io/aleo/<API KEY>/v1/testnet3/latest/height
```

### **Arguments**

None

### **Response**

| Parameter | type | Description                       |
| --------- | ---- | --------------------------------- |
| result    | u32  | The number of blocks in the chain |

### Request

{% tabs %}
{% tab title="REST" %}

```bash
curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/latest/height
```

{% endtab %}

{% tab title="JSON-RPC" %}

<pre class="language-sh"><code class="lang-sh"><strong>curl https://api.data123.io/aleo/&#x3C;API KEY>/rpc/v1/testnet3 \
</strong>    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"getLatestHeight","params":[],"id":1}'
</code></pre>

{% endtab %}
{% endtabs %}
