Skip to main content

Rate limits for GitHub Apps

Rate limits for GitHub Apps and OAuth Apps help control the rate of traffic to GitHub.com.

: 現在のレート制限の状態はいつでも確認できます。 詳細については、「レート制限のステータスのチェック」を参照してください。

About rate limits for apps

Rate limits for GitHub Apps and OAuth Apps depend on the plan for the organization where you install the application. For more information, see "GitHub's products" and "Types of GitHub accounts."

Server-to-server requests

Default server-to-server rate limits for GitHub.com

GitHub Apps making server-to-server requests use the installation's minimum rate limit of 5,000 requests per hour. If an application is installed on an organization with more than 20 users, the application receives 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.

Server-to-server rate limits for GitHub Enterprise Cloud

GitHub Apps that are installed on an organization within an enterprise on GitHub.com are subject to a limit of 15,000 requests per hour per organization that has installed the app.

User-to-server requests

GitHub Apps and OAuth Apps can also act on behalf of a user, making user-to-server requests after the user authorizes the app. For more information, see "Authorizing GitHub Apps" and "Authorizing OAuth Apps."

User-to-server requests from OAuth Apps are authenticated with an OAuth token. User-to-server requests from GitHub Apps are authenticated with either an OAuth token or an expiring user access token. For more information, see "Identifying and authorizing users for GitHub Apps" and "Authorizing OAuth Apps."

Default user-to-server rate limits for GitHub.com

User-to-server requests are limited to 5,000 requests per hour and per authenticated user. All requests from OAuth applications authorized by a user or a personal access token owned by the user, and requests authenticated with any of the user's authentication credentials, share the same quota of 5,000 requests per hour for that user.

User-to-server rate limits for GitHub Enterprise Cloud

次のシナリオの場合、ユーザーからサーバーへの要求には、1 時間あたりの認証済みユーザーあたり 15,000 個の要求の上限が適用されます。

  • この要求は、GitHub Enterprise Cloud 組織が所有する GitHub App からの要求です。
  • この要求は、GitHub Enterprise Cloud 組織が所有しているか、承認した OAuth App からの要求です。

Further reading