Instagram Profile Searcher & Analyzer avatar

Instagram Profile Searcher & Analyzer

Under maintenance

Pricing

Pay per usage

Go to Apify Store
Instagram Profile Searcher & Analyzer

Instagram Profile Searcher & Analyzer

Under maintenance

Find Instagram profiles by name or username, rank matches, and analyze followers, engagement, comments, and media. Bring your own Instagram login or use publisher env credentials.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Devrecated Admin

Devrecated Admin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

19 days ago

Last modified

Categories

Features

Limited permissions

Share

Find Instagram profiles by @username or real name, rank the best matches, then analyze followers, following, engagement, comments, likers, and media — all in one Apify Actor run.

Works from Apify Console, the Apify API, schedules, and integrations (Make, n8n, Zapier, MCP). Results land in a structured dataset you can export as JSON, CSV, or Excel.

What does Instagram Profile Searcher do?

For each username or search query, the Actor:

  1. Resolves exact @handles (direct lookup) and/or searches Instagram by name
  2. Scores candidates (username, full name, fuzzy match)
  3. Analyzes top profiles: bio, counts, recent-post engagement, comments, likers
  4. Optionally scrapes followers / following (with mutual flags) and downloads photos, carousels, and reels

Built for lead research, influencer discovery, competitor audits, and OSINT-style profile enrichment.

How to use it (quick start)

  1. Open this Actor in Apify Console and click Try for free / Start
  2. Add at least one of:
    • Usernames — exact handles (e.g. natgeo)
    • Search queries — real names or fuzzy text (e.g. Jane Doe)
  3. (Recommended) Enter your Instagram login username and password in the input form (password is stored encrypted). Or leave them empty if the Actor owner configured a shared service account via environment variables
  4. Tune optional caps (posts, comments, followers, downloads)
  5. Run → open the Dataset tab for profile rows

Input example

{
"instagramUsername": "your_scraper_account",
"instagramPassword": "your_password",
"usernames": ["natgeo"],
"searchQueries": ["Jane Doe"],
"maxProfilesToAnalyze": 5,
"analyzeRecentPosts": 12,
"includeComments": true,
"includeLikers": true,
"includeFollowers": true,
"maxFollowers": 5000,
"downloadPhotos": true,
"maxPostsToDownload": 50
}

Full field reference (types, defaults, ranges): see the input form tooltips or ./PARAMETERS.md in the source repo.

Instagram login (required)

Instagram private/mobile APIs need a logged-in account. Provide credentials in one of these ways:

MethodFieldsWhen to use
Run input (bring your own)instagramUsername, instagramPassword (secret), optional instagramSessionIdBest for Store users — each run uses your account
Actor env vars (publisher)INSTAGRAM_USERNAME, INSTAGRAM_PASSWORD, …Shared service account for the Actor owner

Notes

  • Password / session ID inputs are marked secret — Apify encrypts them at rest; the Actor reads them decrypted only during the run
  • Input login overrides env vars when set
  • If you use a different account than the publisher’s service account, the Actor does not write your session into the shared service key-value store
  • Keep the password even after a successful login — Instagram may force re-auth
  • Optional IMAP env vars can auto-submit email challenge codes for the publisher service account (see below)

Respect Instagram’s Terms of Use and local law. Prefer official Meta APIs for regulated production use. This Actor uses instagrapi (unofficial mobile flows) and may hit challenges or rate limits.

Input fields

Authentication

FieldRequiredDescription
instagramUsernameNo*Instagram account used to log in (not a profile to scrape)
instagramPasswordNo*Password (encrypted secret input)
instagramSessionIdNoOptional sessionid cookie instead of password

*Required for login unless a valid session / publisher env credentials are already available.

What to scrape

FieldDescriptionDefault
usernamesExact @handles to fetch directly—
searchQueriesNames / fuzzy text to search—
maxSearchResultsPerQueryCandidates per search query15
maxProfilesToAnalyzeFull analyses per search query5
analyzeRecentPostsPosts sampled for engagement (0 = off)12
includeComments / maxCommentsPerPostComment scrape + captrue / 100
includeLikers / maxLikersPerPostLikers scrape + captrue / 100
includeFollowers / maxFollowersFollower list + captrue / 5000
includeFollowing / maxFollowingFollowing list + captrue / 5000
downloadPhotos / maxPostsToDownloadDownload media filestrue / 50
minMatchScoreMin 0–1 score for search matches0.35
requestDelaySecondsDelay between Instagram API calls1

