1. Help Center
  2. Troubleshooting

Github API rate limit exceeded

How to overcome Github API rate limit exceeded

The best practice when sending requests to GitHub is to use an authenticated user, Since each authenticated user have its own API rate limit.

There are multiple ways to get authenticated when you use the GitHub APIs -

Basic authentication using a Personal Access Token, for example

curl -u username:personalaccesstoken "https://api.github.com/repos/user/repo/issues?state=closed"

And OAuth

curl "https://api.github.com/repos/user/repo/issues?state=closed&access_token=token"