Alert

Actor is under maintenance

This actor may be unreliable while under maintenance. Would you like to try a similar actor instead?

Actor picture

Instagram Followers Scraper

zuzka/instagram-followers-scraper

Scrape Instagram followers. Add one or more Instagram usernames and extract their followers information. Download structured data in JSON, CSV, XML, Excel, and HTML to use in applications, reports, and spreadsheets.

Free trial for 7 days

Then $30/month

No credit card required now

Author's avatarZuzka Pelechová
  • Modified
  • Users81
  • Runs244
Actor picture
Instagram Followers Scraper

Free trial for 7 days

Then $30/month

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running actors via the API in Apify Docs.

const { ApifyClient } = require('apify-client');

// Initialize the ApifyClient with API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare actor input
const input = {
    "usernames": [
        "humansofny"
    ],
    "followedByLimit": 100
};

(async () => {
    // Run the actor and wait for it to finish
    const run = await client.actor("zuzka/instagram-followers-scraper").call(input);

    // Fetch and print actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();