GETProfiles2 credits

Get following

GET https://api.instagramapi.dev/v1/profile/following

Paginated list of accounts the user follows (~50 per page). Use `cursor` to continue.

Build this with an AI agent

Paste this prompt into Claude, Codex, or any coding agent.

Parameters

NameTypeRequiredDescription
handlestringyesAn Instagram account. Accepts a username (`nike`), a numeric user id (`13460080`), or a full profile URL (`https://instagram.com/nike`). We resolve it automatically.
cursorstringnoPagination cursor returned as `next_cursor` in the previous response. Omit for the first page.

Example request

curl "https://api.instagramapi.dev/v1/profile/following?handle=nike" \
  -H "Authorization: Bearer $INSTAGRAMAPI_KEY"

Try it

Live request · uses 2 credits

Example responses

Switch tabs to see the body shape for success and each error status.

{
  "data": {
    "items": [
      {
        "id": "51049513",
        "username": "nikebasketball",
        "full_name": "Nike Basketball",
        "is_verified": true,
        "is_private": false,
        "profile_pic_url": "https://instagram.com/.../nike.jpg"
      }
    ],
    "next_cursor": "QVFEZmt..."
  },
  "meta": {
    "endpoint": "profile/following",
    "request_id": "req_3f8a1c9e",
    "credits_charged": 2,
    "credits_remaining": 4987,
    "ms": 412
  }
}

Response fields

Fields returned under data on a 200 response. Every response also includes a meta object with billing info.

FieldTypeDescription
itemsarray<object>The page of accounts this account follows.
items[].idstringNumeric account id (stable even if the username changes).
items[].usernamestringThe account's @handle.
items[].full_namestringDisplay name shown on the profile (may be empty).
items[].is_verifiedbooleanWhether the account has a verified badge.
items[].is_privatebooleanWhether the account is private.
items[].profile_pic_urlstringURL of the account's profile picture.
next_cursorstringPass back as `cursor` to fetch the next page; null when there are no more results.

Pagination

List endpoints return up to one page of items plus a next_cursor. To fetch the next page, pass it back as the cursor query parameter. When next_cursor is null, you've reached the end.