"output": "json" and you get it as fields: a repo’s stars, forks, languages and latest release, a file’s text, a list of commits, an issue with every comment, or this week’s trending repos. You don’t need a GitHub account or token, and each link costs 1 credit. Long lists cost a little more (credits).
Example
result, shortened:
?readme=true to get the README as Markdown.
Links that work
To search GitHub from a query rather than a link, Search has a developer source for issues, repositories and users.
Star history
GitHub stopped showing who starred a repository in 2026. A/stargazers link gives you how many stars arrived each day instead, which is what you need to chart a repo’s growth:
Credits
- Each link is 1 credit.
- Lists include 100 rows in that credit, and each further 100 rows is 1 more.
- Search results and “Used by” lists come from GitHub a page at a time, so each page after the first is 1 more.
- An issue or pull request with more than 100 comments and events is 1 more for each further 100.
Limits
- Only public repos and profiles are read. Private repos and anything that needs a login aren’t available.
- GitHub only lets signed-in users search code, so
type=codesearches fail free. - Who starred or watches a repo, traffic and insights pages, and Actions logs and artifacts aren’t shown to the public, so they aren’t available.
Templates
Templates cover the common GitHub jobs, such as repository details, trending repositories, star history, releases and downloads, commit history, issues and pull requests, top repos for a topic and who uses a repo.Check GitHub’s terms, including its Acceptable Use Policies, before you collect data from it. You’re responsible for how you use what you collect.

