Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
21
votes
1
answer
233
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 viol …
15
votes
1
answer
253
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,
…
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.stackexchange.co …
8
votes
1
answer
466
views
API Key limit 10k is Per IP Address or Globally?
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 get …
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 …
6
votes
1
answer
562
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 respons …
5
votes
1
answer
120
views
What's an example of the backoff field? Is there some way I can simulate it to test appropri...
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 …
5
votes
2
answers
502
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 RequestLim …
5
votes
1
answer
275
views
After a throttle violation, could the error message include the time when the block will be ...
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 …
5
votes
1
answer
455
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 A …
5
votes
1
answer
149
views
Include Full Post Details In /users/{id}/timeline
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 …
5
votes
1
answer
366
views
Why am I being told to backoff when I'm well within my API limit?
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 h …
5
votes
1
answer
352
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 Exchan …
4
votes
2
answers
325
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 …
4
votes
2
answers
307
views
When does a rate-limit day start and end?
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 reques …