title: How to get the exact number of follow requests on an Instagram account (after reaching the 1000 limit)
body: <p>I am working on a piece of code to automatically accept Instagram Follow Requests for me using the private Instagram API.</p>
  
  <p>The endpoint 
  <a href="https://i.instagram.com/api/v1/news/inbox/friendships/pending/" rel="nofollow noreferrer">https://i.instagram.com/api/v1/news/inbox/friendships/pending/</a> 
  however only returns the number of follow requests up to 1000. The reason I believe it's possible to get the exact number even above that limit is that an online service called socialtools.io is able to do it.</p>
  
  <p>I looked through all of the traffic between the Android App and IG as well as the React App. But I wasn't able to find the exact number anywhere.</p>
  
  <p>Other endpoints I looked through:
  <br><a href="https://i.instagram.com/api/v1/friendships/pending/" rel="nofollow noreferrer">https://i.instagram.com/api/v1/friendships/pending/</a>
  <br><a href="https://i.instagram.com/api/v1/friendships/show_many/" rel="nofollow noreferrer">https://i.instagram.com/api/v1/friendships/show_many/</a>
  <br>-> only return the 200 most recent requests
  <br><a href="https://www.instagram.com/accounts/activity/?__a=1&amp;include_reel=true" rel="nofollow noreferrer">https://www.instagram.com/accounts/activity/?__a=1&amp;include_reel=true</a>
  <br>-> only returns the first 1000 requests (web app)</p>
  
  <p>This is part of the response for an account that has about 1,400 requests (I accepted them right after using my script to count) using the endpoint I mentioned at the beginning.</p>
  
  <pre><code>"counts": {
          "campaign_notification": 0,
          "comment_likes": 0,
          "comments": 0,
          "likes": 1,
          "photos_of_you": 0,
          "relationships": 0,
          "requests": 1000,
          "usertags": 0
      },
  </code></pre>