GET /v1/instagram/followers
Instagram followers scraper API: list followers by username
This Instagram followers scraper API lists the followers of a public account by username with one GET request to /v1/instagram/followers. Each page returns up to 50 accounts as Page[Account], with id, username, full name, verified and private flags and profile picture URL, and costs $0.0100, so 1,000 followers cost $0.20. One signed-in reader reads at most 19 follower and following pages in 24 hours, and a page past that answers 429 with Retry-After and no charge.
- Price
- $0.0100 per page
- Billing
- $0.0100/page
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/instagram/followers?handle=instagram&max_pages=1' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/instagram/followers",
params={
"handle": "instagram",
"max_pages": "1",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
handle required | query | string | Instagram account handle (a leading @ is accepted). On the operations whose upstream call takes the numeric account id, the crawler resolves it; a handle it has never seen costs one extra anonymous profile read. |
since | query | string | Not accepted on this operation: its items carry no timestamp, so since returns 400 before billing. |
max_pages | query | integer | Maximum pages to fetch. -1 walks until exhaustion or since with no page cap, and must be written. Omitted, since alone bounds the walk; with neither, the job stops after 10 pages. Any positive integer is accepted. 1 returns one page synchronously with HTTP 200; any other value creates a durable job with HTTP 202. |
cursor | query | string | Opaque next_cursor from an earlier acquisition of this operation, also with get_raw=true. A native Instagram max_id or end_cursor from a raw page answers 400. Result download cursors belong to the results route. |
page_size | query | integer | Native count, default 50. Instagram controls the returned count. Billed per 50 unique returned items. |
cached | query | auto | cache_only | live | auto (default) serves a read saved within the last 24 hours for these exact arguments, otherwise fetches. cache_only never contacts Instagram (404 not_cached when nothing is saved, whatever its age). live always fetches. Anything else is a 400. A saved read is an earlier answer of this operation for the same arguments; an account in the profile library (/v1/instagram/profile) is not one until this operation has read it. cache_only reads one saved page per request: omit max_pages or pass 1, and continue with next_cursor. |
get_raw | query | boolean | true returns the upstream JSON exactly as Instagram answered it instead of the normalized Page[Account]. |
Idempotency-Key | header | string | Reuse this key with the same inputs to recover a lost job submission. A different input with the same key returns 409. |
Example response
A real answer of this endpoint: api.virev.ai served it on 2026-11-25 from a saved read of the followers of @instagram (cached=cache_only, so no request went to Instagram), which one of our signed-in readers captured at 00:05 UTC that day. Three of the 45 accounts on the page are shown, the signed query string of each profile picture URL is cut, and the meta.balance field is left out. The list ends after one page because Instagram shows only about 50 followers of a large verified account to any reader.
{
"data": {
"items": [
{
"id": "75185657972",
"username": "vendotunave.gt",
"full_name": "Vendo tu nave gt",
"is_verified": false,
"is_private": false,
"avatar_url": "https://scontent-ssn1-1.cdninstagram.com/v/t51.82787-19/912751620_17890135680505973_2859577595562779962_n.jpg?…",
"latest_story_at": null,
"extra": {}
},
{
"id": "66933818636",
"username": "k_k_7054",
"full_name": null,
"is_verified": false,
"is_private": true,
"avatar_url": "https://scontent-ssn1-1.cdninstagram.com/v/t51.82787-19/848632299_17963209059226637_8219705867772904596_n.jpg?…",
"latest_story_at": null,
"extra": {}
},
{
"id": "44077106785",
"username": "paraibana_2.0",
"full_name": null,
"is_verified": false,
"is_private": false,
"avatar_url": "https://scontent-ssn1-1.cdninstagram.com/v/t51.82787-19/925510004_18084484067466786_9134309909089518229_n.jpg?…",
"latest_story_at": "2026-11-25T00:04:59+00:00",
"extra": {}
}
],
"pages": [
{
"cursor": null,
"fetched_at": "2026-11-25T00:05:37.039489+00:00",
"count": 45,
"signed_in": true
}
],
"next_cursor": null,
"has_more": false,
"stop_reason": "exhausted",
"coverage": {
"since": null,
"oldest_at": null,
"since_reached": false
}
},
"meta": {
"source": "db",
"fetched_at": "2026-11-25T00:05:37.039489+00:00",
"cost": "$0.0100",
"request_id": "req_75bdd55007c92056cbe916e48611f784"
}
}Response fields
| Field | Type | Description |
|---|---|---|
data.items[].id | string | Numeric Instagram account id, as a string. Use it to remove repeats when you join pages. |
data.items[].username | string | The follower's handle, without the @. |
data.items[].full_name | string or null | The display name, or null when the account set none. |
data.items[].is_verified | boolean | True when the follower has a verified badge. |
data.items[].is_private | boolean | True when the follower's own account is private. The follower still appears on the list. |
data.items[].avatar_url | string | A signed link to the profile picture on Instagram's CDN. It stops working after a few days, so download the picture if you keep it. |
data.items[].latest_story_at | string or null | ISO-8601 time of the follower's newest story when the list carries one, else null. |
data.pages[].count | integer | How many accounts Instagram put on that page. |
data.pages[].signed_in | boolean | True when one of our signed-in Instagram accounts read the page. Each such page bills $0.0100. |
data.next_cursor | string or null | Send it back as cursor to read the next page. It is null at the end of the list. |
data.has_more | boolean | True when next_cursor is set. |
data.stop_reason | string | Why the walk stopped: pages or deadline when next_cursor continues the walk, exhausted when Instagram reported the end, blocked when Instagram refused a later page (next_cursor is that page), and cursor_stalled or repeated_content when Instagram repeated itself. |
meta.cost | string | What this request charged, such as $0.0100 for one page. |
meta.source | string | live for a fresh read, db for a saved read. |
Price per page and per 1,000 followers
A page holds up to 50 accounts. Billing counts the unique accounts returned: $0.0100 for each 50, rounded up, with one page as the least a call costs, because one of our signed-in Instagram accounts reads it. Polls and result downloads of a job are free, and an error answer is not charged.
- 50 followers cost $0.0100.
- 1,000 followers cost $0.20.
- 10,000 followers cost $2.00.
- A job with no
max_pagesstops after 10 pages, 500 followers, at most $0.10.
Scrape followers page by page in Python
Send max_pages=1 for one page answered at once with HTTP 200. Pass next_cursor back as cursor until has_more is false. A walk stays on the one signed-in reader that served its first page, and that reader reads at most 19 follower and following pages, about 950 accounts, in any 24 hours. A page past that answers 429 daily_page_limit with Retry-After in seconds and no charge. Keep the cursor and call again after that delay to go on where the walk stopped. A walk with no cursor starts on a reader with pages left, so scrape many accounts side by side instead of one long list at a time. Run the script with a handle and a page count, such as python followers.py <handle> 5.
import os
import sys
import requests
API = "https://api.virev.ai/v1/instagram/followers"
HEADERS = {"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"}
def scrape_followers(handle, pages, cursor=None):
"""Read up to pages pages of 50. Returns the followers and the cursor to resume from."""
followers, seen = [], set()
for _ in range(pages):
params = {"handle": handle, "max_pages": 1}
if cursor:
params["cursor"] = cursor
res = requests.get(API, params=params, headers=HEADERS)
if res.status_code == 429:
# daily_page_limit: the reader has read its 19 pages for the last 24 hours,
# or a rate limit. Keep the cursor and call again after Retry-After seconds.
print("wait", res.headers.get("Retry-After"), "s:", res.json()["error"]["code"])
return followers, cursor
res.raise_for_status()
data = res.json()["data"]
for account in data["items"]:
if account["id"] not in seen:
seen.add(account["id"])
followers.append(account)
if not data["has_more"]:
return followers, None
cursor = data["next_cursor"]
return followers, cursor
followers, resume_at = scrape_followers(sys.argv[1], int(sys.argv[2]))
print(len(followers), "followers; resume cursor:", resume_at)Scrape every follower with a job
Send max_pages=-1 to read the whole list as a durable job. The call answers HTTP 202 with batch_id, status_url and results_url. Poll status_url until status is ready, then read results_url and send its next_cursor back as cursor until complete is true. The job keeps running after you disconnect and is charged once, when it completes. If you leave out max_pages, the job stops after 10 pages. The same reader limit applies to a job, so at 19 pages a day a list of 10,000 followers, 200 pages, takes about 11 days on one walk. Your account can hold five queued, running or payment-required jobs at a time.
# max_pages=-1 reads every page as a durable job and answers 202
curl -s "https://api.virev.ai/v1/instagram/followers?handle=$HANDLE&max_pages=-1" \
-H "Authorization: Bearer $VIREV_API_KEY" \
-H "Idempotency-Key: followers-$HANDLE-1"
# JOB_ID is data.batch_id from that answer; poll until status is ready (polls are free)
curl -s "https://api.virev.ai/v1/jobs/$JOB_ID" -H "Authorization: Bearer $VIREV_API_KEY"
# read the results; send next_cursor back as cursor until complete is true
curl -s "https://api.virev.ai/v1/jobs/$JOB_ID/results" -H "Authorization: Bearer $VIREV_API_KEY"Export Instagram followers to CSV
This script starts a job for every follower, waits for it, pages through the results and writes one CSV row per follower with Python's standard csv module. A list past about 950 followers runs more than a day, so keep batch_id and run the results part later if the script cannot stay up.
import csv
import os
import sys
import time
import requests
BASE = "https://api.virev.ai"
HEADERS = {"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"}
HANDLE = sys.argv[1]
res = requests.get(
f"{BASE}/v1/instagram/followers",
params={"handle": HANDLE, "max_pages": -1},
headers=HEADERS,
)
res.raise_for_status()
job = res.json()["data"]
while job["status"] in ("queued", "running"):
time.sleep(60)
job = requests.get(BASE + job["status_url"], headers=HEADERS).json()["data"]
if job["status"] != "ready":
if job["status"] == "payment_required":
raise SystemExit("Top up your balance. The results answer 402 until then.")
raise SystemExit(f"job {job['batch_id']} is {job['status']}: {job['error']}")
rows, cursor = [], None
while True:
params = {"cursor": cursor} if cursor else {}
page = requests.get(BASE + job["results_url"], params=params, headers=HEADERS).json()["data"]
for result in page["results"]:
rows.extend(result.get("items", []))
if page["complete"]:
break
cursor = page["next_cursor"]
columns = ["id", "username", "full_name", "is_verified", "is_private", "avatar_url"]
with open(f"{HANDLE}-followers.csv", "w", newline="", encoding="utf-8") as f:
writer = csv.DictWriter(f, fieldnames=columns, extrasaction="ignore")
writer.writeheader()
writer.writerows(rows)
print(len(rows), "followers written,", job["cost"], "charged")Why the Instagram Graph API cannot list followers
Meta's IG User reference has followers_count and follows_count, which are numbers, and none of its edges lists followers. Business Discovery reads the counts and media of other Business and Creator accounts from your own professional account, and it returns no follower list either. This endpoint reads the list from Instagram with one of our signed-in accounts, so you need no Instagram login or Meta app.
Scrape who an account follows
The Instagram following API at /v1/instagram/following returns the accounts a user follows in the same Page[Account] shape, at the same $0.0100 a page, and shares the 19 pages a day of each reader with this endpoint. To get follower counts, bios and links for the accounts on a list, read each one with the Instagram profile API at $0.0005 a call. For a longer walk-through, read the Instagram followers scraper guide.
How it works
Wraps GET /api/v1/friendships/{id}/followers/?count&max_id&rank_token. With max_pages=1, returns Page[Account] under data; with get_raw=true returns the upstream JSON.
The default request creates a durable job (202). Use max_pages=1 for one synchronous Page response (200). Poll status_url, then read results_url with its opaque cursor. Acquisition stops at the first of since, max_pages, or exhaustion. Jobs continue after disconnects. Result responses are bounded to 3 MiB; this does not limit the crawl. An output unit above that byte budget fails the job before billing; results return 413. The selected raw or normalized mode never changes automatically. Supply Idempotency-Key to recover a lost submission response; reuse it with the same inputs.
Daily page limit: a walk stays on the one logged-in reader that served its first page, and each reader reads at most 19 following and followers pages (about 950 accounts) in any 24 hours. A page past that answers 429 daily_page_limit with Retry-After in seconds and no charge; call again after that delay with the same cursor to resume where the walk stopped. A walk with no cursor starts on a reader with pages left, so read many accounts side by side instead of one long list at a time.
Unknown, unsupported, and repeated query parameters return 400 before acquisition or billing.
Billing: $0.0100 per page of 50 unique returned items, rounded up to a minimum of one page. This read spends one of our signed-in Instagram accounts, so it costs more than a logged-out read. Jobs settle once after successful completion. Submission, polling and repeat downloads are free. Insufficient funds return 402 with no result data until a top-up covers the full charge.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
403 | Instagram does not show this account to logged-out readers: it is private, hidden or restricted, or it no longer exists. Retrying will not change the answer until the account changes. You are not charged. |
404 | cached=cache_only found nothing saved for these arguments (not_cached; call again with cached=auto to fetch it), or the account, post, highlight, or location does not exist (not_found). |
429 | daily_page_limit means the logged-in reader this cursor is pinned to has read its following and followers pages for the last 24 hours; call again with the same cursor after the Retry-After delay in seconds. rate_limit_exceeded means your organization's request limit was reached, and rate_limited that Instagram rate-limited this read; retry after the Retry-After delay. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | capacity_exhausted means every logged-in reader this request may use is busy or waiting for a session opening; retry after the Retry-After delay. billing_unavailable means billing could not be confirmed, so no data was returned. You are not charged. |
504 | The upstream request timed out. You are not charged. |
Frequently asked questions
How do I scrape the followers of an Instagram account?
Send GET https://api.virev.ai/v1/instagram/followers?handle=<username>&max_pages=1 with your API key in the Authorization header. The answer lists up to 50 followers and a next_cursor. Send next_cursor back as cursor for the next page, or send max_pages=-1 to read every page as a job.
Can the Instagram Graph API get the followers of another account?
No. Meta's IG User reference has the followers_count and follows_count fields, which are counts, and its list of edges has no followers edge. Business Discovery returns counts and media of other Business and Creator accounts, not their follower lists.
How much does it cost to scrape 1,000 Instagram followers?
Each page of up to 50 followers costs $0.0100, so 1,000 followers in 20 pages cost $0.20 and 10,000 followers cost $2.00. Requests that answer an error are not charged.
How many followers can I scrape a day?
One walk stays on one signed-in reader, which reads at most 19 follower and following pages in any 24 hours, about 950 accounts. The next page answers 429 daily_page_limit with Retry-After, and you call again after that delay with the same cursor. Walks of different accounts can run side by side on different readers.
Can I scrape the followers of a private Instagram account?
No. A private, hidden or restricted account answers 403 and is not charged. Private followers of a public account do appear on its list, with is_private set to true.
Can I scrape all followers of a verified account?
Not of a large one. For a large verified account, Instagram shows any reader only a first page of about 50 followers and no cursor, so the walk ends there with stop_reason exhausted. Our read of @instagram, which has about 684 million followers, returned 45 accounts on 2026-11-25. Other Instagram data APIs report the same cap.