Find Instagram Accounts by Keyword, Then Get the Emails and Phones They Publish
Search public Instagram posts and reels by keyword to find the accounts active in a niche, then collect the emails, phones and WhatsApp numbers those accounts publish in their bio, link in bio page and website.
The actor referenced in this article. Pay only for results delivered.
You know the kind of account you want to reach on Instagram: nail salons in a city, home bakers, skincare creators, plumbers who post their jobs. The hard part is the list. Instagram’s search bar needs a login, and once you have names you still have to open every profile, tap through the Linktree and dig the email out of a website footer. This guide does both steps with two actors: one finds the accounts posting about a topic, the other collects the contact details each account has made public.
Try it live: Instagram Keyword Posts Scraper. Pay per result delivered.
Which actor does which job
| Job | Actor | Input | One row is |
|---|---|---|---|
| Find who posts about a topic, and what gets views | Instagram Keyword Posts Scraper | Keywords, phrases or hashtags | One post or reel, with its owner |
| Get the emails, phones and WhatsApp numbers an account publishes | Instagram Email and Phone Scraper | Usernames or profile links | One profile, with its public contacts |
| Followers, bio and recent posts of known accounts | Instagram Profile Scraper | Usernames | One profile |
The first two are the pipeline. The keyword actor turns a topic into a list of active accounts; the contact actor turns that list into rows you can load into a CRM.
Step 1: find the accounts posting about your topic
{
"keywords": ["nail salon", "lash extensions", "gel manicure"],
"maxPostsPerKeyword": 200,
"minLikes": 50,
"newerThan": "90 days"
}
What each field does:
keywordstakes keywords, phrases or hashtags, up to 100 per run. Case and a leading#make no difference.maxPostsPerKeywordis a ceiling, 1 to 1,000. A keyword’s own Instagram page listed 24 to 92 posts in the actor’s tests. WithincludeRelatedKeywordson (the default), the actor continues with the related keyword pages Instagram lists, closest first. In one test “skincare routine” returned 1,000 posts from 16 keyword pages, all with both words in their name.minLikesdrops weak posts. Posts whose owner hides likes are skipped while this is set. Skipped posts are not charged.newerThankeeps recent posts only, as a date (2026-09-01) or a period (90 days). Results are ranked by Instagram, not by date, so this filters what the pages list rather than reaching further back.
Brand names and broad single words are a special case. Instagram has no public keyword page for many of them: in the actor’s tests nike, starbucks, bmw, food, fitness and coffee had none. With googleFallback on (the default), one Google search finds Instagram keyword pages that contain the word, and the actor reads those at no extra cost. Every row says how it was reached in matchType (keyword, related or google) and which page it came from in matchedKeyword.
Each post row carries ownerUsername, ownerId, ownerIsVerified and ownerProfileUrl, next to likesCount, commentsCount, videoPlayCount, caption, hashtags, mentions and timestamp. Count posts per ownerUsername and you have a ranked list of the accounts that keep showing up for your topic.
Step 2: collect the contacts each account publishes
{
"usernames": ["skynailsofsouthbeach", "bombompasteleriasv", "blueeyeshoboken"],
"defaultPhoneCountry": "US",
"onlyWithContact": true
}
The contact actor reads four places for each profile: the bio text, the bio’s own mailto, tel and WhatsApp links, the link in bio page behind the bio link (Linktree, Stan, Komi, Taplink, bio.link and others), and the business’s own website plus one contact page when the home page has no email. A site counts as the business’s own only when its domain carries the profile’s name or handle, so a restaurant that links a magazine review does not get the magazine’s inbox as its email.
What comes back:
email,emailsandemail_source: the best email, every email found, and where the best one came from.phone,phones,phone_country_codeandphone_country: numbers in E.164 (+17862756666). A local number is read with the country of another + number on the profile, then the website’s country domain, thendefaultPhoneCountry, and kept only if it is valid there.whatsappandwhatsapp_numbers, from WhatsApp links or a number next to the word WhatsApp.contacts: each contact with its type, value, source andsource_url, so you can show where every address came from.category,account_type,address_street,address_city,followers,biographyandwebsite.
Be clear about what this is and is not. It returns only what the account has published for anyone to see. It does not return the email or phone behind Instagram’s in-app Contact button: Instagram sends those only to logged-in users, and this actor never logs in. It does return contact_button (call, email, text or directions), so you know a hidden contact exists.
onlyWithContact: true leaves out profiles with nothing public. With it off, those profiles get a short flagged row with status: "no_public_contact", which is never charged.
Both steps in one Python script
pip install apify-client
import csv
from collections import Counter
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
# Step 1: posts for the niche
posts_run = client.actor("themineworks/instagram-keyword-posts-scraper").call(run_input={
"keywords": ["nail salon", "lash extensions", "gel manicure"],
"maxPostsPerKeyword": 200,
"minLikes": 50,
"newerThan": "90 days",
})
posts_per_owner = Counter()
plays_per_owner = Counter()
for post in client.dataset(posts_run["defaultDatasetId"]).iterate_items():
if "_type" in post: # summary, info and error rows
continue
owner = post["ownerUsername"]
posts_per_owner[owner] += 1
plays_per_owner[owner] += post.get("videoPlayCount", 0)
usernames = [u for u, _ in posts_per_owner.most_common(300)]
print(f"{len(usernames)} accounts found")
# Step 2: public contacts of those accounts
contacts_run = client.actor("themineworks/instagram-email-phone-scraper").call(run_input={
"usernames": usernames,
"defaultPhoneCountry": "US",
"onlyWithContact": True,
})
leads = []
for row in client.dataset(contacts_run["defaultDatasetId"]).iterate_items():
if "_type" in row:
continue
user = row["username"]
leads.append({
"username": user,
"category": row.get("category", ""),
"email": row.get("email", ""),
"email_source": row.get("email_source", ""),
"phone": row.get("phone", ""),
"whatsapp": row.get("whatsapp", ""),
"city": row.get("address_city", ""),
"followers": row.get("followers", ""),
"niche_posts": posts_per_owner[user],
"niche_plays": plays_per_owner[user],
"profile_url": row["profile_url"],
})
leads.sort(key=lambda r: r["niche_posts"], reverse=True)
if leads:
with open("instagram_leads.csv", "w", newline="", encoding="utf-8") as f:
writer = csv.DictWriter(f, fieldnames=list(leads[0].keys()))
writer.writeheader()
writer.writerows(leads)
print(f"{len(leads)} accounts with a public contact")
Both loops skip rows with a _type field, which are the free summary, info and error rows. The CSV puts the accounts that post most often in your niche first, with the plays their posts drew, so the people at the top are both active and seen.
The same data for content research
You do not need step 2 for content work. The post rows alone answer “what is working on Instagram for this topic right now”:
- Sort by
videoPlayCountto see which reels pull views, then read theircaptionfor the hook in the first line. - Count
hashtagsacross the top 50 posts to see which tags the niche actually uses. - Group by
ownerUsernameto find the creators who rank again and again, which is a shortlist for collaborations.
Expect reels. Instagram’s keyword pages list reels first: in a 1,000 row test, 999 rows were reels and one was a carousel. For a known creator’s reels with play counts over time, Track Competitor Instagram Reels Weekly covers the profile based approach.
What it costs
Both actors charge per row delivered, plus a small start fee per run.
Instagram Keyword Posts Scraper: $0.00225 per post on the Apify Free plan, $0.00195 on Bronze, $0.00165 on Silver and $0.00135 on Gold and above. A $0.002 start fee is charged once per run, just before the first paid batch of posts. A post found by two of your keywords, posts dropped by newerThan or minLikes, rows Instagram sent without likes and comments, and the summary rows are free.
Instagram Email and Phone Scraper: $0.0063 per profile with at least one public contact on the Free plan, $0.0055 on Bronze, $0.0047 on Silver and $0.0038 on Gold and above. A $0.001 start fee is charged once per run, after the first charged profile is stored. Profiles with no public contact, usernames that do not exist, restricted profiles, duplicates and summary rows are free.
A worked example on the Gold tier: 600 posts across three keywords cost 600 × $0.00135 = $0.81, plus $0.002. If those posts come from 300 accounts and 150 of them publish a contact, step 2 costs 150 × $0.0038 = $0.57, plus $0.001. The other 150 profiles are read but not charged. Your own share of accounts with a contact will differ by niche.
Limits worth knowing
- Public contacts only. If a business shows its email only behind the Contact button, you will not get it here. In the contact actor’s fill rate test of 47 profiles with a contact, email was found for 81%, phone for 51% and WhatsApp for 17%.
- The business block is partial. Category, street address and coordinates come from Instagram’s mobile app endpoint, which answers on some proxy IPs and not others. Over six test runs it was filled for 68% of profiles with a contact.
business_detailssays why for each row. - Some websites hide contacts. Pages drawn with JavaScript, or with the email in a form or image, give nothing.
pages_scannedshows what each page gave. - Keyword results follow Instagram’s ranking, not date, and a single keyword page holds 24 to 92 posts. Related pages add depth but drift toward neighbouring phrases; check
matchedKeyword. - Media links expire.
thumbnailUrl,displayUrlandvideoUrlare signed links that stop working after a few days.urlis permanent. - Your outreach rules still apply. Before you email anyone, check the rules on contacting people in your country, such as CAN-SPAM and GDPR. Running the emails through a verifier first keeps bounce rates down; see Bulk Email Verification in Python.
Related
Explore the scraper referenced in this article: inputs, outputs, and pricing, then run it on Apify.
Frequently asked questions
Can this get the email behind an Instagram business account's Contact button? +
No. Instagram sends the Contact button's email and phone only to logged-in users, and neither actor logs in. The contact actor returns contact_button (call, email, text or directions) so you know one exists, and finds the email and phone the business publishes in its bio, link in bio page and website instead.
How many accounts will have a public contact? +
It depends on the niche. In the contact actor's own test of 101 handles on 31 October 2026, 93 profiles were read and 47 had a public email, phone or WhatsApp number. Local businesses publish contacts far more often than big brands or personal accounts. Profiles with nothing public are never charged.
Does keyword search need an Instagram login? +
Instagram's own search bar does, so the keyword actor does not use it. It reads the public keyword pages Instagram publishes for logged-out visitors, such as instagram.com/popular/coffee-shop/, plus related keyword pages and, for brand names with no page, keyword pages found through one Google search.
Are the results sorted by date? +
No. Instagram ranks the posts on each keyword page and the actor keeps that order in position. Use newerThan to drop older posts, but it cannot reach further back than the pages list.
Export Every Image and Caption From Instagram Carousel Posts
Export every slide image link, slide type and caption from Instagram carousel posts to a CSV, by profile or by post link, with Instagram Post Scraper.
YouTube Shorts and Search Data for Content Research
Find what ranks on YouTube for a topic, which Shorts get views and engagement, and which creators keep showing up, using search results and per Short stats without an API key.
Export a Creator's Instagram Reels With Play Counts to a Spreadsheet
Export one creator's reels with plays, likes, comments, length and audio to a CSV, then compute median plays to vet them, with Instagram Reel Scraper.
Find Paid Partnership Posts on Any Instagram Profile
List the paid partnership and branded posts on any public Instagram profile, and the brands behind them, using Instagram Post Scraper and Python.