How webpages like Statigram doesn't exceed Instagram API rate limits

jonathanwiesel picture jonathanwiesel · Aug 10, 2013 · Viewed 12.2k times · Source

Well, pretty much what it says on the tin.

I'm really curious about how pages like Statigram do their search functionality without users authentication and not exceeding the limits?

If I'm correct, Instagram API allows 5000 calls per hour, so I believe it's very likely that they indeed have more traffic than 5000 requests per hour.

Maybe It's a dumb question and Statigram has a special deal with Instagram to use their API or maybe they don't use the API and they use some other method?

Answer

Darryl E. Clarke picture Darryl E. Clarke · Sep 19, 2013

The only special request you have to send to Instagram is the request to post comments.

The API limit is 5000 requests per hour per access_token or client_id. Every user has their own access_token, so as long as the requests from the third party application uses each individual access token, they will be hard pressed to exceed 5000 per user per hour.

That works out to 83 requests per minute and any user interacting with your application is highly unlikely to hit that.

From the docs:

You are limited to 5000 requests per hour per access_token or client_id overall. Practically, this means you should (when possible) authenticate users so that limits are well outside the reach of a given user.

If you are not using user authentication, you will likely hit the limit with just your client_id.