scraping-instagram-users-by-keyword

v2026.09.24

Extracts Instagram user profiles, followers, and following lists using apidojo's Instagram User Scraper on Apify. Triggers when the user asks to: find Instagram users by keyword or name, get follower lists for Instagram accounts, get following lists for Instagram accounts, export Instagram profile data in bulk, fetch public email addresses from Instagram business profiles, search for Instagram users by username or handle, or build a dataset of Instagram account metadata. Returns username, follower count, bio, post count, verification status, public email, and more. Ideal for influencer researchers, outreach teams, and competitive intelligence analysts.

GitHub
Install command
npx skhub add apidojo-io/scraping-instagram-users-by-keyword
Markdown
SKILL.md

Scraping Instagram Users By Keyword

Raw data collection. No assumed use case — returns the full dataset for downstream analysis.


Inputs

ParameterTypeRequiredDefaultNotes
keywordsarrayOptional[]Keywords to search for users
handlesarrayOptional[]Instagram usernames (without @)
startUrlsarrayOptional[]Instagram profile URLs
userIdsarrayOptional[]Instagram user IDs
getFollowersbooleanOptionalfalseExtract follower lists for each profile
getFollowingsbooleanOptionalfalseExtract following lists for each profile
maxItemsnumberOptionalUnlimitedMaximum users to return
customMapFunctionstringOptional—JavaScript function to transform each output object

How to Run

Using run_actor.js (recommended)

# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~instagram-user-scraper" --input '{"handles": ["natgeo"], "getFollowers": false, "maxItems": 50}'

# Save as CSV
node scripts/run_actor.js --actor "apidojo~instagram-user-scraper" --input '{"handles": ["natgeo"], "getFollowers": false, "maxItems": 50}' --output results.csv --format csv

# Save as JSON
node scripts/run_actor.js --actor "apidojo~instagram-user-scraper" --input '{"handles": ["natgeo"], "getFollowers": false, "maxItems": 50}' --output results.json --format json

REST API fallback

curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-user-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"handles": ["natgeo"], "getFollowers": false, "maxItems": 50}'

If Apify MCP is available: Use the Apify MCP call_actor tool with actor apidojo~instagram-user-scraper and the input above.


Output Fields

FieldTypeDescription
idstringInstagram user ID
usernamestring@username
fullNamestringDisplay name
biographystringProfile bio text
externalUrlstringLink in bio (website)
followerCountnumberFollower count
followingCountnumberFollowing count
postCountnumberTotal posts
isVerifiedbooleanVerification status
isBusinessAccountbooleanBusiness account flag
businessCategoryNamestringBusiness category
profilePicUrlstringProfile picture URL
profilePicUrlHdstringHigh-resolution profile picture URL
isPrivatebooleanPrivate account flag
publicEmailstringPublic email (if available)
publicPhoneNumberstringPublic phone (if available)
contactPhoneNumberstringContact phone (if available)

Edge Cases

  • Private account: Returns profile metadata but no followers/following.
  • No public email: publicEmail field absent — normal for personal accounts.
  • Large follower list: Set maxItems limit to avoid excessive cost.
  • Account not found: Returns empty result. Check handle spelling.
  • Keyword returns many: Use maxItems to cap results.
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Apache-2.0

Source path

skills/primitives/scraping-instagram-users-by-keyword

Default branch

main

Latest commit

ffbdc00

Tree SHA

c7df562