Understanding rate limits for GitHub Apps

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

Server-to-server requests

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.

User-to-server requests

GitHub Apps can also act on behalf of a user, making user-to-server requests. These requests are rate limited at 5,000 requests per hour and per authenticated user. All OAuth applications authorized by that user, all of the user's personal access tokens, and all 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 v3 and "Resource limitations" for GraphQL API v4.