- API request quotas
- Request quotas are the maximum number of API requests in a rolling 24-hour period.
- Maximum of 300 queries per 24 hours per IP address, if not using an API
key
value. Requests with an APIkey
also count against this quota. It is not separate from the 10k quota, which means these 300 requests are likely to be consumed by applications using an APIkey
. - Maximum of 10,000 queries per day per API
key
and IP address pair, if using a per-application APIkey
, with some exceptions:- Some high-profile tools that actively help out with the Stack Exchange network receive special keys that grant them an extended limit (e.g., SmokeDetector has a limit of 80100,000)
- The above noted exemption for the iOS app, which has a special key that doesn't have daily API limits (see above section for more details)
- The quota which is applied to the IP address is the same for all API requests made with a
key
value in the 24-hour period. The quota value which is used is the maximum quota assigned to anykey
which is used to make a request from that IP address within that 24 hour period (e.g., if akey
with a 50k quota is used for a single request on the IP address, then all requests with a validkey
value from that IP address in that 24 hour period have a 50k quota, regardless of what their normal quota would be).
- Requests which use an
access_token
, in addition to akey
, use a quota which is tied to theaccess_token
. Anaccess_token
uniquely identifies an application + user pair. Each user has up to 5 additional 10,000 request quota pools which are allocated separately to the first 5 application + user pairs used for that user in a 24-hour period. Requests made with anaccess_token
do not count against the IP based quotas.
- A hard limit of 30 requests from any IP address per second. SE considers "> 30 request/sec per IP to be very abusive and thus cut the requests off very harshly." In normal operation, requests will almost always be throttled in other ways well before that hard limit.
- Occasionally, queries can return a
backoff
value, to indicate how much time a given application needs to wait before it can perform another query. This value depends on the number and speed of the queries and the overall load on SE's servers, and can change based on various other factors. The exact criteria used for issuing abackoff
are not disclosed. - SE uses multiple layers of rate limiting for the SE API. The criteria used for the rate limiting layers are not disclosed. Rate limiting is implemented both by the above mentioned
backoff
response and requests returning various errors, potentially with no additional information.
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
Rollback to Revision 148 - Rollback of prior edit. The edit uses a singular example to denote the 30minute rate limit of SO was reversed and back to 3, but uses an example that actually shows answers made less than 3 minutes apart too. https://meta.stackexchange.com/a/385820/397219
Larnu
- 1k
- 6
- 16
Robert Longson
- 35.7k
- 13
- 82
- 163
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
Rollback to Revision 137 - This isn't the correct place to put character limits; this is only for rate limits (actions that can only be taken at a certain frequency). /questions/372184/an-incomplete-character-limiting-guide-to-stack-exchange is the right place for that, and all of these additions are mentioned there.
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
Rollback to Revision 131 - This is already covered in the FAQ, in the one on how reputation works. This isn't really a *rate* limit, or a limit as to how many actions a user can take at a time.
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413
added 741 characters in body; deleted 1 character in body; added 158 characters in body
Sonic the Anonymous Hedgehog
- 96.8k
- 17
- 193
- 413