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]
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]
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]