Skip to content

Instantly share code, notes, and snippets.

@eonist
Created December 28, 2025 12:56
Show Gist options
  • Select an option

  • Save eonist/5b06053901f2e536d160e9dd03c110bd to your computer and use it in GitHub Desktop.

Select an option

Save eonist/5b06053901f2e536d160e9dd03c110bd to your computer and use it in GitHub Desktop.
gh_rate_limit_api.md

The GitHub API limit of 5,000 requests is per hour, not per day. This rate limit applies to authenticated users making API requests with a personal access token, or through authorized GitHub Apps or OAuth apps.[1][2]

Rate Limits by Authentication Type

The specific limits vary based on how you authenticate:

  • Unauthenticated requests: 60 requests per hour[5][9]
  • Authenticated users (personal access tokens): 5,000 requests per hour[2][5]
  • GitHub Enterprise Cloud organizations: 15,000 requests per hour for GitHub Apps or OAuth apps owned by or approved by the organization[2][5]
  • GITHUB_TOKEN in GitHub Actions: 1,000 requests per hour per repository (15,000 per hour for Enterprise Cloud accounts)[8][2]

Additional Constraints

Beyond the primary hourly limits, GitHub also enforces secondary rate limits to prevent abuse, including no more than 100 concurrent requests and no more than 900 points per minute for REST API endpoints. GitHub App installations that are not on Enterprise Cloud organizations start with a base limit of 5,000 requests per hour, which can scale up to 12,500 requests per hour based on the number of repositories and users.[9][2]

1 2 3 4 5 6 7 8 9 10 11 12 13 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment