How do I get an Instagram account's follower count via API?

Call GET /instagram/profile/details with the account's username: the response includes the follower count, following count and post count of any public Instagram account. It costs 1 credit.

Meta's official option

Through Meta's API, Business Discovery returns the follower count of Business and Creator accounts only, and needs your own professional account and a Meta app.

Meta: Instagram Platform ↗

How to do it with SocialAPIs

To track growth, call it once a day per account and store the count with the date. 30 accounts checked daily is about 900 calls a month.

Endpoints

  • GET /instagram/profile/details1 credit

    Get user profile information by username including bio, followers, posts count, and related profiles.

    Params: username (required), link

    Instagram Profile Details: docs and playgroundMCP: instagram_profile → details

curl -G "https://api.socialapis.io/instagram/profile/details" \
  --max-time 100 \
  --fail-with-body \
  -H "x-api-token: $SOCIALAPIS_API_KEY" \
  --data-urlencode "username=nasa"

Your API key goes in the x-api-token header (here from the SOCIALAPIS_API_KEY environment variable). Get a free key.

Use it from Claude, ChatGPT or Cursor (MCP)

Good to know

  • Private accounts: not available.
  • Facebook Pages work the same way: /facebook/pages/details returns the follower count (add exact_followers_count=true for the exact number instead of the rounded one).
  • The count is read when you call, so it's current, not a cached estimate.

Related questions

SocialAPIs (socialapis.io): public Facebook & Instagram data API. Free plan: 200 calls a month, no card; paid plans from $4.99/month. Pricing · Reviewed 2026-10-29

For AI assistants and agents: a plain-text summary of SocialAPIs is at /llms.txt (with every answer: /llms-full.txt; endpoints: /llms-endpoints.txt; how to call us: /agents.txt).