Instagram Search Scraper avatar

Instagram Search Scraper

Pricing

from $1.40 / 1,000 results

Go to Apify Store
Instagram Search Scraper

Instagram Search Scraper

Search Instagram by keyword, @username or link and get profiles, places, posts and reels, and hashtags. Each result has followers, bio, caption, likes, comments, location and emails or phones found in bios. Bulk input, no account or cookies needed.

Pricing

from $1.40 / 1,000 results

Rating

0.0

(0)

Developer

Insights Data

Insights Data

Maintained by Community

Actor stats

0

Bookmarked

31

Total users

14

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

📸 What is Instagram Search Scraper?

Instagram Search Scraper helps marketers, agencies, sales teams and researchers with Instagram lead generation, influencer discovery and competitor analysis: type a keyword, an @handle or an Instagram link and get the matching profiles, places, posts and reels, and hashtags as one table. Each row brings the numbers and contact details you need, such as followers, bio, website, emails and phones found in bios, likes, comments, media links and locations. The Apify Free plan's $5 monthly credit pays for result charges and platform usage, so you can try it without paying, and you don't need an Instagram account, cookies or an API key.

Instagram Search Scraper is an Actor, a ready-made program that runs in the Apify cloud: just enter a few search terms and click Start. It is an Instagram keyword search scraper for public data: it reads what any visitor can see on public Instagram pages without logging in.

🎯 What you can do with Instagram search results

  • 📇 Instagram lead generation: search a niche such as vegan bakery or wedding photographer and collect the emails, phone numbers and website links that accounts show in their bio.
  • 🔭 Influencer discovery: find influencers for a topic with their follower count, verified badge and bio, and keep only accounts above a minimum number of followers.
  • 🥊 Instagram competitor analysis: add the @handles of your competitors and compare their followers, following, post counts and recent posts with likes and comments in one run.
  • 🏬 Instagram business leads from places: search a business type and a city (for example coffee roasters berlin) and get places with category, phone, address, map position and opening hours when Instagram shows them.
  • #️⃣ Instagram hashtag research: see which hashtags match a keyword and which hashtags and mentions the matching posts and reels use in their captions.
  • 📈 Instagram brand monitoring: run the same brand keyword every week and skip the results already in an earlier run's dataset, so you don't pay for them again.

