# Get Dev Activity History

Returns daily subnet repository activity over a requested date range.

_Source: https://beta.taostats.io/docs/api-reference/dev-activity/get-dev-activity-history_

_Last reviewed: 2026-09-18_

```http
GET https://api.taostats.io/api/dev_activity/history/v1
```

Requires an API key in the `Authorization` header.

Returns daily subnet repository activity over a requested date range. Metrics include commits, pull requests, issues, reviews, comments and contributor counts.

## Try it

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

### Examples

Track developer activity for subnet 19 over time

```text
https://api.taostats.io/api/dev_activity/history/v1?netuid=19&date_start=2025-01-01&date_end=2025-03-31
```

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/api/dev_activity/history/v1?netuid=19&date_start=2025-01-01&date_end=2025-03-31"
```

**JavaScript**

```js
const response = await fetch('https://api.taostats.io/api/dev_activity/history/v1?netuid=19&date_start=2025-01-01&date_end=2025-03-31', {
  headers: {
    Authorization: '<YOUR_API_KEY>',
  },
});
const data = await response.json();
```

**Python**

```python
import requests

response = requests.get(
    "https://api.taostats.io/api/dev_activity/history/v1?netuid=19&date_start=2025-01-01&date_end=2025-03-31",
    headers={"Authorization": "<YOUR_API_KEY>"},
)
data = response.json()
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `netuid` | query | `string` |  | CSV of netuids (e.g. 1,2,3) |
| `date_start` | query | `string` |  | Start date inclusive (YYYY-MM-DD) |
| `date_end` | query | `string` |  | End date inclusive (YYYY-MM-DD) |

## Responses

### `200` — Dev activity history

| Field | Type | Required |
| --- | --- | --- |
| `data` | `array` | Yes |
| `data[].comments` | `integer (int32)` | Yes |
| `data[].commits` | `integer (int32)` | Yes |
| `data[].day` | `string` | Yes |
| `data[].issues_closed` | `integer (int32)` | Yes |
| `data[].issues_opened` | `integer (int32)` | Yes |
| `data[].netuid` | `integer (int32)` | Yes |
| `data[].prs_merged` | `integer (int32)` | Yes |
| `data[].prs_opened` | `integer (int32)` | Yes |
| `data[].repo_url` | `string` | Yes |
| `data[].reviews` | `integer (int32)` | Yes |
| `data[].unique_contributors_day` | `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 |
| `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).
