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.
44
questions
1
vote
0
answers
542
views
How does 1 request every 5 seconds exceed the 30 requests per second limit?
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=...
3
votes
1
answer
124
views
What's the relation between access_token, key, quota_max, and throttling?
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 ...
1
vote
1
answer
77
views
Do my users need to be logged in, for quota?
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,
"...
1
vote
1
answer
142
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 (...
6
votes
1
answer
544
views
Got 502 response after very few calls
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 ...
0
votes
1
answer
66
views
Get a great many counts of questions, by select tags for a date range?
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 ...
-5
votes
1
answer
633
views
What is the root cause for too many request issue?
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"...
5
votes
1
answer
446
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 ...
5
votes
1
answer
350
views
Is the Stack API daily quota of 10,000 a hard limit, or can it be increased?
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 ...
7
votes
1
answer
28k
views
How to deal with the "Too Many Requests" error coming as HTML?
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 ...
2
votes
0
answers
74
views
quota_remaining is decreasing much faster than expected
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, ...
2
votes
1
answer
103
views
Sane limits for script that auto-loads new reviews for easier manual reviewing
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 ...
4
votes
0
answers
55
views
Can I ask the API to tell me to back off? [duplicate]
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 ...
0
votes
1
answer
47
views
What about actually identical requests?
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 ...
4
votes
2
answers
242
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?