« Instagram Data Scraper

Instagram API Followers Scraper

Download Data to Excel & CSV Files

Steve Spagnola
Written by Steve Spagnola
Last updated April 13, 2024

Extract Instagram Followers

If you need to scrape Instagram followers, you’re in for an up-hill battle as there is no public Instagram API to get followers and Instagram is notorious for suing companies who provide this as a service and banning individuals who try this via automated scraping means.

Legally Download Instagram Follower Lists

But feat not, as we have a 100% legal & undetectable way to extract the Instagram followers list from any public Instagram account or private account you have access to using a little-known technique involving HAR files.

lQnSTeCOjXQ ▶️

Check out the steps below or watch the above video (still works in 2024) for a step-by-step demonstration on how to scrape the followers list (or following list) of any Instagram account.

1. Scroll Through Followers

To start scraping Instagram followers, simply visit the Instagram profile you want to scrape the followers of in your web browser. Just navigate there by username, e.g. https://www.instagram.com/therock/ or type in site:instagram.com with a search query into Google to jump to the profile.

On your web browser (we’ll assume you’re using Google Chrome, but these instructions should be similar for any browser), right click anywhere on the page and hit Inspect to open up developer tools (this will allow you to record your web traffic with the follower list). You can then click on the “Network” tab to see your web traffic with the data in it.

Open Developer Tools on Any Instagram Profile Page

Now click on the link that shows the follower count and scroll through the list of followers. This will load that data into your web browser as you record it now that developer tools are open.

Scroll Through the Followers List

2. Export a HAR File

Once you’re done scrolling, look for a download arrow in your browser’s developer tools (Network Tab) that’s labeled something along the lines of “Export HAR…” Click this and save the HAR file somewhere you can access quickly, like your Desktop:

Click Export HAR File

Now that we have the data inside this large file, the trick is to get the data out of this file. For this, we suggest using our HAR File Web Scraper where you can upload the file here, and the software will parse everything out for you and group together all the different requests with the follower list in it:

Click Parse Group for the Followers List Requests

You’ll then want to click the “Parse Group” button where you see a large group of requests under the graphql heading - these will be recorded API responses with the follower list in it.

3. Download Instagram Followers

Once the parse finishes, you can click download a combined CSV file with the followers in it:

Download Followers as a CSV File

You can see that the HAR File Scraper combined all of the individual requests into a single list of 158 items that you can now download as a single CSV file. This will allow you to export Instagram followers to Excel via CSV file, simply open Excel and import the CSV file of the followers list on Instagram.

Be sure to import it as a Unicode file into Excel so you properly see all of the emojis and special characters commonly used on Instagram.

Since this scraping occurs on a recording of your Instagram web traffic (which you captured while obeying the Instagram Terms of Service by just browsing around) instead of the actual Instagram product or service, their Terms of Service cannot apply to extracting data out of your own web traffic history.

Republishing

However, since this extracted follower list data contains personally identifiable information, you need to be extremely careful in what you do with it and how you process it. If you’re just using it for private and internal research or marketing, that’s probably fine. The legal issues arise when you attempt to re-publish this data elsewhere without the consent of the individuals whose data you scraped.

Emails & Contact Details

Also note that you will only be able to obtain the list of usernames using this approach, and not any contact details like email address. You will also be cut off after however many followers Instagram will show on its webpage. For some large accounts, this can be after a few tens of thousands, but is pretty random so you will only be able to get the complete follower list of smaller accounts.

Sign Up to Scrape Instagram Followers