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.
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.
# 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()}`);
Verify follower counts before signing influencer deals. Compare audience sizes across potential partners for your brand campaigns.
Track competitor follower growth over time. Store daily snapshots and visualize trends in your own dashboard.
Build social media analytics tools that display follower counts, engagement rates, and audience metrics for clients.
Compare aggregate follower counts across a preselected set of public accounts for internal research and reporting.
The profile endpoint returns follower data as part of a complete profile object:
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))
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.
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.
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.
100 free credits. No credit card required. Get your API key in 30 seconds.
Get Free API Key →