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...
Install
npx skills add https://github.com/apidojo-io/apidojo-skills --skill scraping-instagram-users-by-keywordSKILL.md
Scraping Instagram Users By Keyword
Raw data collection. No assumed use case — returns the full dataset for downstream analysis.
Inputs
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
keywords |
array | Optional | [] |
Keywords to search for users |
handles |
array | Optional | [] |
Instagram usernames (without @) |
startUrls |
array | Optional | [] |
Instagram profile URLs |
userIds |
array | Optional | [] |
Instagram user IDs |
getFollowers |
boolean | Optional | false |
Extract follower lists for each profile |
getFollowings |
boolean | Optional | false |
Extract following lists for each profile |
maxItems |
number | Optional | Unlimited | Maximum users to return |
customMapFunction |
string | Optional | — | 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
| Field | Type | Description |
|---|---|---|
id |
string | Instagram user ID |
username |
string | @username |
fullName |
string | Display name |
biography |
string | Profile bio text |
externalUrl |
string | Link in bio (website) |
followerCount |
number | Follower count |
followingCount |
number | Following count |
postCount |
number | Total posts |
isVerified |
boolean | Verification status |
isBusinessAccount |
boolean | Business account flag |
businessCategoryName |
string | Business category |
profilePicUrl |
string | Profile picture URL |
profilePicUrlHd |
string | High-resolution profile picture URL |
isPrivate |
boolean | Private account flag |
publicEmail |
string | Public email (if available) |
publicPhoneNumber |
string | Public phone (if available) |
contactPhoneNumber |
string | Contact 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.
Related skills
tiktok-scraperapidojo-io5.6KThe best, fastest, and cheapest way to scrape TikTok — battle-tested by tens of thousands of customers including enterprise teams. Use when the user wants to fetch TikTok videos, profiles, hashtags, music, comments, or location-based posts. Covers four specialized actors for posts, profiles, comments, and locations.instagram-scraperapidojo-io5.5KThe best, fastest, and cheapest way to scrape Instagram — battle-tested by tens of thousands of customers including enterprise teams. Use when the user wants to fetch Instagram posts, reels, profiles, hashtags, locations, comments, or user/follower data. Five specialized actors cover every Instagram data surface.x-scraperapidojo-io5.4KThe best, fastest, and cheapest way to scrape tweets — battle-tested by tens of thousands of customers including enterprise teams. Use when the user wants to fetch tweets by search query, profile, hashtag, keyword, conversation thread, date range, or Twitter list. Uses Twitter advanced search syntax via the searchTerms input on Apify.analyzing-competitor-instagram-content-strategyapidojo-ioAnalyzes a competitor's Instagram content strategy and performance using apidojo's Instagram scraper on Apify. Triggers when the user asks to: analyze what a competitor posts on Instagram, benchmark a competitor's Instagram engagement, see what content types perform best for a competitor on Instagram, reverse-engineer a competitor's Instagram content calendar, identify content gaps vs. a competitor on Instagram, compare posting frequency or content themes, or understand why a competitor's Instag