# Social Media Email Finder (`caprolok/social-media-email-finder`) Actor

Quickly generate targeted email leads from Instagram, TikTok, YouTube, LinkedIn, and Twitter. Effortlessly search by keywords and locations, obtaining structured contact details and direct links. Perfect for marketers, recruiters, and sales professionals.

- **URL**: https://apify.com/caprolok/social-media-email-finder.md
- **Developed by:** [Caprolok](https://apify.com/caprolok) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 103 total users, 1 monthly users, 100.0% runs succeeded, 8 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Social Media Email Finder

Find social profiles by niche keyword and extract publicly listed email addresses across Instagram, TikTok, YouTube, Twitter (X), Threads, Reddit, Facebook, and VK. Optionally fills remaining slots from **Linktree** (`site:linktr.ee`) with `email_source=bio_link`.

### What you can extract

- Emails found on the profile (`emails[]`)
- `email_source` (`serp_snippet` / `enrichment` / `bio_link` / `unknown`) and heuristic `email_confidence`
- Name, username, about / bio
- Platform, profile link, thumbnail (`platform: linktree` for link-in-bio rows)
- Followers / following / posts / likes / replies when present
- Keyword used for the run

### How to use

1. Create a free Apify account.
2. Open the [Social Media Email Finder](https://apify.com/caprolok/social-media-email-finder) on Apify.
3. Enter a keyword, choose platforms, set max results. Optional: `email_mode`, `export_preset`, `include_link_in_bio`, location / exclusions.
4. Click Start, then download JSON / CSV / Excel or use the API.

### Email mode (honest limits)

| Mode | Behavior |
| ---- | -------- |
| `any` (default) | Keep all found addresses |
| `consumer` | Keep free-mail domains (gmail, yahoo, outlook, …) |
| `b2b` | Drop free-mail domains (best-effort; **lowers recall**) |

Modes bias the search query and post-filter results. They are not a CRM enrichment guarantee.

### Link-in-bio (Linktree)

When `include_link_in_bio` is on (default), after platform profiles the Actor runs a capped `site:linktr.ee` filler. Rows use `email_source=bio_link` and are billed the same `data_request` as social profiles.

Prefer a `SEARCH_CONFIG.indexes.LINKTREE_BIOS` datastore that includes linktr.ee. On exploded social-only stores this pass often returns 0 (fail-open).

### Export presets

`emails[]` is always present. Presets add alias columns:

| Preset | Extra fields |
| ------ | ------------ |
| `default` | none |
| `instantly` | `email`, `firstName`, `profileUrl` |
| `clay` | `Email`, `Name`, `Profile URL`, `Platform` |

### Pricing

This actor uses **pay-per-event** pricing.

| Event | When it charges |
| ----- | --------------- |
| `data_request` (primary) | Once per profile row with ≥1 email |
| `platform_usage` | Usage true-up based on Apify platform compute |

Free users are capped and may see upgrade placeholders after a small reveal. Set the Console Monetization primary event to `data_request`.

### Input parameters

| Field | Type | Description | Required |
| ----- | ---- | ----------- | -------- |
| `keyword` | string | Niche or industry keyword | Yes |
| `platforms` | array of string | One or more of `INSTAGRAM`, `TIKTOK`, `YOUTUBE`, `TWITTER`, `THREADS`, `REDDIT`, `FACEBOOK`, `VK` | Yes |
| `max_results` | integer | Max profiles with emails (default 10) | Yes |
| `email_mode` | string | `any` / `consumer` / `b2b` | No |
| `export_preset` | string | `default` / `instantly` / `clay` | No |
| `include_link_in_bio` | boolean | Linktree filler pass (default true) | No |
| `location` | string | Country filter (e.g. `US`) | No |
| `exclusions` | array of string | Keywords / usernames to exclude | No |

Legacy `maxResults` is still accepted.

#### Sample input

```json
{
    "keyword": "marketing",
    "platforms": ["INSTAGRAM", "TIKTOK"],
    "location": "US",
    "max_results": 10,
    "email_mode": "any",
    "export_preset": "instantly",
    "include_link_in_bio": true
}
```

### Sample output

```json
[
  {
    "contentType": "profile",
    "emails": ["contact@example.com"],
    "email_source": "serp_snippet",
    "email_confidence": "high",
    "email": "contact@example.com",
    "keyword": "marketing",
    "name": "Alex Grant",
    "platform": "instagram",
    "user_link": "https://www.instagram.com/alex",
    "username": "alex"
  }
]
```

### Support

Questions or feature requests: open an issue on the actor page or contact the publisher via Apify.

### Related scrapers

| Actor | Use for |
| ----- | ------- |
| [Social Media Phone Finder](https://apify.com/caprolok/social-media-phone-finder) | Public phones by niche |
| [Social Media Profile Extractor](https://apify.com/caprolok/social-media-profile-extractor) | Enrich known handles |
| [Social Media Influencer Finder](https://apify.com/caprolok/social-media-influencer-finder) | Creator shortlist |
| [Social Media Posts Extractor](https://apify.com/caprolok/social-media-posts-extractor) | Posts from known accounts |
| [Social Media Hashtag Posts Extractor](https://apify.com/caprolok/social-media-hashtag-posts-extractor) | Niche hashtag / keyword posts |

# Actor input Schema

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

Keyword, niche, or industry to find relevant profiles (e.g. marketing, fitness coach).

## `location` (type: `string`):

Restrict search to a specific country (e.g. US).

## `platforms` (type: `array`):

Select one or more platforms to search for profiles with emails.

## `exclusions` (type: `array`):

Exclude usernames, keywords, or domains from results.

## `email_mode` (type: `string`):

any = all addresses; consumer = free-mail domains; b2b = non-free-mail (best-effort; may reduce recall).

## `export_preset` (type: `string`):

Add CRM-friendly alias columns (emails\[] always kept).

## `include_link_in_bio` (type: `boolean`):

After platform search, fill remaining slots from site:linktr.ee (email\_source=bio\_link). Fail-open if the index has no Linktree pages.

## `max_results` (type: `integer`):

Maximum number of profiles with emails to return across selected platforms.

## Actor input object example

```json
{
  "keyword": "marketing",
  "platforms": [
    "INSTAGRAM"
  ],
  "exclusions": [],
  "email_mode": "any",
  "export_preset": "default",
  "include_link_in_bio": true,
  "max_results": 10
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset of profiles with emails, usernames, and profile links.

# 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 = {
    "keyword": "marketing",
    "platforms": [
        "INSTAGRAM"
    ],
    "exclusions": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("caprolok/social-media-email-finder").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 = {
    "keyword": "marketing",
    "platforms": ["INSTAGRAM"],
    "exclusions": [],
}

# Run the Actor and wait for it to finish
run = client.actor("caprolok/social-media-email-finder").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "keyword": "marketing",
  "platforms": [
    "INSTAGRAM"
  ],
  "exclusions": []
}' |
apify call caprolok/social-media-email-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=caprolok/social-media-email-finder",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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