Instagram Following API
List about the first 50 accounts a public Instagram user follows: usernames, names, and profile details. Instagram caps these lists, so this returns one page, not the whole list.
Provider network
Providers ranked by traffic
Try it
Make your first request
{
"data": {
"items": [
{
"handle": "alex_rivera",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"name": "Example title",
"private": false,
"url": "https://example.com/page",
"verified": true
}
],
"nextCursor": "example"
},
"found": true
}interface InstagramFollowingResponse {
data: {
items: {
handle: string;
id: string;
image?: string;
name?: string;
private?: boolean;
url?: string;
verified?: boolean;
}[];
nextCursor?: string | null;
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/instagram.following \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"username":"nasa"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| username | string | "nasa"The Instagram username, user ID, or profile URL whose following list to fetch (e.g. natgeo). |
| cursor | string | Opaque pagination cursor from a previous response's nextCursor. Today every source behind this endpoint returns a single page of about 50 accounts and no continuation cursor, so nextCursor comes back empty and there is no further page to request; this parameter is accepted but has nothing to resume from. |
| requireFields | array | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `private`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted. |
| Response | ||
| data | object | |
| data.items | object[] | Records for the accounts the target user follows. About the first 50, in the order the source returns them, not the user's full following list - see nextCursor. Populated whenever the provider has data for the entity. |
| data.items[].handle | string | The followed account's username, without the @ prefix. Populated whenever the provider has data for the entity. |
| data.items[].id | string | The followed account's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity. |
| data.items[].imagecan require | string | URL of the followed account's profile picture, with tracking query params stripped. Empty when the upstream omits it. |
| data.items[].namecan require | string | The followed account's display name. Empty when the account has none. |
| data.items[].privatecan require | boolean | Whether the followed account is private. |
| data.items[].urlcan require | string | Canonical URL of the followed account's profile, with tracking query params stripped. Empty when the lane does not return it. |
| data.items[].verifiedcan require | boolean | Whether the followed account is verified. |
| data.nextCursorcan require | string | Opaque cursor for the next page of results, or null/empty when there are no more. Empty on every source behind this endpoint today, because each returns a single page of about 50 accounts and no continuation. Pass it back as cursor whenever it is non-empty. |
| found | boolean | Whether the account was found and returned following records. |
| Price | ||
| Price per request | USD | $0.0015 |
| Price /1k req | USD | $1.50 |
FAQ
About the Instagram Following API
The AnyAPI Instagram Following API returns Instagram following data as normalized JSON from one POST call to /v1/run/instagram.following. List about the first 50 accounts a public Instagram user follows: usernames, names, and profile details. Instagram caps these lists, so this returns one page, not the whole list. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Instagram following calls through AnyAPI succeeded, with a median response time of 1.2 seconds across 7 measured calls.