# Instagram Email Scraper (`easyapi/instagram-email-scraper`) Actor

🚀 Effortlessly scrape email addresses from Instagram profiles! 📸 Find Instagram users matching your keywords and specific email domains. Perfect for influencer marketing, brand collaborations, and targeted outreach campaigns. Powered by stealth technology for reliable data collection. 📧🕵️‍♂️

- **URL**: https://apify.com/easyapi/instagram-email-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Lead generation, Social media
- **Stats:** 1,385 total users, 22 monthly users, 100.0% runs succeeded, 36 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 📸 Instagram Email Scraper

This Actor scrapes email addresses from Instagram profiles using Google search results. It's designed to find Instagram accounts that match your keyword and have email addresses from specified domains in their profile or posts.

### ✨ Features

- 🔍 Search for Instagram profiles using keywords
- 📧 Extract email addresses matching specific domains
- 📸 Collect Instagram profile titles and URLs
- 📝 Gather contextual text from posts or profile descriptions
- 🔢 Configurable maximum number of results
- 🕵️‍♂️ Uses stealth mode to avoid detection
- 🔄 Automatic pagination through Google search results

### 📥 Input

The Actor accepts the following input parameters:

- `keyword` (required): The search term to find relevant Instagram profiles
- `emailDomains` (required): An array of email domains to match (e.g., \["gmail.com", "yahoo.com"])
- `maxResults` (optional): The maximum number of email addresses to scrape (default: 100)

### 📤 Output

The Actor outputs a dataset containing the following information for each scraped email:

- 🔑 Search keyword used
- 📧 Matched email domains
- 📨 Extracted email address
- 📛 Result title
- 🔗 Instagram URL
- 📝 Contextual text from the post or profile description

### 🚀 Usage

To use this Actor, provide a search keyword related to the Instagram profiles you're interested in, an array of email domains to match, and optionally set the maximum number of results. The Actor will then search Google for Instagram profiles, extracting matching email addresses until it reaches the specified limit or exhausts all available results.

This Actor is perfect for influencer marketing, lead generation, or anyone looking to gather contact information from Instagram users in specific niches.

### 💡 Use Cases

- 🎯 Influencer Marketing: Find and contact Instagram influencers in your industry
- 🤝 Brand Collaborations: Collect contact information for potential brand partnerships
- 🔬 Market Research: Analyze Instagram users and their contact preferences in specific sectors
- 📊 Lead Generation: Build targeted lists for email marketing or outreach campaigns

### 🆘 Support

If you encounter any issues or have questions about using this Actor, please don't hesitate to reach out through Apify's support channels.

#### Input Example

A full explanation of an input example in JSON.

```
{
  "keyword": 'marketing',
  "emailDomains": ['gmail.com', 'yahoo.com', 'hotmail.com'],
  "maxResults": 10
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```
[
	{
		"keywords": "marketing",
		"emailDomains": "gmail.com, yahoo.com, hotmail.com",
		"email": "hidaniipkr@gmail.com",
		"title": "Daniipkr - Daniel Palacio.",
		"url": "https://www.instagram.com/daniipkr/",
		"text": "203K Followers, 549 Following, 23 Posts - Daniel Palacio. (@daniipkr) on Instagram: \" ‍ | CEO & Founder @nimed.marketing — | hidaniipkr@gmail.com\""
	},
	{
		"keywords": "marketing",
		"emailDomains": "gmail.com, yahoo.com, hotmail.com",
		"email": "bahiamkting@gmail.com",
		"title": "Bahia Marketing | Promotores locales ...",
		"url": "https://www.instagram.com/bahia.marketing/p/DA02Q2oxvUR/",
		"text": "hace 5 días — PARA MUJERES Y HOMBRES Envíanos un email a bahiamkting@gmail.com con asunto: NOMBRE Y APELLIDO + LOCALIDAD Adjuntá: - Nombre y Apellido"
	},
    ...
]
```

### Related Actors

- 📧 [Facebook Email Scraper](https://apify.com/easyapi/facebook-email-scraper) - Extract email addresses from Facebook profiles and pages with smart pattern matching and verification
- 📧 [Twitter Email Scraper](https://apify.com/easyapi/twitter-email-scraper) - Find and extract email addresses from Twitter profiles matching your keywords
- 📧 [TikTok Email Scraper](https://apify.com/easyapi/tiktok-email-scraper) - Discover email addresses from TikTok creator profiles for influencer outreach
- 📧 [YouTube Email Scraper](https://apify.com/easyapi/youtube-email-scraper) - Extract email addresses from YouTube channel descriptions for content creator discovery
- 📧 [LinkedIn Email Scraper](https://apify.com/easyapi/linkedin-email-scraper) - Find professional email addresses from LinkedIn profiles for B2B outreach
- 📧 [Snapchat Email Scraper](https://apify.com/easyapi/snapchat-email-scraper) - Extract email addresses from Snapchat user profiles for marketing opportunities
- 📧 [Telegram Email Scraper](https://apify.com/easyapi/telegram-email-scraper) - Scrape email addresses from Telegram channels, groups and profiles
- 📸 [Instagram Profile Scraper](https://apify.com/easyapi/instagram-profile-scraper) - Extract comprehensive Instagram profile data and statistics
- 📸 [Instagram Posts Scraper](https://apify.com/easyapi/instagram-posts-scraper) - Collect detailed data from Instagram posts including engagement metrics
- 📸 [Instagram Comments Scraper](https://apify.com/easyapi/instagram-comments-scraper) - Extract comments and user engagement data from Instagram posts
- 📸 [Instagram Videos Downloader](https://apify.com/easyapi/instagram-videos-downloader) - Download videos from Instagram posts, reels and stories
- 📸 [Instagram Photos Downloader](https://apify.com/easyapi/instagram-photos-downloader) - Save high-quality images from Instagram posts effortlessly
- 📸 [Instagram Story Downloader](https://apify.com/easyapi/instagram-story-downloader) - Download Instagram stories in original quality
- 📸 [Instagram Reels Scraper](https://apify.com/easyapi/instagram-reels-scraper) - Extract metadata and content from Instagram Reels
- 📧 [All-in-One Social Media Email Scraper](https://apify.com/easyapi/all-in-one-social-media-email-scraper) - Discover emails across 30+ social platforms in one tool
- 📱 [All-in-One Social Media Phone Number Scraper](https://apify.com/easyapi/all-in-one-social-media-phone-number-scraper) - Extract phone numbers from multiple social media platforms

# Actor input Schema

## `keyword` (type: `string`):

Enter the keyword to search for relevant Instagram profiles

## `emailDomains` (type: `array`):

Enter the email domains to match (e.g., gmail.com, yahoo.com)

## `maxResults` (type: `integer`):

Set the maximum number of email addresses to scrape. The actor will stop when this limit is reached.

## Actor input object example

```json
{
  "keyword": "fashion influencer",
  "emailDomains": [
    "gmail.com",
    "yahoo.com",
    "hotmail.com"
  ],
  "maxResults": 10
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/instagram-email-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/instagram-email-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call easyapi/instagram-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/instagram-email-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/v1uyg4z3fLuwpIUJn/builds/flePiNbI4OGcHNMv8/openapi.json
