---
title: "GitHub Restores Star Growth Tracking Without Exposing Who Starred"
subtitle: "GitHub added a REST endpoint that returns weekly star counts with timestamps, restoring star-history tracking that broke when stargazer listings were locked down."
url: "https://alphasignal.ai/news/github-restores-star-growth-tracking-without-exposing-who-starred"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "GitHub"
company_url: "https://alphasignal.ai/company/github"
published: "2026-09-05T00:04:30.000Z"
updated: "2026-09-05T13:06:46.547Z"
type: "News"
topics:
  - "Api"
  - "Development"
subtopics:
  - "Code Generation"
upvotes: 149
read_time: "2 min"
source_url: "https://github.blog/changelog/2026-09-04-new-api-endpoint-provides-privacy-safe-star-history-data/"
comments: 0
---

# GitHub Restores Star Growth Tracking Without Exposing Who Starred

> GitHub added a REST endpoint that returns weekly star counts with timestamps, restoring star-history tracking that broke when stargazer listings were locked down.

GitHub just plugged a hole it opened earlier this year. A new REST endpoint, `GET /repos/{owner}/{repo}/stargazers/history`, returns a repository's star growth over time without exposing who did the starring. It restores a workflow that dashboards, badges, and internal analytics tools lost when the old stargazer listings were locked down in July.

That lockdown restricted stargazer listing endpoints so only repository admins and collaborators could enumerate who starred a repo, framed as a privacy measure to prevent misuse of the data. Useful for users, painful for anyone building a star time series from those endpoints.

## What comes back

The [star history endpoint](https://docs.github.com/rest/activity/starring?apiVersion=2026-03-10#get-repository-star-history) returns aggregated counts grouped by calendar week, most recent first, with pages moving backward toward the repository's creation week. Weeks without activity still appear with zero counts. The `days` array holds per-day star counts starting on Sunday, and week boundaries are not guaranteed to align with UTC midnight.

A sample response:

```
[
  {
    "week": 1754784000,
    "total": 19,
    "days": [0, 12, 7, 0, 0, 0, 0]
  }
]
```

## Calling it

Public repositories require no authentication:

```
curl -L \
  -H "Accept: application/vnd.github+json" \
  -H "X-GitHub-Api-Version: 2026-03-10" \
  https://api.github.com/repos/OWNER/REPO/stargazers/history
```

A few constraints worth knowing:

- Pagination caps at 30 results per page, with a maximum page number of 100.
- Fine-grained tokens need only the Metadata repository read permission; public repos need no token at all.
- Responses contain aggregate counts only. Stargazer identities never appear.

## Who benefits, and what's gone

Star-history charts, trending-repo leaderboards, OSS dashboards, and README badges that plot growth over time all have a sanctioned replacement path here. Concatenating pages yields one continuous series going back to the repository's creation week, which covers the common case of tracking momentum over time.

Analysis that depended on individual stargazer identity, such as identifying influential stargazers, flagging suspected star-farming, or cross-referencing stars with follower graphs, is gone from the public API by design. The endpoint ships the shape of the curve, which is what most growth tracking actually needs. It is available now on github.com within standard [API rate limits](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api).

## Sources

- [X post by @github](https://x.com/github/status/2096026652606370172)
- [New API endpoint provides privacy-safe star history data](https://github.blog/changelog/2026-09-04-new-api-endpoint-provides-privacy-safe-star-history-data/)
- [REST API endpoints for starring](https://docs.github.com/rest/activity/starring?apiVersion=2026-03-10)
- [Upcoming access restrictions to public API endpoints and UI views](https://github.blog/changelog/2026-06-30-upcoming-access-restrictions-to-public-api-endpoints-and-ui-views/)
