
GitHub adds star history API after limiting stargazer identity access
GitHub added a star history REST API so tools can track repository growth without exposing individual stargazer identities.
GitHub has introduced a repository star history REST API endpoint that lets developers track star growth over time without exposing the identities of individual stargazers. The company announced the change on September 4, saying it is meant to replace workflows that depended on older stargazer listing access before privacy restrictions narrowed who could see that data.
The practical change is simple: tools can still measure repository interest, but they get aggregated history instead of a user list. GitHub says the endpoint returns historical star counts with timestamps. Its REST documentation describes a weekly response shape that includes a Unix week value, a total count, and a seven item daily breakdown. That gives maintainers and ecosystem tools enough signal to watch momentum around a launch, release, or community campaign without turning stars into a public identity feed.
Why It Matters
Stars are an imperfect metric, but they remain one of the quickest public signals people use when evaluating open source projects. Package maintainers, developer relations teams, investors, researchers, and dashboard vendors often track those counts to understand adoption and timing. When GitHub restricted stargazer listing endpoints earlier this year to admins and collaborators, privacy improved, but some legitimate analytics tools lost a data source.
The new endpoint is GitHub's compromise. It protects individual user choices while preserving trend analysis for repositories. That distinction matters because public software communities need some visibility into project health, but the identity of every person who bookmarks a repository is rarely necessary for that work.
What To Watch
Teams that previously stored stargazer identities should review whether they need that personal data at all. For many dashboards, a star count timeline is enough. The CyberOGZ read is that this update nudges developer tooling toward privacy by default without forcing maintainers to give up basic growth analytics.
The limitation is that aggregated history will not replace every old workflow. Community managers who used stargazer lists for outreach, spam analysis, or account level research will have less detail unless they are repository admins or collaborators. That is probably the point. GitHub is separating useful repository telemetry from user level tracking, and API clients should adapt their reporting around that boundary.
Sources
Cover photo by Daniil Komov on Pexels, used under the Pexels License.
CyberOGZ Team






Comments (0)
Leave a Comment