API Direct
Endpoints
Instagram User Following

Instagram User Following

GET /v1/instagram/user/following

Get the accounts a user follows by username or profile URL. Returns username, full name, user ID, verification status, privacy status, and profile picture for each account, 50 per page. Pass a query to search the list instead.

Cost
$0.006 per page
Free tier
50 requests/month

Parameters

username
Instagram username, with or without leading @ (max 100 characters). Provide either username or url.
url
Instagram profile URL, e.g. https://instagram.com/natgeo (max 500 characters). Provide either username or url.
pages
Number of pages to fetch, 1-40 (default: 1). Each page returns up to 50 accounts.
query
Search the following list by username or name (max 100 characters). Returns up to 50 matches in a single request; pages is ignored.

Example Request

curl "https://apidirect.io/v1/instagram/user/following?username=natgeo&pages=2" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "following": [
    {
      "username": "marcuswestbergphotography",
      "full_name": "Photographer & Storyteller",
      "user_id": "364094780",
      "is_verified": false,
      "is_private": false,
      "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/photo.jpg",
      "url": "https://instagram.com/marcuswestbergphotography"
    }
  ],
  "username": "natgeo",
  "pages": 2,
  "count": 100
}

Your Usage

Free tier this month
Loading...
Recent Activity