Skip to main content

GitHub rate limit

You can check your rate limit (usage/quota) via the GitHub REST API using your token. Run this in your terminal:

curl -H "Authorization: token YOUR_PERSONAL_ACCESS_TOKEN" https://api.github.com/rate_limit
  • Replace YOUR_PERSONAL_ACCESS_TOKEN with your actual token.
  • The response will include your current rate limits and remaining requests.

Sample response snippet:

{
"rate": {
"limit": 5000,
"remaining": 4999,
"reset": 1372700873
}
}

GitHub limits are per hour, per user, per authenticated token.


GitLab

GitLab doesn’t provide a direct endpoint for rate limit status like GitHub, but API limits are described in their docs:

You can monitor by handling error responses in your integrations.


Azure DevOps

Azure DevOps has throttling limits, but doesn’t provide a rate limit endpoint. You’ll see HTTP 429 messages if you hit the limit.


Summary Table

ServiceHow to Check Usage/Rate Limit
GitHubcurl -H "Authorization: token YOUR_TOKEN" https://api.github.com/rate_limit
GitLabNo endpoint. Check error messages for limits. Read their docs for details.
Azure DevOpsNo endpoint. Check for HTTP 429 error, see official docs for throttling info.