github has a rate limit of 5000/hour for OAuth client, but I can't find the same information from gitlab (apart from 6/minute for creating new users and resetting password), does it mean there's no limit?
To prevent an API from being overwhelmed, API owners often enforce a limit on the number of requests, or the quantity of data clients can consume. This is called Application Rate Limiting. If a user sends too many requests, API rate limiting can throttle client connections instead of disconnecting them immediately.
In the API Console, there is a similar quota referred to as Requests per 100 seconds per user. By default, it is set to 100 requests per 100 seconds per user and can be adjusted to a maximum value of 1,000. But the number of requests to the API is restricted to a maximum of 10 requests per second per user.
When using GITHUB_TOKEN , the rate limit is 1,000 requests per hour per repository. For requests to resources that belong to an enterprise account on GitHub.com, GitHub Enterprise Cloud's rate limit applies, and the limit is 15,000 requests per hour per repository.
API Connect supports two types of rate limiting: Rate limit. A specified number of calls to be accepted within a defined time period; for example, 100 calls per minute. In API Connect, rate limits can be defined as unlimited, or with a specified number of calls per second, minute, hour, day, or week.
The rate limit is 5 requests per minute per user. Introduced in GitLab 13.4. There is a rate limit for testing webhooks, which prevents abuse of the webhook functionality. The rate limit is 5 requests per minute per user. Introduced in GitLab 14.7. There is a rate limit per IP address on the /users/sign_up endpoint.
The maximum rate limit for an installation is 12,500 requests per hour. GitHub Apps that are installed on an organization or repository owned by a GitHub Enterprise Cloud account and make server-to-server requests have a rate limit of 15,000 requests per hour.
Rate limits for GitHub Apps help control the rate of traffic. 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.
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 answer is no longer "no", at least on gitlab.com:
We enabled capacity limiting on GitLab.com to reduce impact of GitLab Runners on stability of GitLab.
Now each API response has the following headers:
RateLimit-Limit: 600
RateLimit-Observed: 12
RateLimit-Remaining: 588
From this issue, it looks like the limit is 10 requests per second per IP address.
For self-managed deploys the rate limits are configurable. For GitLab.com specific rate limits see here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With