PeumeAPI

Social media data · Instagram

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. The list pages to its end on every route: each page but the last carries a `nextCursor`, even where this card says one page or no continuation cursor (a profile following 638 accounts came back with 639 in 4 calls, one following 365 with 364 in 7). Send the `cursor` while `nextCursor` comes back. The total can differ from the profile's `following` count (`instagram.profile`) by an account or so. The order is not documented and rows carry no follow timestamp, so do not read position as who was followed first or last.

From $0.0026 per call

Call it

curl https://api.peume.com/v1/call/instagram-following \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "username": "your username"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: instagram-following.

Parameters

cursorstring

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. Pages can overlap: a page may repeat items an earlier page returned and is billed like any other, so de-duplicate by item id and stop when a page adds no new id.

routestring

Upstream source to run on; omit for "chameleon". chameleon ($0.00173 per call, 99.7% uptime); lynx ($0.00188 per call, 97.5% uptime); fox ($0.016 per call, 100% uptime). Output fields only some routes return: private (chameleon, lynx). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input. Route `chameleon` can repeat accounts across pages (four pages of 25 for one profile held 13 repeats) and its page size varies from about 20 to 200 accounts; `lynx` returned about 50 a page with no repeat over 853 accounts.

chameleon · lynx · fox

usernameRequiredstring

The Instagram username, user ID, or profile URL whose following list to fetch (e.g. natgeo).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.