Questions tagged [rate-limit]

Questions about: throttling, the `backoff` flag, the quotas, or the rate limiting of requests made to the API. API calls are restricted both by per-second rates and by daily quotas.

Filter by
Sorted by
Tagged with
48 votes
0 answers
7k views

How API Keys Work (FAQ)

What are the API request limits? A single IP address can only make a certain number of API requests per day, depending on the presence of a valid API key. Default API daily limits: Key: 10,000 No Key:...
11 votes
2 answers
2k views

Request Throttling Limits

What are permissible requests "speeds?" The API will cut you off if you make more than 30 requests over 5 seconds to any single endpoint (currently 30 requests per second, https://api....
Kevin Montrose's user avatar
5 votes
1 answer
437 views

How to increase app request quota from 300 to 10,000?

In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((: Pass this as key when making requests against the Stack Exchange ...
m-a-r-c-e-l-i-n-o's user avatar
21 votes
1 answer
230 views

Can we have some debug endpoints for testing corner cases?

After encountering a throttle violation today (which I posted in another question), it occurred to me that although I've put together code to handle "backoff" conditions, and potentially throttle ...
agent86's user avatar
  • 3,277
2 votes
1 answer
147 views

Stack Exchange API not realtime?

I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more. Is this API not real-...
zavié's user avatar
  • 203
15 votes
1 answer
250 views

Is there a way of querying how much of the API limit has been used?

Twitter has the ability as part of its API to query the current rate limit status. Going to this url will show you how many requests can be made before the limit is reached: {"remaining_hits":150, ...
adrianbanks's user avatar
  • 2,263
5 votes
2 answers
496 views

The API Key does not work

I have registered an app at https://stackapps.com/apps/register, got a Key right away after I have submitted. But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
YOU's user avatar
  • 5,022
5 votes
1 answer
118 views

What's an example of the backoff field? Is there some way I can simulate it to test appropriate behavior?

In reading about the API rate limiting, the documentation talks about a method responding with an ominous backoff field, and states that the client should cease from calling that method for that many ...
Conrad.Dean's user avatar
4 votes
2 answers
231 views

Is it possible to access data in real-time using the Stack Exchange API?

I want to show an animation of: Questions being asked and answered in the most popular tag Comments being posted New users joining All in real time. Is there access to real-time data?
Rakesh Adhikesavan's user avatar
1 vote
1 answer
138 views

Is it okay to just send the API key (without implementing oauth-2 login)?

I'm writing a small Android app that issues customizable queries and displays the results in a read-only format. I might implement oauth-2 in a future version, but want to leave it out of version 1.0 (...
Rapunzel Van Winkle's user avatar
5 votes
1 answer
268 views

After a throttle violation, could the error message include the time when the block will be lifted?

I got my first throttle violation error after running in jsFiddle some example code given to me by a library author in response to a question of mine about how to use their library. This is the error ...
hippietrail's user avatar
4 votes
2 answers
312 views

rate-limit per endpoint per IP VS. server apps in hosted environments

I was wondering if the scenario of a server based app that lives in a hosted environment, where a single IP can be shared by many web sites. As I understand the rate-limit as it stands, every site on ...
Sky Sanders's user avatar
  • 12.1k
4 votes
1 answer
1k views

Why do I get a throttle violation after 300 requests while using a key but no access_token?

I'm doing some testing on my app, and I let it run on a machine this afternoon while I was away. When I got back, I was geting 503 throttle violation errors from my API calls. I was calling the "...
agent86's user avatar
  • 3,277
4 votes
0 answers
72 views

Add a special page where developers can reset throttle timeouts

As George Edison noted, it would be useful to have a special page where developers can reset the throttle timeout when we accidentally trigger it. This happened to me this morning — I got banned for ...
Mathias Bynens's user avatar
2 votes
1 answer
393 views

Best strategies for calling the API with full throttling support?

I know this would be subjective on a normal SE site but as the relevant chat rooms are mostly dormant, we have no meta site, and nobody noticed when I asked if this kind of question is OK here, I'm ...
hippietrail's user avatar
1 vote
1 answer
156 views

How to increase the allowed number of API calls?

Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app). Is it possible to get that number increased?
Anton's user avatar
  • 19