# TikTok Profile & Email Extractor | Pay Per Valid Lead (`social_leads_hq/tiktok-email-leads-extractor`) Actor

Extract business emails, follower counts, and engagement metrics from TikTok profiles. Features a smart Follower Filter so you only pay for valid leads, stealth residential proxy support, and native Webhooks for Make/Zapier. Perfect for B2B lead gen and influencer marketing.

- **URL**: https://apify.com/social_leads_hq/tiktok-email-leads-extractor.md
- **Developed by:** [DataForge Metrics](https://apify.com/social_leads_hq) (community)
- **Categories:** Social media, Automation, Lead generation
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 extraer perfiles

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/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

## 📱 TikTok Profile & Email Extractor | Pay Per Valid Lead

Extract comprehensive TikTok profile data, including follower metrics, bios, and contact **emails**, without the need for a heavy browser. This Actor is optimized for **speed**, **cost-efficiency**, and **reliability**.

Designed for Influencer Marketing Agencies, B2B Lead Generators, and Growth Hackers who want to pay ONLY for quality data.

### 💎 Why choose this scraper?

- **Pay Per Valid Lead:** You only pay for successfully extracted profiles that meet your criteria. No hidden proxy fees, no wasted compute units.
- **Zero Wasted Budget:** Set a `minFollowers` filter. If a profile doesn't meet your threshold, we skip it, and you don't pay for it.
- **Email Extraction:** Automatically extracts public emails (B2B leads) hidden within the user's bio using advanced regex.
- **Blazing Fast & Lightweight:** We block all unnecessary TikTok resources (videos, images, fonts, tracking scripts) at the network level. This means it runs up to 10x faster than traditional browser scrapers.
- **No-Proxy Mode (Zero Infrastructure Cost):** Don't want to use Apify proxies? Simply toggle them OFF in the input. Our HTTP-only engine can scrape public profiles directly with **0 proxy costs** and maximum speed.
- **Smart Retry & Rotation:** Automatically detects "User Not Found" errors (status 10221) and skips them without wasting your proxy bandwidth.

### 📊 Data Extracted

For every profile, you get structured data including:

- ✅ Username & Display Name
- ✅ Followers, Following, and Total Likes
- ✅ Biography (Bio)
- ✅ Extracted **Email Addresses** (from bio)
- ✅ Website / Bio-Link
- ✅ Verification status (Is Verified) & Account Privacy
- ✅ Avatar URL & Direct Profile URL

### 🔗 Webhook Integration (How to receive your data)

If you are integrating this Actor with Make, Zapier, or your own backend, you can use the native Webhook feature.

1. Go to the **Integrations** tab of this Actor.
2. Add a new **HTTP request** and select the event **Run succeeded**.
3. Paste your own endpoint URL.
4. Use our custom **Payload Template** to get a direct download link.

**Payload Template:**

```json
{
  "event": "{{eventType}}",
  "runId": "{{resource.id}}",
  "defaultDatasetId": "{{resource.defaultDatasetId}}",
  "resultsUrl": "https://api.apify.com/v2/datasets/{{resource.defaultDatasetId}}/items?format=json",
  "itemCount": "{{resource.stats.itemCount}}"
}
```

#### 🚨 IMPORTANT: Downloading your data

The `resultsUrl` returned in the webhook is private to your account. To download the JSON data from that URL, you must append your Apify API Token to the request.

Example:
`https://api.apify.com/v2/datasets/[DATASET_ID]/items?format=json&token=[YOUR_APIFY_TOKEN]`

*You can find your API token in your Apify Console under Settings > Integrations.*

### ⚡ Tips for Best Results

- **Use Residential Proxies:** TikTok heavily blocks datacenter IPs. We strongly recommend using the `RESIDENTIAL` proxy group (enabled by default) to ensure a high success rate.
- **Run in Batches:** If you need to scrape thousands of profiles, split your input into batches of 500 to 1000.

### 🤖 AI-Ready (MCP Compatible)

This Actor is fully compatible with the **Model Context Protocol (MCP)**. You can seamlessly integrate it with AI agents like Claude, Cursor, or custom LLM workflows to automate your lead generation and data analysis pipelines.

### 💰 Pricing

This Actor uses a **Pay-Per-Event** model. You are charged **$0.01 per successfully extracted profile** (or $10.00 per 1,000 valid profiles). If a profile is skipped due to your follower filter or doesn't exist, you are not charged.

# Actor input Schema

## `profiles` (type: `array`):

List of profiles to extract. You can use just the username (@mrbeast) or the full URL.

## `minFollowers` (type: `integer`):

If the profile has fewer followers than this number, it will be skipped. Set to 0 to extract all.

## `proxyConfiguration` (type: `object`):

Turn OFF proxies for a 100% free infrastructure run (works great for public accounts). Use RESIDENTIAL proxies (default) only if you need maximum success rate against aggressive blocks.

## Actor input object example

```json
{
  "profiles": [
    "mrbeast",
    "khaby.lame",
    "https://www.tiktok.com/@taylorswift"
  ],
  "minFollowers": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

The extracted TikTok profiles.

# 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 = {
    "profiles": [
        "mrbeast",
        "khaby.lame",
        "https://www.tiktok.com/@taylorswift"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("social_leads_hq/tiktok-email-leads-extractor").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 = { "profiles": [
        "mrbeast",
        "khaby.lame",
        "https://www.tiktok.com/@taylorswift",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("social_leads_hq/tiktok-email-leads-extractor").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 '{
  "profiles": [
    "mrbeast",
    "khaby.lame",
    "https://www.tiktok.com/@taylorswift"
  ]
}' |
apify call social_leads_hq/tiktok-email-leads-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,social_leads_hq/tiktok-email-leads-extractor"
        }
    }
}
```

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/RKjlfev0fBY7NpOzn/builds/9ZfrBJqNdC1rxEIff/openapi.json
