Skip to main content
Most of what you’d want from GitHub is on public pages: how popular a repo is, what changed in it, who works on it and what people are asking in its issues. Send a public GitHub link with "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

The item’s result, shortened:
The full result also has the topics, license, top contributors, a sample of the repos that use it, funding links, community files such as the code of conduct and contributing guide, and the files at the root. Add ?readme=true to get the README as Markdown. 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:
That came back with 1,131 days and 162 weeks of counts. The latest of each:

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.
A link that can’t be read is free: a repo or user that doesn’t exist, an empty list, or a page that needs a GitHub login.

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=code searches 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.