# Get Network Runtime Version

Current runtime version snapshot — the latest row by block height.

_Source: https://beta.taostats.io/docs/new/network/get-network-runtime-version_

_Last reviewed: 2026-10-07_

```http
GET https://api.taostats.io/v1/network/runtime-version
```

Requires an API key in the `Authorization` header.

Current runtime version snapshot — the latest row by block height.

## Try it

Try this request in the browser on the HTML version of this page, or use the code samples below.

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/v1/network/runtime-version"
```

**JavaScript**

```js
const response = await fetch('https://api.taostats.io/v1/network/runtime-version', {
  headers: {
    Authorization: '<YOUR_API_KEY>',
  },
});
const data = await response.json();
```

**Python**

```python
import requests

response = requests.get(
    "https://api.taostats.io/v1/network/runtime-version",
    headers={"Authorization": "<YOUR_API_KEY>"},
)
data = response.json()
```

## Parameters

_No parameters._

## Responses

### `200` — Latest runtime version observed on the indexed network

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes | One row of the runtime-version response, shaped for HTTP JSON output. `timestamp` is rendered with explicit millisecond precision (`.000Z`) to match the sibling network endpoints (issue #420), distinct from the ClickHouse row type which uses millis-since-epoch. |
| `data.block_number` | `integer (int32)` | Yes | Block height at which the runtime version changed. |
| `data.runtime_version` | `integer (int32)` | Yes | Runtime spec version active from this block onwards. |
| `data.timestamp` | `string` | Yes | ISO 8601 timestamp with millisecond precision. |

### `404` — No runtime version recorded for the configured network yet

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | `string` | Yes | Plain-english message describing the failure from the caller's perspective. |
| `status_code` | `integer (int32)` | Yes | HTTP status code (mirrored in the response status line for convenience). |

### `500` — Internal server error

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | `string` | Yes | Plain-english message describing the failure from the caller's perspective. |
| `status_code` | `integer (int32)` | Yes | HTTP status code (mirrored in the response status line for convenience). |

Every request needs an `Authorization` header holding your API key — see [Getting started with the Taostats API](https://beta.taostats.io/docs/start-here/getting-started-with-taostats-api).
