← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

GitHub introduces new API endpoint for repository star history without stargazer identities

🔄 Updated 23d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • New API endpoint provides 30 weeks of daily star counts.
  • Stargazer identities are no longer included in the response.
  • Addresses spam/phishing risks from identity collection.
  • Improves database performance for star history queries.

New Star History API Endpoint Launched

GitHub has introduced a new API endpoint designed to provide repository star history. This endpoint returns up to 30 weeks of daily star counts in a single request. Crucially, it does not include any individual stargazer identities, focusing solely on the numerical trend of stars over time.

Addressing Previous Issues with Stargazer Data

The previous method for obtaining star history involved requesting pages of stargazer records, which included timestamps and user identities. This design led to two main problems: bad actors scraped public stargazer lists for spam and phishing campaigns, and for highly starred repositories, the endpoint caused the database to process thousands of entries for a single page, impacting performance.

Improved Performance and Security

The new endpoint improves database efficiency by filtering stars by time before counting them, reducing the amount of data processed. This contrasts with earlier attempts to simply return less data, which did not make the query cheaper. The removal of identity data also mitigates the security risks associated with bulk collection of user information.

Impact on Maintainers and Tool Builders

Initially, GitHub restricted stargazer and watcher lists to repository administrators and collaborators to address immediate risks. This change disrupted existing tools that relied on the old API to calculate star history. After consulting with maintainers and tool builders, GitHub developed the new aggregate endpoint to provide the curve of star counts, which was the essential data point for understanding project trajectory and interest, without the unnecessary user identities.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 07

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

GitHub has released a new API endpoint that provides daily star counts for repositories over 30 weeks in a single request, without including individual stargazer identities. This change addresses previous issues where bulk collection of stargazer identities led to spam and phishing, and improves database performance by reducing the data processed for star history queries.