According to the answer given to this question, it seems like the API limits requests based on the first one. (Regardless of the presence of a key.)

Can this please be changed? It really hinders development.


Edit: this is quite serious. My mobile site quickly used up its 300 requests - even though it's using a key now.

link|improve this question
By the time your development is serious enough to go through 300 requests in a day you should be using a key on all requests. Its only a hindrance in the first 24 hours if you do so. – Kevin Montrose May 21 '10 at 20:59
@Kevin: Exactly. It's those first hours that are the problem. – George Edison May 22 '10 at 0:24
those first few hours aren't worth the trouble. – Kevin Montrose May 22 '10 at 0:54
@Kevin: They may not be... but I am suffering the consequences right now. – George Edison May 22 '10 at 5:16
feedback

2 Answers

up vote 3 down vote accepted

Completely agree.

It seems this could be implemented as a simple check for the key:

if (keyispresent && keyisvalid && currentlimit < keylimit)
    currentlimit = keylimit;

I don't think this would incur much overhead.

link|improve this answer
Ya. Consider this: a user visits a page that makes an API request via AJAX without a key. Suddenly, through no fault of theirs, they are limited to 300. – George Edison May 21 '10 at 17:27
That's why I said "<" – Joel Potter May 21 '10 at 19:04
feedback

Actually, you can use it to boost your daily cap to 100000. :-)

Help requests trigger different daily limit, so if your first request for the day is stats?help, you get that limit instead of the API key limit or the no key limit.

link|improve this answer
I don't think that's a viable solution... especially for the end users. – George Edison May 21 '10 at 17:25
I don't expect the end users to be making no key requests. They would be using an already developed app that comes with a key. – Franci Penov May 21 '10 at 17:28
You never know... – George Edison May 21 '10 at 17:34
feedback

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged