# Get Neuron Incentive Distribution

Returns neuron incentives and immunity status for a subnet, with each neuron's UID, hotkey and coldkey.

_Source: https://beta.taostats.io/docs/api-reference/neuron/get-neuron-incentive-distribution_

_Last reviewed: 2026-09-18_

```http
GET https://api.taostats.io/api/neuron/incentive_distribution/v1
```

Requires an API key in the `Authorization` header.

Returns neuron incentives and immunity status for a subnet, with each neuron's UID, hotkey and coldkey. Use these records to inspect how incentives are distributed among neurons.

## Try it

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

### Examples

See the miner incentive distribution in subnet 19 over the last 7 days

```text
https://api.taostats.io/api/neuron/incentive_distribution/v1?netuid=19&days=7
```

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/api/neuron/incentive_distribution/v1?netuid=19&days=7"
```

**JavaScript**

```js
const response = await fetch('https://api.taostats.io/api/neuron/incentive_distribution/v1?netuid=19&days=7', {
  headers: {
    Authorization: '<YOUR_API_KEY>',
  },
});
const data = await response.json();
```

**Python**

```python
import requests

response = requests.get(
    "https://api.taostats.io/api/neuron/incentive_distribution/v1?netuid=19&days=7",
    headers={"Authorization": "<YOUR_API_KEY>"},
)
data = response.json()
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `netuid` | query | `integer (int32)` | Yes | Subnet ID |
| `days` | query | `integer (int32)` | Yes | Integer between 1 and 7 |

## Responses

### `200` — Neuron history retrieved successfully

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `array` | Yes |  |
| `data[].block_number` | `integer (int32)` | Yes |  |
| `data[].coldkey` | `object` | Yes |  |
| `data[].coldkey.hex` | `string` | Yes | The hex format of the hot key |
| `data[].coldkey.ss58` | `string` | Yes | The SS58 format of the hot key |
| `data[].hotkey` | `object` | Yes |  |
| `data[].hotkey.hex` | `string` | Yes | The hex format of the hot key |
| `data[].hotkey.ss58` | `string` | Yes | The SS58 format of the hot key |
| `data[].incentive` | `string` | Yes |  |
| `data[].is_immune` | `boolean` | Yes |  |
| `data[].registration_block` | `integer (int32)` | Yes |  |
| `data[].timestamp` | `string (date-time)` | Yes |  |
| `data[].uid` | `integer (int32)` | Yes |  |
| `pagination` | `object` | Yes |  |
| `pagination.current_page` | `integer (int32)` | Yes |  |
| `pagination.next_page` | `integer (int32), nullable` |  |  |
| `pagination.per_page` | `integer (int32)` | Yes |  |
| `pagination.prev_page` | `integer (int32), nullable` |  |  |
| `pagination.total_items` | `integer (int32)` | Yes |  |
| `pagination.total_pages` | `integer (int32)` | Yes |  |

### Other responses

| Status | Meaning |
| --- | --- |
| `400` | Bad request |
| `404` | Neuron history not found |
| `500` | Internal server error |

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).
