Rate limits for GitHub Apps

Rate limits for GitHub Apps help control the rate of traffic.

In this article

Server-to-server requests

Different server-to-server request rate limits apply to GitHub Apps if the app is installed on organizations or repositories owned by a GitHub Enterprise Cloud account.

Normal server-to-server rate limits

GitHub Apps making server-to-server requests use the installation's minimum rate limit of 5,000 requests per hour. Organization installations with more than 20 users receive another 50 requests per hour for each user. Installations that have more than 20 repositories receive another 50 requests per hour for each repository. The maximum rate limit for an installation is 12,500 requests per hour.

GitHub Enterprise Cloud server-to-server rate limits

GitHub Apps that are installed on an organization or repository owned by a GitHub Enterprise Cloud account and make server-to-server requests have a rate limit of 15,000 requests per hour.

User-to-server requests

GitHub Apps can also act on behalf of a user, making user-to-server requests.

Different user-to-server request rate limits apply to GitHub Apps if the app is installed on organizations or repositories owned by a GitHub Enterprise Cloud account and the authenticated user also belongs to the same GitHub Enterprise Cloud account.

Normal user-to-server rate limits

User-to-server requests are rate limited at 5,000 requests per hour and per authenticated user. All OAuth applications authorized by that user, personal access tokens owned by that user, and requests authenticated with that user's username and password share the same quota of 5,000 requests per hour for that user.

GitHub Enterprise Cloud user-to-server rate limits

When a user belongs to a GitHub Enterprise Cloud account, user-to-server requests to resources owned by the same GitHub Enterprise Cloud account are rate limited at 15,000 requests per hour and per authenticated user. All OAuth applications authorized by that user, personal access tokens owned by that user, and GitHub Enterprise Cloud requests authenticated with that user's username and password share the same quota of 5,000 requests per hour for that user.

For more detailed information about rate limits, see "Rate limiting" for REST API and "Resource limitations" for GraphQL API.

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.