All tools
G
by GitHub
List stargazers
Returns the users who starred a repository, optionally with when each star was created.
Updated Sep 29, 2026
list-stargazers.md
List stargazers
Returns the users who starred a repository, optionally with when each star was created.
Note: Send Accept: application/vnd.github.star+json to get each star's starred_at timestamp.
Set up
Use the first option your agent supports.
API (official)
- Base URL: https://api.github.com
- Endpoint:
GET /repos/{owner}/{repo}/stargazers - Auth: send the header
Authorization: Bearer $GITHUB_TOKEN - Get a key: https://github.com/settings/personal-access-tokens/new
- Docs: https://docs.github.com/en/rest
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | GET /repos/{owner}/{repo}/stargazers | API key in $GITHUB_TOKEN | Docs |
