Limit call to recent media - instagram

Is there a limit call to recent media? The below call should be under Get method base on instagram limit?
https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN

For an api call to get recent media by tag, the rate limit is 5,000 / hour per application for unauthenticated calls. For authenticated calls, the rate limit is 5,000 / hour per token.
The other rate limits you were seeing on their page at https://instagram.com/developer/limits/ only have to do with posting likes, comments and relationships. Those are much lower numbers per hour.

Related

Any ideas about rate limit request/minute on Spotify Api?

Is there anyone using Spotify Web API on development website can provide any approximate number about request/minute limits of Web API?
I'm using Client Authorization Flow
I've asked same question here: https://community.spotify.com/t5/Ongoing-Issues/Web-Api-Rate-Limit/idc-p/2121577#M54331, but no response given, i'm looking for someone that made some tests.
Thanks all
In a harness I just threw together, I called the individual track api endpoint with different values until it started to complain (the Spotipy Python library backs off and retries after a 429 automatically). Within a minute I was able to call it 600 times. It had to back off after about 270 tries,and 560 tries, but only for a second each time.
I repeated this test, for 1150 calls to the same endpoint, over the course of two minutes, again only having to back off for a second a few times.
At the very least this indicates that Spotify likely doesn't allocate meaningful rate limits on a per minute basis, but it's still possible that there is some kind of daily or hourly limit.

Instagram Rate Limit

Are the endpoint-specific rate limits per access token, or for app period. Lets say I have 100 users of the app, (100 different access tokens) that make a relationship post request, is that not going to work? Or is it 60 requests max per user of the app, and no more than 5000 total requests from the app every hour..
Each user can make total of 5000/hr API calls, POST API calls have different limits like relationship POST call has 60/hr. There is no limit for the app, each access_token (user) has a limit.
Update: As jhm pointed out, this limit has been reduced from 5000/hr to 200/hr as of April 1, 2018.
As per the April 1st 2018, the rate limit has been significantly reduced - from 5000 to 200 pr hour pr user:
https://developers.facebook.com/docs/instagram-api/overview/#rate-limiting

instagram api rate limit clarification

We make GET requests to the /users/self/media/recent and /media/media-id/comments
endpoints.
For this we use user authentication with access_token.
According to the rate limit documentation of instagram we should have 5000 requests / access_token / hour available.
logging the number of our requests on average we do about 600 - 800 requests for a user of us but still receive an api limit reached error in the instagram response.
not only that but according to the error we do ~70K request/hour
You have exceeded the maximum number of requests per hour. You have performed a total of 68100 requests in the last hour. Our general maximum limit is set at 5000 requests per hour.
Am I missing something? Only a few customers of us are affected by this problem.
Are the limits per user global and all apps the user uses have to share the 5000 requests / hour? That is the only explanation I can come up with but found no documentation of this behavior.
Post the code, may be you are doing something wrong and its making multiple calls.
The API response header shows how many remaining calls after each API call:
x-ratelimit-limit:5000
x-ratelimit-remaining:4998
check this value after each call from your code and analyze.

Instagram posting comment exceed rates

I'm posting a comment to a content on Instagram using Instagram API.
My app is registered and approved, so I was supposed to have 60 comments per hour (or at least 30, in case it is still in Sandbox mode).
I keep getting this message:
The maximum number of requests per hour has been exceeded. You
have made 23 requests of the 15 allowed in the last hour
I can't understand where does the 15 request allowed per hour came from.
Couldn't find it anywhere in the documentation as well.
Well, I would suggest you to go to the developer dashboard(MANAGE CLIENTS) page and report this issue. Its an option there. After that wait for a day and then check your mail. You might find a reply from them. As you have transitioned from the sandbox mode to active, the limit should increase and I hope they fix it for you
Just some ToC I found.
Instagram may rate limit or block apps that make a large number of
calls to the API that are not primarily in response to direct user
actions. Details Here
And also here
Display more than 30 Instagram photos or videos per page in your
application or use an unreasonable amount of bandwidth.Found Here
It sounds like they could acutely intent to limit your requests to preserve their bandwidth. 15 requests seems like a reasonable amount, if you contact them with a reason why you'd necessarily require more they might up this limit.
Also interestingly, they can change this if they see fit
Instagram may elect to provide you with support or modifications for
the Instagram APIs (collectively, "Support"), in its sole discretion,
and may terminate such Support at any time without notice to you.
Instagram may change, suspend, or discontinue any aspect of the
Instagram APIs at any time, including the availability of any
Instagram APIs. Instagram may also impose limits on certain features
and services or restrict your access to parts or all of the Instagram
APIs or the Instagram Web site without notice or liability.Details Here
Hope this helps

Instagram API Access Limit

We require to get the followers data (profile metrics specially follower's friends count) for my client's accounts having more than 500k followers. Because of Instagram api limitation we can only do 5k calls /hour. Thats why, it is impossible to load all followers data for every day. But there are few products like web.stagram.com etc, which are also using the instagram api and making unlimited (or some greater num than allowed limit) calls.
Are these partners exempted by instagram?
Please update if there is a way to get higher api limit.
We are ready to pay amount for the higher limit.
Regards,
Parvendra Adhran
You have to try to get whitelisted to get a new Rate Limit, there's a long waiting list and Instagram has mentioned they won't be getting to the requests anytime soon.
I've heard of people still waiting over 2 months so far.

Resources