Provide at least one of usernames or searchQueries.

Output (dataset)

Each dataset item is one profile (or a failed lookup row). Typical fields:

FieldMeaning
username, fullName, profileUrlIdentity
followerCount, followingCount, isPrivate, isVerifiedPublic stats
matchScore, query, inputTypeHow this row was found
analysis.recentPosts[]Sampled posts with engagement
analysis.commenters[] / analysis.likers[]Aggregated people from sampled posts
followers[] / following[]Network lists (followsBack / isMutual when both scraped)
analysis.downloadedPhotos[]Paths / keys for saved media

Output example (abbreviated)

{
"query": "natgeo",
"inputType": "username",
"status": "ok",
"username": "natgeo",
"fullName": "National Geographic",
"followerCount": 280000000,
"profileUrl": "https://www.instagram.com/natgeo/",
"analysis": {
"recentPosts": [],
"commenters": [],
"likers": [],
"downloadedPhotos": []
},
"followers": [],
"following": []
}

Private accounts skip posts, network lists, and downloads.

Pricing

This Actor runs on Apify platform usage (compute, storage, proxies if configured). Final Store pricing depends on the monetization model set by the publisher (pay per event or pay per usage). Check the Pricing tab on this Actor’s Store page for current rates.

Tips to control cost:

  • Prefer exact usernames over broad searchQueries when you already know the handle
  • Lower maxFollowers / maxFollowing / maxPostsToDownload for large accounts
  • Set analyzeRecentPosts to 0 if you only need profile metadata

API, schedules, and integrations

  • API — start runs with the Apify API or official JS/Python clients; pass the same JSON input
  • Schedules — re-run daily/weekly from Console to track follower growth
  • Integrations — connect dataset results to webhooks, Google Sheets, Make, n8n, Zapier
  • MCP / agents — discover and call this Actor from Apify’s MCP server

Publisher: service account env vars

If you own this Actor and want a shared scraper account (instead of per-run input login), set in Actor → Settings / Environment variables:

VariableSecret?Purpose
INSTAGRAM_USERNAMEnoDefault scraper username
INSTAGRAM_PASSWORDyesDefault scraper password
INSTAGRAM_SESSION_IDyesOptional instead of password
INSTAGRAM_PROXY_URLyesOptional proxy
INSTAGRAM_SESSION_KV_NAMEnoNamed KV for persisted session (default instagram-profile-searcher-service-session)
INSTAGRAM_CHALLENGE_IMAP_*mixedAuto-fetch email login codes
INSTAGRAM_VERIFICATION_CODEyesOne-shot manual code

After a successful service-account login, session JSON is stored under INSTAGRAM_SESSION_SETTINGS in that named key-value store (publisher storage, not the end-user run store).

FAQ

Do I need my own Instagram account?

Yes for reliable runs. Use run input login, or rely on the publisher’s configured service account if they provide one.

Why did login fail / challenge appear?

Instagram may email a code or ask “Is this you?”. For publisher env accounts, configure IMAP challenge vars or approve the device in the Instagram app. For BYOA input login, complete challenges on that account and retry; use a residential proxy (INSTAGRAM_PROXY_URL / your own setup) if the IP is flagged.

Apify platform usage is billed per your plan. Instagram’s terms restrict unauthorized automation — use responsibly and only for data you are allowed to collect.

Can I get results via API?

Yes. Every run writes to a dataset; use the dataset items URL from the run, or Actor.push_data consumers via the Apify API clients.

Local development

make setup # venv + deps + .env
# edit .env with INSTAGRAM_* credentials
make e2e # validate + apify run + print results
make web # optional local FastAPI UI

Or: copy INPUT.example.json → storage/key_value_stores/default/INPUT.json, source .env, then apify run --no-purge.

Support

Open an Issue on the Actor’s page in Apify Console, or contact the publisher from the Store profile. Feature requests (extra fields, other networks) are welcome.

License

Actor code: use under your Apify account terms. instagrapi is MIT licensed.