DEV Community

Алексей Спинов
Алексей Спинов

Posted on

GitHub API Without a Token — What You Can Access for Free

GitHub's REST API gives you 60 requests/hour without any token. Here's what you can access.

User Profiles

https://api.github.com/users/torvalds
Enter fullscreen mode Exit fullscreen mode

Returns: name, bio, company, followers (291K!), repos, created_at.

User Repos (sorted by stars)

https://api.github.com/users/torvalds/repos?sort=stars&per_page=30
Enter fullscreen mode Exit fullscreen mode

Returns: name, description, stars, forks, language, topics, license.

Repo Issues

https://api.github.com/repos/facebook/react/issues?state=open&per_page=30
Enter fullscreen mode Exit fullscreen mode

Returns: title, labels, assignees, comments, reactions, created_at.

Search Repos

https://api.github.com/search/repositories?q=web+scraping&sort=stars
Enter fullscreen mode Exit fullscreen mode

Rate Limits

  • Without token: 60 req/hour
  • With free token: 5000 req/hour
  • Check: X-RateLimit-Remaining header

I built GitHub Profile and Issues scrapers on Apify — search knotless_cadence github.

Top comments (0)