Questions about the per-second or per-day rate limiting of requests made to the API.

learn more… | top users | synonyms

1
vote
1answer
101 views

Does the API key need to be kept secret?

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 ...
2
votes
1answer
29 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 ...
4
votes
1answer
121 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 ...
1
vote
1answer
83 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 ...
4
votes
1answer
349 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 ...
4
votes
1answer
67 views

Access token quota

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

How many simultaneous queries may I make of the same Stack Exchange API?

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 ...
3
votes
1answer
97 views

Getting Question body/title with Answers?

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 ...
3
votes
1answer
56 views

key not being recognized by api.meta.stackoverflow.com?

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 ...
9
votes
3answers
803 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. We consider this a breach of the API interface contract, so ...
4
votes
2answers
229 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 ...
0
votes
0answers
65 views

What time are rate-limits reset? [duplicate]

Possible Duplicate: When does a day start and end? In the interest of properly scheduling cron events towards the end of the rate-limit 'day' in order not to starve out interactive users it ...
4
votes
2answers
214 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 ...
1
vote
1answer
101 views

Confusion over my API key

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

The API Key does not work

I have registered an app at http://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 ...
2
votes
2answers
64 views

What will be rate-limit of two different applications with two valid API keys from same IP?

What will be rate-limit of two different applications with two valid API keys from same IP? Will it be only one of the Key will use? so maximum 10k? Will rate-limit be 20k? When one key API key ...
2
votes
1answer
144 views

Don't allow requests with No Key to use existing session with valid API Key

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 ...
7
votes
1answer
376 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 ...
2
votes
2answers
256 views

Key Limit is 10k or 100k?

Getting Started FAQ Question says 10k http://stackapps.com/questions/2/getting-started-with-the-api But I see 100k on Response Header X-RateLimit-Max 100000 X-RateLimit-Current 99993 Just typo in ...
13
votes
1answer
207 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, ...