Instagram · user · followers
Followers of a public Instagram account. GET /v1/instagram/user/followers accepts your x-api-key header. Costs 2 credits per successful fresh call; failures and opt-in cache hits (cache_max_age) are free. Native path: GET /api/v1/web/instagram/user/followers. Same request parameters and JSON shape as the reference API, so you can switch by changing the base URL.
Request parameters
Accounts that follow a public profile, in the order Instagram returns them, about 50 per page (Instagram sets the page size). Each item: user_id, username, full_name, is_verified, is_private, profile_pic_url. Paginate with next_cursor. Private profiles return 403. For large accounts Instagram shows other accounts only a sample of followers (one page, has_more false); smaller accounts page further. The following list pages normally.
| Parameter | Type | Required | Description |
|---|---|---|---|
handle | string | No | Public Instagram username without @ (a profile URL is also accepted). Either handle or user_id. |
user_id | string | No | Numeric Instagram user ID (pk). Either handle or user_id. |
cursor | string | No | next_cursor from the previous response. |
freshness | string | No | 24h (default), 1h, 7d, or live. Accepted cache hits are free; live forces refresh except simultaneous requests may share newly fetched data. |
Code examples
Set SIGNALSHELF_BASE_URL (https://signalshelf.dev) and SIGNALSHELF_API_KEY on your server.
curl "$SIGNALSHELF_BASE_URL/v1/instagram/user/followers?handle=nasa" \
-H "x-api-key: $SIGNALSHELF_API_KEY"const response = await fetch(process.env.SIGNALSHELF_BASE_URL + "/v1/instagram/user/followers?handle=nasa", {
headers: { 'x-api-key': process.env.SIGNALSHELF_API_KEY },
});
const body = await response.json();
if (!response.ok) throw new Error(body.error.message);
console.log(body);import os, requests
response = requests.get(
os.environ['SIGNALSHELF_BASE_URL'] + "/v1/instagram/user/followers?handle=nasa",
headers={'x-api-key': os.environ['SIGNALSHELF_API_KEY']},
timeout=30,
)
response.raise_for_status()
print(response.json())Response
Returns success, credits_charged and credits_remaining, plus the fields of the source, in the same JSON shape as the reference API.
More results: cursor (next_cursor from the previous response).
Errors and credits
Failed calls cost nothing. 400: invalid parameters. 401: missing or revoked key. 402: no credits left. 404: not found at the source. 429: rate limit. 502 or 503: the source blocked or failed the lookup; retry later.
More Instagram endpoints
20 other Instagram endpoints use the same key and credits.