Followers API

Instagram Follower Count API

Get the follower count of any public Instagram account with one API call. follower_count, following_count and media_count come back as JSON for 1 credit per lookup.

Get Free API Key →

Get Instagram Follower Counts via API

GramScraper's profile endpoint returns follower counts alongside other profile data. One API call gives you the full picture — followers, following, posts, bio, and verification status.

Code Examples

# Get follower count for an Instagram account
curl -H 'Authorization: Bearer gs_your_api_key' \
  'https://gramscraper.com/api/instagram/v1/user/by/username?username=nike'

# Response includes:
# "follower_count": 306000000,
# "following_count": 189,
# "media_count": 1200
import requests

# Check follower counts for multiple accounts
accounts = ["nike", "adidas", "puma"]
headers = {"Authorization": "Bearer gs_your_api_key"}

for username in accounts:
    response = requests.get(
        "https://gramscraper.com/api/instagram/v1/user/by/username",
        headers=headers,
        params={"username": username}
    )
    data = response.json()
    print(f"@{username}: {data['follower_count']:,} followers")
// Get follower data for an Instagram account
const response = await fetch(
  'https://gramscraper.com/api/instagram/v1/user/by/username?username=nike',
  { headers: { 'Authorization': 'Bearer gs_your_api_key' } }
);

const data = await response.json();
console.log(`Followers: ${data.follower_count.toLocaleString()}`);
console.log(`Following: ${data.following_count.toLocaleString()}`);
console.log(`Posts: ${data.media_count.toLocaleString()}`);

What You Can Build

Influencer Vetting

Verify follower counts before signing influencer deals. Compare audience sizes across potential partners for your brand campaigns.

Competitor Monitoring

Track competitor follower growth over time. Store daily snapshots and visualize trends in your own dashboard.

Analytics Dashboards

Build social media analytics tools that display follower counts, engagement rates, and audience metrics for clients.

Account Benchmarking

Compare aggregate follower counts across a preselected set of public accounts for internal research and reporting.

What the API Returns

The profile endpoint returns follower data as part of a complete profile object:

Track Follower Growth Over Time

GramScraper returns the current follower count on each API call. To track growth, call the endpoint on a schedule (daily, hourly, etc.) and store the results in your own database. Each profile lookup costs 1 credit — monitoring 100 accounts daily uses only 100 credits per day.

import requests
import json
from datetime import datetime

# Daily follower snapshot
headers = {"Authorization": "Bearer gs_your_api_key"}
response = requests.get(
    "https://gramscraper.com/api/instagram/v1/user/by/username",
    headers=headers,
    params={"username": "target_account"}
)

data = response.json()
snapshot = {
    "date": datetime.now().isoformat(),
    "followers": data["follower_count"],
    "following": data["following_count"],
    "posts": data["media_count"]
}

# Save to your database or JSON file
print(json.dumps(snapshot, indent=2))

Simple, Credit-Based Pricing

1 credit per profile lookup. No subscriptions. Credits never expire.

Free
100 credits
$29
15,400 credits
$300
320,000 credits

Frequently Asked Questions

How do I get Instagram follower count via API?

Use GramScraper's /v1/user/by/username endpoint with any Instagram username. The response includes follower_count, following_count, and media_count fields as part of the full profile data.

Can I track follower count changes over time?

Yes. GramScraper returns the current follower count on each API call. Store the results on a schedule (daily, hourly) and compare to track growth. Each profile lookup costs 1 credit.

Does the API return a list of individual followers?

No. GramScraper returns the follower count, not a list of who follows an account. The count comes back as follower_count on the profile endpoint, alongside following_count, media_count and the rest of the public profile.

Start Tracking Instagram Followers Today

100 free credits. No credit card required. Get your API key in 30 seconds.

Get Free API Key →