Instagram’s official API was gutted in 2018 after the Cambridge Analytica scandal. What was once a rich public API now only gives access to your own content unless you’re a verified business partner. For anyone doing competitor research, influencer analysis, or social listening — you need an alternative approach.

What You Can Extract from Instagram

Instagram’s Defence Mechanisms

Instagram uses Meta’s full ML-powered anti-abuse stack:

Manual Approach — Instaloader (Python)

Instaloader is the most popular open-source tool for Instagram scraping. Here’s how to use it:

Step 1 — Install

pip install instaloader

Step 2 — Scrape a profile

import instaloader

L = instaloader.Instaloader()

# Public profile — no login needed (for now)
profile = instaloader.Profile.from_username(L.context, "natgeo")

print(f"Followers: {profile.followers}")
print(f"Posts: {profile.mediacount}")
print(f"Bio: {profile.biography}")

# Download recent posts
for post in profile.get_posts():
    print(post.url, post.likes, post.comments)
    break  # just the first one

Step 3 — Handle rate limits

Instagram rate-limits aggressively. Even with login, pulling data on 50+ profiles in one session typically triggers a temporary block. You’ll need:

Accounts used for scraping get suspended. Managing a pool of accounts is time-consuming and fragile.

Using Scrapios Instead

Scrapios abstracts all the session management, proxy rotation, and rate limiting. Here’s the same profile pull:

curl -X POST https://api.scrapios.com/api/v1/ext/jobs 
  -H "X-API-Key: scr_live_YOUR_KEY" 
  -H "Content-Type: application/json" 
  -d '{
    "url": "https://www.instagram.com/natgeo/",
    "catalog_scraper_id": 5,
    "catalog_version_id": 14
  }'
{
  "status": "completed",
  "result": {
    "preview_data": [{
      "username": "natgeo",
      "full_name": "National Geographic",
      "followers": 283000000,
      "following": 168,
      "posts_count": 27432,
      "bio": "Experience the world through the eyes of National Geographic photographers.",
      "website": "https://www.nationalgeographic.com",
      "verified": true,
      "is_private": false
    }]
  }
}

Influencer Vetting Checklist

When evaluating an Instagram influencer for a campaign, pull these data points:

  1. Follower count — baseline reach
  2. Engagement rate — aim for >3% (likes + comments ÷ followers)
  3. Follower growth trend — scrape weekly for 4 weeks
  4. Recent post frequency — active accounts post 3–7x per week
  5. Comment quality — generic comments (“Nice!” “🔥🔥”) signal fake engagement

Vet influencers with real data

500 free credits every month. Pull 50 Instagram profiles per month at zero cost.

Create free account →