Skip to main content

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
49 votes
0 answers
7k views

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:...
21 votes
1 answer
268 views

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,287
15 votes
1 answer
276 views

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
11 votes
2 answers
2k views

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
9 votes
1 answer
508 views

Getting started FAQ says No Key limit is IP Address based, but it does not say for with API Key. When I test my API Key from different IP Addresses, I noticed that 10k limit is globally, limit is ...
YOU's user avatar
  • 5,042
7 votes
1 answer
28k views

The API specifies error codes, and messages. It also specifies a "backoff" parameter. But, even while respecting the backoff and stopping at errors, and even when waiting a long time between requests ...
Denys Séguret's user avatar
6 votes
1 answer
630 views

This looks like a duplicate of Throttle violation after 300 calls but this one is reported as fixed in 2012. Today I made ~450 requests with an app key (no oauth token) and suddenly got a 502 ...
vap78's user avatar
  • 113
5 votes
1 answer
387 views

We are developing an indexer that will be used to store and serve up questions/answers related to our products. The indexer uses a key (and soon an access_token) to retrieve the data from Stack ...
Daniel Coughl's user avatar
5 votes
2 answers
549 views

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,042
5 votes
1 answer
544 views

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 API ...
m-a-r-c-e-l-i-n-o's user avatar
5 votes
1 answer
412 views

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff. I only run the app once a night and don't really pull that much data. I ...
Brad's user avatar
  • 53
5 votes
1 answer
314 views

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
5 votes
1 answer
165 views

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
5 votes
1 answer
186 views

I have a feature request. I'm trying to pull the recent activity about a user from the API. So I'm parsing /users/{id}/timeline. But that only gives me meta-information about the activity. So then,...
ircmaxell's user avatar
  • 151
4 votes
2 answers
357 views

After reading the docs/faqs, I couldn't help but wonder... What exactly is a day? When does it start? When does it end? What timezone are you using? In other words, when my app runs out of requests ...
Nathan Osman's user avatar
  • 23.2k
4 votes
2 answers
297 views

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
4 votes
1 answer
244 views

The documentation says that each user gets 5 distinct quotas of 10,000 requests per 24 hours, and as I interpret it, per app. If an application does have an access_token, then the application is ...
Jonathan.'s user avatar
  • 3,108
4 votes
2 answers
371 views

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
2k views

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,287
4 votes
0 answers
71 views

I'm creating a bot that collects all tags from a given site (and over all sites in the network). I would obviously like to run this bot in as little time as possible, but I also do not want to overly ...
Sean Allred's user avatar
4 votes
0 answers
101 views

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
3 votes
2 answers
162 views

What will be the effective rate limit of two different applications with two valid API keys from the same IP address? Will it be whatever only one of the keys can use? So maximum 10k? Will rate-limit ...
YOU's user avatar
  • 5,042
3 votes
2 answers
330 views

Getting Started FAQ Question says 10k API "Hello World" code But I see 100k on Response Header X-RateLimit-Max 100000 X-RateLimit-Current 99993 Just typo in nginx setting or something ...
YOU's user avatar
  • 5,042
3 votes
1 answer
225 views

I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer. I am running into an issue where I'm sending too many requests and ...
jondavidjohn's user avatar
3 votes
1 answer
328 views

For a project of mine, I need to know if I need to keep the API key secret or not. If I do, I'm not sure how I'm going to effect its protection, as Emacs Lisp files are stored in plain text (and byte-...
Sean Allred's user avatar
3 votes
1 answer
174 views

From How API Keys Work (FAQ) I read that the limit of requests per day per IP is 300 without a registered key, or 10000 with it. And this is what I see by experimenting myself: since I've not ...
Enlico's user avatar
  • 197
3 votes
1 answer
111 views

I'm looking to create a home brew push notification server for Stack Exchange. This is mainly due to the fact that Toast Notifications within Windows Store applications are done using Windows ...
James Mertz's user avatar
3 votes
1 answer
81 views

I have been testing a throttle implementation against meta today and suddenly got shut down with a key violation. It is possible that I have used enough requests to prompt this but I doubt it. In ...
Sky Sanders's user avatar
  • 12.1k
2 votes
1 answer
195 views

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
2 votes
1 answer
417 views

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
2 votes
1 answer
133 views

I was looking at Am I allowed to use/create robots to track questions? just now and started wondering whether my current userscript to help with reviewing has quite the right internal rate limits. It ...
Nathan Tuggy's user avatar
2 votes
1 answer
201 views

Once I did a request with a valid API key http://api.stackoverflow.com/0.8/stats?key=MYKEY Every requests (from that IP) later on without key will use existing session with API key, limit counter ...
YOU's user avatar
  • 5,042
2 votes
0 answers
96 views

I registered an app and tried to make a couple of requests via Chrome (without actually creating any application yet). The thing that is really confusing is that with making a single request, ...
Alex Larikov's user avatar
1 vote
1 answer
102 views

I am building an application and want to showcase relevant Stack Overflow questions. I have made the request and getting a response, but its responding with a quota value: "quota_max": 300, "...
Nil's user avatar
  • 113
1 vote
1 answer
154 views

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
1 vote
1 answer
204 views

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
1 vote
1 answer
107 views

I've been playing with some of the APIs that have paged results. I've been doing a first call with pagesize=0 to determine how many pages there are then running a loop querying each page. In my case ...
hippietrail's user avatar
1 vote
0 answers
752 views

I'm doing a run every 5 seconds for this API call: url = "https://api.stackexchange.com/2.3/questions/no-answers?pagesize=30&fromdate={date_today}&order=desc&sort=creation&site=...
Digital Farmer's user avatar
1 vote
0 answers
87 views

I know that officially identical requests cannot be done in more than one minute. But would it be a problem if I had a server which had a list of question IDs (say 10 per user, so reasonable max 10,...
Jonathan.'s user avatar
  • 3,108
1 vote
1 answer
142 views

This is directed at the team, since nobody else will be able to help. The key I took out for StackMobile is behaving strangely. I make a few requests, and then the limit resets to 0. (By limit, I'm ...
Nathan Osman's user avatar
  • 23.2k
0 votes
1 answer
114 views

In developing the firehose service, I found that the /events API often "pauses" for a couple of minutes before resuming. Is this a known issue? Specifically, I am polling /events every 10 seconds ...
Greg Hewgill's user avatar
  • 3,873
0 votes
1 answer
99 views

I am trying to get the number of questions associated with a specific tag for a particular date range. I initially assumed the fromdate and todate parameters would do this. However, it appears that ...
user3089187's user avatar
0 votes
1 answer
65 views

Now, it says here that I should not make lots of semantically equivalent requests. It also says that there is a lot of caching. So I was wondering, what about exactly identical requests. Should I wait ...
Christopher King's user avatar
-5 votes
1 answer
683 views

I am getting the following error when importing questions under a particular tag name: {"error_id":502,"error_message":"too many requests from this IP, more requests available in 56100 seconds",...
Melody's user avatar
  • 99