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

> Read followers, following and post count of any public Instagram account by its handle, personal accounts included. What Business Discovery covers, price per profile, Python.

Canonical page: https://okdata.online/answers/instagram-follower-count-api/

**Short answer: **Call Instagram account profile with the handle: it returns followers, following, post count, bio, verification and whether the account is private, for $0.004 a profile, so 1,000 profiles cost $4.00. It works for personal accounts as well as business and creator accounts, and nobody has to log in to your app. The Graph API's Business Discovery also returns followers_count, but only for business and creator accounts, and only through a Facebook app and your own professional account.

A skincare brand has 300 Instagram handles from tagged posts and DMs, and wants each account's follower count before deciding who gets a free sample. About a third of them are personal accounts. Instagram's official route is Business Discovery in the Graph API. It returns `followers_count` and `media_count` for another account, but only when that account is a business or creator account, and only with a Facebook user token from your own professional account carrying the `instagram_basic`, `instagram_manage_insights` and `pages_read_engagement` permissions. Personal accounts are not covered, and Meta's reference says age-gated business accounts return no data.

[Instagram account profile](/apis/instagram/users/get/) needs only the handle, the part after instagram.com/ in the profile link, with or without the @.

## What one call returns

| Field | Meaning |
|---|---|
| `followers` | Followers |
| `following` | Accounts it follows |
| `posts` | Posts on the profile |
| `name`, `bio`, `verified`, `avatar_url`, `url` | Profile details |

With `view=full`, `ext.private` says whether the account is private, and `ext.website` and `ext.links` hold the website and the links listed on the profile. `likes` is always null, because Instagram shows no total like count on a profile.

## When you only have a name

[Instagram account search](/apis/instagram/users/search/) takes a keyword and returns about 20 accounts in one answer for $0.002: handle, name, avatar, verification and whether each is private. It has no follower counts and no further pages. Use it to find the right handle, then fetch the profile.

## A follower sheet in Python

```python
import csv, datetime, os, requests

API = "https://api.okdata.online"
H = {"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}

def profile(handle):
    body = requests.get(API + "/v1/instagram/users/get", headers=H, timeout=60,
                        params={"username": handle, "view": "full"}).json()
    if body["code"] == "not_found":  # renamed or deleted: still charged, skip it
        return None
    if body["code"] != "ok":
        raise RuntimeError(f"{body['code']}: {body['message']}")
    return body["data"]["item"]

today = datetime.date.today().isoformat()
with open("handles.txt") as f, open("followers.csv", "a", newline="", encoding="utf-8") as out:
    w = csv.writer(out)
    for handle in (line.strip().lstrip("@") for line in f if line.strip()):
        p = profile(handle)
        if p is None:
            w.writerow([today, handle, "", "", "", "not_found"])
            continue
        w.writerow([today, p["username"], p["followers"], p["following"], p["posts"],
                    "private" if p["ext"]["private"] else "public"])
```

Run it again next month and the file holds two dated snapshots per account, which is the only way to see growth.

## What it costs

| Job | Calls | Cost |
|---|---|---|
| One profile | 1 | $0.004 |
| 300 handles, once | 300 | $1.20 |
| 100 accounts, weekly for a month | 400 | $1.60 |
| 1,000 profiles | 1000 | $4.00 |

A handle that no longer exists, or a call that fails at the data source, is charged like any lookup; bad parameters are refused for free.

## Limits

- Use the handle, not the display name. When someone renames their handle, the old one returns `not_found`.
- The count is what the profile shows when you ask. There is no follower history and no list of who the followers are.
- A follower count says nothing about whether those followers engage. For likes and plays on recent posts, use [Instagram account posts](/apis/instagram/users/posts/list/), 12 posts a page for $0.004. Private accounts return no posts.

## When Business Discovery is the better choice

If every account on your list is a business or creator account and you already run a Facebook app with a professional account, Business Discovery costs nothing per call and also returns those accounts' recent media with like and comment counts. Use the profile endpoint for personal accounts, for mixed lists, or when you do not want to maintain a Facebook app. To build the list in the first place, see [finding Instagram creators by niche](/answers/find-instagram-creators-by-niche/) and the [creator discovery page](/solutions/creator-discovery/).

## Endpoints used

- [Instagram account profile](https://okdata.online/apis/instagram/users/get/) `instagram.users.get`: $0.004 per call
- [Instagram account search](https://okdata.online/apis/instagram/users/search/) `instagram.users.search`: $0.002 per call · about 20 accounts per page

## More about Instagram

- [Instagram API](https://okdata.online/apis/instagram/)
- [Instagram API in Python: profiles, posts and comments (2026)](https://okdata.online/guides/instagram-api-python/)
- [How do I find Instagram creators in a niche and sort them by follower count?](https://okdata.online/answers/find-instagram-creators-by-niche/)
- [Is there an MCP server that lets Cursor search TikTok, Instagram and Reddit?](https://okdata.online/answers/cursor-mcp-tiktok-instagram-reddit/)
- [How can I get the comments on someone else's Instagram post through an API?](https://okdata.online/answers/instagram-comments-api-other-accounts/)
- [How do I get Instagram posts for a hashtag through an API?](https://okdata.online/answers/instagram-hashtag-posts-api/)
- [How do I get the transcript of an Instagram reel?](https://okdata.online/answers/instagram-reel-transcript-api/)
- [Profile API](https://okdata.online/roles/accounts-get/)
- [Account search API](https://okdata.online/roles/accounts-search/)

## Sources

Where people asked this (read 2026-11-15): 

- https://stackoverflow.com/questions/63709996
- https://stackoverflow.com/questions/39822860

Updated 2026-11-15
