Glitch Developers
API
Resources
Forum
Blog
Not logged in Sign in
Developer Forum »

# Discussion: API access rate

Hi, I'm doing some "real time" helper for glitch, and I have to check the player's location quite often,
using players.fullInfo, and locations.streetInfo.
Currently I'm checking those every 15 seconds.
The small amount of text is probably not a big deal of data, but I'm not really used to play with APIs, and I'd like to know how far we're allowed to go with these kind of requests on the server?
Is 15sec too much already or can I go like 5sec for example?
Posted 13 months ago by Lemo | Permalink
Lemo,
We are currently limiting each IP 5 requests per second.
Dane
(Staff reply)
Posted 13 months ago by pickledrelic | Permalink
Is there a daily limit?
Posted 13 months ago by yossi | Permalink
wow ok 5 requests per second that's neat
I think I'll be just fine already with 5 seconds per request for my use :]
Posted 13 months ago by Lemo | Permalink
"We are currently limiting each IP 5 requests per second."
And what happens beyond that limit? Are requests denied, or just delayed?
Is there a rate limit per key as well as per IP? Not too long ago, somebody (Brady?) said that there was - three requests in three seconds, before throttling kicked in by delaying each subsequent response, I seem to recall.
Posted 13 months ago by dopiaza | Permalink
There is no daily limit. Requests that exceed the limit are delayed.
(Staff reply)
Posted 13 months ago by pickledrelic | Permalink