✨ What can Instagram Search Scraper do?

  • 🔎 Search many keywords, @handles and Instagram links in one run. Each line is collected on its own, with its own result limit.
  • 🗂️ Return every kind of result, or only profiles, only places, only posts and reels, or only hashtags.
  • 🎚️ Filter keyword results by minimum followers, verified accounts only, or results with an email or phone only.
  • 🗒️ Add the recent posts of each profile or place (up to 12) with likes, comments and video links.
  • ✉️ Pull emails, phone numbers and links out of bios and captions into their own fields and a Contacts table.
  • ♻️ Skip results that are already in an earlier run's dataset, so they are not collected or charged again.
  • 🧾 Write a free Inputs table with a status and a plain note for every line you gave.
  • 🔓 No login needed: it reads public pages only, so you need no Instagram account and no cookies.
  • 🛡️ Use Apify Proxy (Apify's pool of IP addresses) automatically when Instagram limits requests.

📋 Instagram Search Scraper data: what can you extract?

Instagram Search Scraper is an Instagram data scraper with one row per result in the Apify dataset (the table where a run stores its results). The resultType field says what the row is: profile, place, post or hashtag. It finds results first and then works as an Instagram extractor for their public fields. Field names below are the exact names in the output. Place fields such as media_count or price_range keep Instagram's own underscore style, while profile and post fields such as followersCount use capital letters inside the word; both styles are correct, they come from different kinds of rows.

FieldWhat it holds
🗂️ resultTypeprofile, place, post (posts and reels) or hashtag
🔎 searchTermThe line from your input that found this result
🔗 url, inputUrlThe Instagram link of the result, and the link it came from
👤 username, fullName, idProfile: username, display name and Instagram's profile ID
📝 biography, captionThe bio text of a profile, the caption text of a post
🌐 externalUrl, externalUrls, linksThe profile's website and all bio links; links also holds links found in a caption
👥 followersCount, followsCountProfile: followers and following
🧮 postsCount, media_countNumber of posts of a profile, number of posts tagged at a place
🎖️ verified, ownerVerifiedVerified badge of a profile, or of the account that posted
🔒 private, isMemorializedWhether the profile is private, or memorialized (turned into a memorial account by Instagram after the owner died)
🎞️ type, hasClipsPost format (Reel, Image, Video, Sidecar = a carousel with several photos or videos, IGTV = Instagram's older long-video format, or Post), and whether a profile has reels
🖼️ profilePicUrl, displayUrlProfile picture link, post image link
🌟 highlightsCountNumber of story highlights on a profile
🗒️ latestPostsRecent posts of a profile or place (see the note below)
🏪 namePlace name, or the hashtag name on hashtag rows
📞 phone, phonesA place's phone number; phone numbers found in a bio or caption
✉️ emailsEmail addresses found in a bio or caption
🏷️ categoryPlace category
💵 price_rangePlace price range, when shown
📍 lat, lng, location_address, location_city, location_zip, location_id, slugPlace position and address, and Instagram's place ID
📍 locationName, locationIdThe place tagged on a post
🏢 ig_businessBusiness details of a place, when shown
🕒 hoursOpening hours of a place, when shown
🆔 shortCode, ownerIdThe short code is the unique part of a post link (for example DfAWxdIFmVB in instagram.com/p/DfAWxdIFmVB/); ownerId is the ID of the account that posted
👤 ownerUsername, ownerFullNameThe account that posted
#️⃣ hashtagsHashtags in the caption
🗣️ mentions@mentions in the caption
🙋 taggedUsersAccounts tagged in the post
🤝 coauthorProducersCo-authors of a collab post
❤️ likesCountLikes of a post
💬 commentsCountNumber of comments on a post
👁️ videoViewCountViews of a video or reel, when Instagram shows them
🎬 videoUrl, videoDurationVideo link and length in seconds
📅 postedAt, timestampPost time as an ISO 8601 date (the international date standard, written YYYY-MM-DDTHH:MM:SSZ, in UTC world time) and as Unix seconds (seconds since 1 January 1970, handy for sorting)
🎵 musicInfoThe sound of a reel: title, artist, audioUrl
ℹ️ noteHashtag rows only: says that the post count is not available

Note:

  • 🧱 Each kind of row fills only its own fields. A profile row has no likesCount, a place row has no followersCount, and so on.
  • ✉️ emails, phones and links are added to profile and post rows only when Find contact details is on (the default). They hold only what the account writes in its bio, bio-link titles or caption.
  • 🗒️ latestPosts is always on profile rows. With Recent posts per result = 0 it lists the recent posts shown on the profile page with shortCode, url, type and caption only. With a number from 1 to 12, it holds up to that many post records, with full details (likes, comments, video link) for each post that could be read. Place rows get latestPosts only when Recent posts per result is above 0.
  • ⛔ A value Instagram does not show to visitors who are not logged in stays null. Nothing is guessed.

What data can't Instagram Search Scraper extract?

  • ⛔ Hashtag statistics: a hashtag row has the hashtag name and link only. Its post count (postsCount) stays null.
  • ⛔ Comment text: you get commentsCount, not the comments.
  • ⛔ Follower and following lists, stories, and the business flag or business category of a profile.
  • ⛔ Video view counts in many cases (videoViewCount is often null).
  • ⛔ Private profiles beyond the public parts (private is true).

For emails that are only on a linked website or link-in-bio page, use Instagram Email Scraper. For the full post history of accounts you already know, use Fast Instagram Post Scraper.


🚀 How to scrape Instagram search results

Instagram Search Scraper is designed for an easy start, even if you've never collected data from the web before. This is how to scrape Instagram profiles, places, posts and hashtags in five steps:

  1. Create a free Apify account.
  2. Open Instagram Search Scraper and click Try for free.
  3. In Search terms or links, replace the two examples (coffee roasters and @natgeo) with your own keywords, @handles or Instagram links, one per line. Finding creators or leads? Also set Result type = "Profiles only" and, if you want, Minimum followers or With contact details only.
  4. Click Start. Rows appear in the Output tab while the run is going.
  5. Download the data: click Export in the Output tab to get JSON, CSV, Excel, XML or HTML. (The same export is also in Storage → Datasets: open the run's dataset and click Export.)

Max results per search counts all kinds together. With Result type = "All kinds" and the default 10, one keyword gives up to 10 results in total, mixed across profiles, places, posts and reels, and hashtags in the order they are found, not 10 of each kind. Pick one result type when you want 10 profiles.

A run that finds nothing still ends as Succeeded on the run page, and a search line marked "failed" does not fail the run. The Inputs table tells you what happened for each line (see Output).

⚠️ If you click Start without changing anything, the two examples run and are charged like any other run: up to 10 results for coffee roasters + 1 result for @natgeo = up to 11 results × $0.002 = $0.022 in result charges on the Free plan, plus the $0.00005 start fee and platform usage.

How long a run takes depends on the number of searches, Max results per search and how Instagram answers, so start with a small run.


💲 Instagram Search Scraper pricing: how much does it cost to scrape Instagram?

Instagram Search Scraper uses pay-per-event pricing, which means you pay for each event the Actor reports instead of a monthly rent. An event is one charged action: here, the start of a run and each result saved. Your bill has three parts:

  1. Results: each profile, place, post or hashtag saved to the dataset is one result. The price per 1,000 results depends on your Apify plan (see the table).
  2. Start fee: $0.00005 per run at the default 1 GB memory. Memory is the computer power Apify reserves for the run; 1 GB is the default for this Actor, and you don't need to change it.
  3. Platform usage: the server time and traffic the run uses, billed at your Apify plan's own rates. When the run uses Apify Proxy, that proxy traffic is part of platform usage too. It grows with the size of the run.
💲 PlanPrice per 1,000 resultsExample: 1,000 results
🆓 Free$2.001,000 × $0.002 = $2.00
🥉 Starter$1.801,000 × $0.0018 = $1.80
🥈 Scale$1.601,000 × $0.0016 = $1.60
🥇 Business$1.401,000 × $0.0014 = $1.40

The plan discount applies to the result price only. The start fee is the same on every plan, and platform usage is billed at your Apify plan's own rates.

What is not charged as a result: the rows of the extra tables (Profiles, Places, Posts and reels, Hashtags, Contacts, Recent posts and Inputs), the run summary, recent posts inside a profile or place row (they are part of that one result), results skipped because they are already in your earlier dataset or were already found by another search, and searches that found nothing.

Platform usage can't be known before a run, so do a small test run first (for example one keyword with Max results per search = 10) and read the full cost on the run page. To cap your spending, set Maximum cost per run. You find it in the Run options section below the input form in Apify Console, next to memory and timeout, before you click Start. It caps the pay-per-event charges (the start fee and the results); platform usage is separate and comes on top. Pick a value that covers the start fee plus the results you want: for 50 results, 50 × $0.002 + $0.00005 = $0.10005, so set at least $0.11. When the limit is reached, the run stops and keeps every result saved so far. All events are listed on the pricing tab.

Is scraping Instagram free with Instagram Search Scraper?

Yes, you can start for free. The Apify Free plan gives you $5 in monthly credit, which pays for both the result charges and the platform usage of your runs. Free-plan runs work the same way as paid runs: the Actor adds no extra cap on searches or results, so the credit itself is the only limit.


⬇️ Input

The only thing Instagram Search Scraper needs is at least one line in Search terms or links. Everything else has a working default. Set the input in the Actor's form in Apify Console or send it as JSON through the API. The input tab describes every field.

⚙️ Settings most people change

Setting (API name)DefaultWhat it does
🔎 Search terms or links (urls)example: coffee roasters, @natgeoKeywords, @handles or Instagram links (profile, post, reel, place or hashtag), one per line. Exact duplicate lines are removed
🔢 Max results per search (maxItems)10Results collected for each keyword. A handle or link gives at most one result. 0 = every result that can be found for the keyword (no limit). Otherwise any number up to 100,000
🗂️ Result type (searchType)All kindsAll kinds, Profiles only, Places only, Posts and reels only, or Hashtags only
🗒️ Recent posts per result (postsPerResult)0For each profile or place, also read this many recent posts with full details, up to 12. 0 = no extra post reads
✉️ Find contact details (includeContacts)onAdds emails, phones and links to profile and post rows and fills the Contacts table
👥 Minimum followers (minFollowers)0Leaves out keyword-found profiles with fewer followers. 0 = no minimum
🎖️ Verified only (onlyVerified)offKeeps only verified profiles and posts by verified accounts. Places and hashtags are not filtered by it: they stay in the results
✉️ With contact details only (onlyWithContacts)offKeeps profiles and posts with an email or phone, and places with a phone. Hashtags are left out. Turning it on also turns on Find contact details
♻️ Skip results from an earlier run (skipKnownResultsFrom)emptyClick the field and pick an earlier run's dataset from your list, or paste its dataset ID (shown on that run's page in the Storage tab). Results whose link is already in it are skipped and not charged
🛡️ Proxy (proxyConfiguration)Automatic (Apify Proxy when needed)Leave it as it is. Apify Proxy is used automatically when Instagram limits requests. Choose a proxy here only if you want to always use it

⚠️ 0 in Max results per search means no limit for that keyword. If a keyword gives 500 matches, that is 500 × $0.002 = $1.00 in result charges on the Free plan, and every keyword in the list is counted on its own. Set Maximum cost per run when you use 0.

🧪 Input JSON example

Here's an example that searches one keyword for up to 10 results of every kind and reads one profile by its handle:

{
"urls": ["coffee roasters", "@natgeo"],
"maxItems": 10,
"searchType": "all",
"postsPerResult": 0,
"includeContacts": true
}

This field makes it an Instagram keyword scraper: each line is one search. A keyword searches Instagram; an @handle or a link returns that one item.

  • ✅ Good: coffee roasters, @natgeo, https://www.instagram.com/natgeo/, https://www.instagram.com/p/DfAWxdIFmVB/, https://www.instagram.com/explore/tags/latteart/, https://www.instagram.com/explore/locations/<place ID>/
  • ❌ Bad: a story link or a link to another website. A link that is not a profile, post, reel, place or hashtag link is searched as a keyword.

⚠️ Result type also applies to handles and links. With "Profiles only", a post link is skipped with the note "a post is not in the chosen result type".

🎚️ Filters

Minimum followers, Verified only and With contact details only apply only to results found from keywords. A handle or link you typed is always kept. Minimum followers checks profiles only, not posts. A profile with no follower count counts as 0 followers. Narrow filters can leave a keyword with few or no results, so start without filters and add them one at a time.


⬆️ Output

Results are stored in the run's default dataset. In the Output tab you can browse them as a table or as JSON. The Output tab also links the free extra tables and the run summary:

Output tab entryWhat it shows
🧭 OverviewEvery result with its main numbers: resultType, searchTerm, username, name, fullName, url, followersCount, likesCount, commentsCount, category, postsCount, verified, emails
👤 ProfilesProfile rows only, with bio, website, followers, following, posts, badges and photo
📍 PlacesPlace rows only, with category, phone, address, map position, opening hours and business details
🎞️ Posts and reelsPost and reel rows only, with caption, hashtags, mentions, likes, comments, views, media links, location and sound
#️⃣ HashtagsHashtag rows only: name and link
✉️ ContactsOne row per email, phone or link found: searchTerm, resultType, source, source_url, contact_type (email, phone or link), value
🗒️ Recent postsOne row per recent post of a profile or place, with the parent profile or place
🧾 InputsOne row per line you gave, with its status and result count
📊 Run summaryTotals, per-search status, stop reason and notices for the run

To download, click Export in the Output tab. You can export Instagram data to Excel, CSV, JSON, XML or HTML, and the Export dialog lets you pick the columns you need. The same export is also in Storage → Datasets (open the run's dataset and click Export). The extra tables are separate datasets of the same run: to get the Contacts table on its own, click the Contacts entry in the Output tab and export it from there. In CSV and Excel, fields that hold a list or a group of values become extra columns named with a slash: latestPosts/0/url is the link of the first recent post, musicInfo/title is the title of the sound.

🧪 Output JSON example

Four example rows for the input example above: a profile, a place and a post found from the keyword coffee roasters, and the @natgeo profile. They are shortened (some fields left out), and the account names, numbers, codes and contact details are illustrative.

[
{
"resultType": "profile",
"searchTerm": "coffee roasters",
"inputUrl": "https://www.instagram.com/examplecoffeeroasters/",
"url": "https://www.instagram.com/examplecoffeeroasters/",
"username": "examplecoffeeroasters",
"fullName": "Example Coffee Roasters",
"biography": "Small-batch coffee roasted every Monday. Wholesale: hello@example.com",
"externalUrl": "https://example.com/",
"followersCount": 4820,
"followsCount": 512,
"postsCount": 368,
"verified": false,
"private": false,
"hasClips": true,
"latestPosts": [
{"shortCode": "DfAWxdIFmVB", "url": "https://www.instagram.com/p/DfAWxdIFmVB/", "type": "Reel", "caption": "New Ethiopia lot is here."}
],
"emails": ["hello@example.com"],
"phones": [],
"links": ["https://example.com/"]
},
{
"resultType": "place",
"searchTerm": "coffee roasters",
"inputUrl": "https://www.instagram.com/explore/locations/123456789/",
"url": "https://www.instagram.com/explore/locations/123456789/",
"name": "Example Coffee Roastery",
"phone": "+49 30 1234567",
"category": "Coffee Shop",
"media_count": 1240,
"lat": 52.5301,
"lng": 13.4012,
"location_id": "123456789",
"location_address": "Examplestrasse 1",
"location_city": "Berlin",
"location_zip": "10115"
},
{
"resultType": "post",
"searchTerm": "coffee roasters",
"inputUrl": "https://www.instagram.com/p/DfAWxdIFmVB/",
"url": "https://www.instagram.com/p/DfAWxdIFmVB/",
"shortCode": "DfAWxdIFmVB",
"type": "Reel",
"caption": "New Ethiopia lot is here. #coffeeroasters #specialtycoffee @examplecoffeeroasters",
"hashtags": ["coffeeroasters", "specialtycoffee"],
"mentions": ["examplecoffeeroasters"],
"ownerUsername": "examplecoffeeroasters",
"ownerVerified": false,
"likesCount": 214,
"commentsCount": 18,
"videoViewCount": null,
"videoUrl": "https://example.com/video.mp4",
"postedAt": "2026-11-20T14:03:11Z",
"timestamp": 1795183391,
"emails": [],
"phones": [],
"links": []
},
{
"resultType": "profile",
"searchTerm": "@natgeo",
"inputUrl": "https://www.instagram.com/natgeo/",
"url": "https://www.instagram.com/natgeo/",
"username": "natgeo",
"fullName": "National Geographic",
"followersCount": 280000000,
"verified": true,
"private": false,
"emails": [],
"phones": []
}
]

🧾 Inputs table and run summary

Every line you gave gets one free row in the Inputs table, also when it gave no results. Each row has input, status, resultsSaved, note (a plain explanation), stopReason and scrapedAt (the run's start time). The status describes one search line, not the whole run:

StatusMeaning for this search line
🏁 doneKeyword: the limit was reached, or every match was collected (the note then says "only N results exist for this search"). Handle or link: the item was saved
🌓 partly doneKeyword: some results were saved, then Instagram stopped answering or the search could not be completed; the saved results are kept
👻 nothing foundKeyword: no result was found. Handle or link: the page showed no data (the note says "page not found, private or unavailable")
⏭️ skippedHandle or link of a kind outside your Result type, or an item already collected from another search or found in your earlier dataset
🚫 failedNo result was saved because the page or the search could not be read (the note says why, for example "Instagram did not give this page; try again later")
⏸️ stoppedThe run stopped before this search finished, because of the time limit or Maximum cost per run; stopReason says which

Example Inputs row for the @natgeo line, and one for a handle that doesn't exist:

[
{"input": "@natgeo", "status": "done", "resultsSaved": 1, "note": null, "stopReason": null, "scrapedAt": "2026-11-25T09:00:00Z"},
{"input": "@this_handle_does_not_exist_123", "status": "nothing found", "resultsSaved": 0, "note": "page not found, private or unavailable", "stopReason": null, "scrapedAt": "2026-11-25T09:00:00Z"}
]

The Run summary is a JSON record called RUN_SUMMARY in the run's key-value store (a small file storage that belongs to each run, under Storage → Key-value stores); open it from the Run summary entry in the Output tab. It holds the start and finish time, the stop reason, the totals (results, results by kind, and searches with results, failed and skipped), one entry per search and notices.

💡 In the run status, the Inputs table and the run summary, "spend limit" means your Maximum cost per run was reached, and "time limit" means the run stopped by itself shortly before the run timeout. In both cases everything saved so far is kept.


💡 Instagram Search Scraper tips and advanced usage

How many results can you scrape with Instagram Search Scraper?

Instagram Search Scraper collects up to Max results per search for each keyword: any number up to 100,000, or 0 for every match it can find. The real number depends on how many public matches a keyword has, your Result type and filters, your Maximum cost per run and the run timeout (the longest time Apify lets a run go; you see and change it in the run options). When a keyword runs out of matches before the limit, the Inputs table says "only N results exist for this search". A handle or link gives at most one result. The best way to know for your keywords is a small test run.

How can I get cheaper results?

  • 🔢 Keep Max results per search at the number you really need: every result is charged.
  • 🗂️ Pick one Result type when you only need profiles, places, posts or hashtags.
  • 🗒️ Keep Recent posts per result at 0 unless you need the likes and comments of recent posts; each extra post read adds platform usage, not result charges.
  • 🎚️ Use the filters so profiles you don't want are never saved and never charged.
  • ♻️ After a big first run, set Skip results from an earlier run to that run's dataset for a top-up, so results you already have are not charged again.

🔭 Find Instagram influencers in a niche

To run an Instagram influencer search for a campaign, set Result type to "Profiles only", add niche keywords (vegan recipes, trail running), and set Minimum followers to the smallest audience you accept. Then export and sort by followersCount. For Instagram micro influencers, keep the minimum low (for example 5,000) and remove the very large accounts after export, because the Actor has a minimum filter only. Add Recent posts per result = 6 when you want to check likes and comments on their latest posts.

🚧 Known issues

  • 🚧 Hashtag rows never have a post count; Instagram shows it only to logged-in users.
  • 🚧 videoViewCount is often null for the same reason.
  • 🚧 A private account still gives a row with only its public parts (private is true). Only a handle whose page shows no profile data gives "nothing found".
  • 🚧 Very large jobs can reach the run timeout. The run then stops by itself, keeps every saved result and marks the open searches as "stopped". Raise the timeout in the run options or lower Max results per search.

🗓️ Run it on a schedule

Scheduled runs are how you do Instagram brand monitoring or keep a lead list fresh:

  1. Set up the input, for example your brand name and product names as keywords, Result type = "Posts and reels only" and Max results per search = 50.
  2. Save it as a task (a saved input you can run again with one click).
  3. Add an Apify schedule to the task, for example every Monday.
  4. Each run creates a new dataset. Compare runs by url: a link that was not in last week's export is a new result, and the same link in two runs shows how likesCount, commentsCount or followersCount changed.

Cost of this recipe: at most 50 results per keyword × $0.002 = $0.10 per keyword per run in result charges on the Free plan, plus the start fee and platform usage.

💡 Skip results from an earlier run points to one fixed dataset. In a saved task it keeps using that same dataset, so results that are new since then are collected again every week. Update the field when you want a newer baseline.

🛠️ If something goes wrong

  • 🧾 Open the Inputs table first: it gives a status and a plain note for every search line.
  • 💲 What was billed: the results that were saved (they stay in the dataset), the start fee and the platform usage of the run. Searches that found nothing cost nothing in result charges.
  • 🔄 To retry, run the same input again in a new run; the Actor gives no fixed waiting time for notes that say "try again later". To avoid paying twice, set Skip results from an earlier run to the dataset of the run that stopped: open that run's page, copy the dataset ID from its Storage tab and paste it into the field.
  • 🚫 A "failed" search in the Inputs table does not fail the run. The run as a whole is marked as failed only when the input has a problem at the start (for example no search line, shown as "Input problem: ...") or on an unexpected error ("Unexpected problem. The results saved so far are kept."). Every other run ends as succeeded, with a status such as "120 results saved" or "No results matched - check the search terms and your filters".
  • 📧 If it keeps failing, open an issue (see Support and feedback).

🔌 Instagram Search Scraper integrations and API

Can I use Instagram Search Scraper as an Instagram search API?

Yes. The Apify API lets you start runs, schedule them and fetch the results of Instagram Search Scraper from your own code, so you can use it as an Instagram scraper API for keyword, handle and link searches. It works as an Instagram profile search API too: send "searchType": "profiles" with your keywords. Use the apify-client NPM package for Node.js or the apify-client PyPI package for Python. The API tab has ready-to-use code.

How do I use the Instagram scraper with Python?

Here is a minimal Instagram scraper Python example with the input from above:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("insights_data/instagram-search-scraper").call(run_input={
"urls": ["coffee roasters", "@natgeo"],
"maxItems": 10,
"searchType": "all",
"postsPerResult": 0,
"includeContacts": True,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["resultType"], item["url"], item.get("followersCount"), item.get("emails"))

Can I integrate Instagram Search Scraper with other apps?

Yes. Connect Instagram Search Scraper with other tools through Apify integrations: Make, Zapier, n8n, Slack, Google Drive, Airtable and more. A webhook is a message Apify sends to a URL of your choice when a run event happens, for example when a run succeeds or fails (not when a single new result appears).

🔁 Integration workflows

  • 📗 Instagram Google Sheets export: run with With contact details only on and send the Contacts table to a sheet with the Google Sheets Import & Export Actor, or with Make, Zapier or n8n. Your sales team gets one row per email or phone.
  • 📨 Slack message after a brand check: add a webhook on "run succeeded" to your weekly task that starts a Make or n8n scenario; it reads the new dataset and posts the top posts by likesCount to a Slack channel. Apify can send the same run notice more than once, so let the scenario skip a dataset it has already posted.
  • 🔀 Instagram influencer research in n8n: use the Apify node in n8n to run "Profiles only" searches for a list of niches, then keep rows above your follower threshold and push them to Airtable for review.

Can I use Instagram Search Scraper with AI agents (MCP)?

Yes. AI assistants such as Claude, ChatGPT, Cursor, GitHub Copilot and VS Code can run Instagram Search Scraper through the Apify MCP server (MCP, the Model Context Protocol, is a standard way for AI tools to call apps). Ask for "coffee roasters in Berlin on Instagram" and the agent gets rows with the same field names as the dataset. Open the MCP tab for setup steps.


🧩 Other Instagram and social media scrapers

These Actors from the same developer work with the accounts and posts you find here:

ActorWhat it adds
👤 Instagram Profile ScraperFull profile data from usernames or links: bio, followers, following, verified status, emails and phones from the bio, engagement rate and latest posts
✉️ Instagram Email ScraperPublic emails of accounts by niche and location, @username or link, with phone, WhatsApp, website, social links and a lead score
🎞️ Fast Instagram Post ScraperThe latest public posts of profiles with captions, hashtags, likes, comments, reel views, media links and top comments
🕸️ Instagram Related Profiles ScraperThe similar and suggested accounts Instagram shows for a public profile
🧵 Search Threads By KeywordsKeyword search on Threads: post text, author, likes, replies, reposts and author followers

❓ FAQ

Web scraping of Instagram is generally legal when you collect publicly available data, but you must respect personal data and take the Instagram Terms of Use into account. Instagram Search Scraper reads only public data that a logged-out visitor can see. Usernames, bios, emails and phone numbers are still personal data, so under rules such as the GDPR (the EU's General Data Protection Regulation) you need a legitimate reason to collect and keep them, and outreach to them must follow the marketing laws that apply to you. This is not legal advice; check with a lawyer for your use case.

How does Instagram Search Scraper work?

Instagram Search Scraper works like a visitor browsing public Instagram pages without logging in, not like an Instagram crawler that follows every link. For an @handle or a link, it reads that one item and saves one row. For a keyword, it looks up matching public profiles, posts and reels, places and hashtags, opens each match, applies your filters and saves the row as soon as it is ready, until the per-search limit or the end of the matches. Then it moves on to the next line of your input.

How is Instagram Search Scraper different from Instagram Email Scraper?

Instagram Search Scraper is built for broad Instagram search results; Instagram Email Scraper is an Instagram email finder built for email leads.

FeatureInstagram Search ScraperInstagram Email Scraper
⬇️ InputKeywords, @handles or links to profiles, posts, reels, places and hashtagsA niche (plus an optional city or country), @usernames or profile links
⬆️ One row perProfile, place, post or reel, or hashtagAccount with a matching email (by default)
✉️ Where emails come fromThe bio, bio-link titles and captionsThe bio and the link-in-bio and website pages
📍 Places as resultsYes, with phone, address and map positionNo, accounts only
🏅 Lead scoreNoYes, 0-100

Why scrape Instagram search results?

Instagram search results show who is active in a niche right now, which makes them a good base for social media lead generation and research:

  • 📇 Sales prospecting: build a contact list of businesses and creators in a niche, with their emails and phones.
  • 🔭 Instagram creator search: shortlist creators with followers and a verified badge before you contact them.
  • 🧠 Instagram market research: study captions, hashtags and engagement of posts and reels about a topic.
  • 🏬 Local market maps: list places of one business type in a city with categories and map positions.

Why am I getting fewer results than expected?

Check the Inputs table first: it shows the status and a note for every search line. Fewer results usually mean the keyword has fewer public matches than your limit ("only N results exist for this search"), your filters or Result type left results out, results were skipped because another search or your earlier dataset already had them, Instagram stopped answering ("partly done"), or the run reached your Maximum cost per run or the run timeout ("stopped").

Is there an Instagram search without account or login?

Yes. Instagram Search Scraper needs no Instagram login, cookies or API key, which is what most people mean by an "Instagram scraper no login" tool. You only need a free Apify account to run it. Private accounts stay out of reach beyond their public parts.

Yes. For an Instagram user search, set Result type to "Profiles only" and type names, niches or brands. For an Instagram places search, set it to "Places only" and type a business type with a city, for example bookshop lisbon. Each place row has the place ID, category, phone, address and map position when Instagram shows them, so it also works as an Instagram location scraper.

Can I use it as an Instagram lead scraper for emails and phones?

Yes, when an account shows them. Instagram Search Scraper collects the emails, phone numbers and links written in bios, bio-link titles and captions: the values go to emails, phones and links and to the Contacts table. For emails that are only on a linked website, use Instagram Email Scraper.

Can it scrape Instagram posts and reels by keyword?

Yes. Set Result type to "Posts and reels only" and type your keyword. Instagram Search Scraper then works as an Instagram post scraper and Instagram reels scraper for search results: each row has the caption, hashtags, mentions, likes, comments, video link, sound and post date. For every post of accounts you already know, Fast Instagram Post Scraper is the better fit.

Which Instagram scraper should I use: search, profile or posts?

Use Instagram Search Scraper when you don't know the accounts yet and want to discover them by keyword, the Instagram Profile Scraper for full details of accounts you already have, and Fast Instagram Post Scraper for their posts. Each one is a separate Actor with its own output and price.

Yes. Set Result type to "Hashtags only" to get the hashtags that match a keyword, each with its name and link. Hashtag post counts are not included. For hashtags in real posts, search "Posts and reels only" and read the hashtags field.


📧 Support and feedback

Found a bug or have a feature request? Please create an issue on the Issues tab.

Need a custom solution, more fields or a different Instagram dataset? Contact us at hello.insights.data@gmail.com.

Built and maintained by Insights Data.