# TikTok Influencer Finder — Emails & Contacts (`funny_ground/tiktok-influencer-finder`) Actor

- **URL**: https://apify.com/funny\_ground/tiktok-influencer-finder.md
- **Developed by:** [Coor Yu](https://apify.com/funny_ground) (community)
- **Categories:** Social media, Videos
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## TikTok Influencer Finder — Emails & Contacts

Find TikTok creators by **keyword or niche**, filter by **follower count**, and extract
**emails / Instagram / links** straight from their bios. Built for influencer-marketing
lead generation.

### 中文说明

输入关键词或领域（留空则自动枚举美妆/健身/美食/游戏/科技等常见领域），按粉丝量范围筛选，
输出达人信息（用户名、昵称、粉丝数、认证、地区、简介）以及从简介解析出的**邮箱 / Instagram / 外链**。

**工作原理**：用真实浏览器打开 TikTok 用户搜索页，捕获或主动构造
`/api/search/user/full`、`/api/search/general/full` 请求，再用页面内置签名函数
`byted_acrawler.frontierSign` 重签并按 `cursor` 翻页。联系方式由简介文本解析。
默认使用 Apify Proxy `DEFAULT` 非住宅代理池，也不会自动切到住宅代理；如果用户手动选择
`RESIDENTIAL`，则尊重该输入。

### Input

| Field | Type | Description |
|---|---|---|
| `keywords` | array | 关键词/领域；留空则枚举常见领域 |
| `minFollowers` | integer | 最少粉丝（0=不限） |
| `maxFollowers` | integer | 最多粉丝（0=不限，适合找微达人） |
| `maxCreatorsPerKeyword` | integer | 每词最多达人数 |
| `onlyWithContact` | boolean | 仅保留有邮箱/联系方式的达人 |
| `maxConcurrency` | integer | 并发处理关键词数量，默认 `2` |
| `maxRequestRetries` | integer | 每个关键词最大重试次数，默认 `2` |
| `blockResources` | boolean | 阻断图片/视频/字体/样式表，默认 `true` |
| `proxyConfiguration` | object | 可选代理；默认使用 Apify Proxy `DEFAULT` 非住宅池 |

```json
{
    "keywords": ["skincare", "home fitness"],
    "minFollowers": 10000,
    "maxFollowers": 500000,
    "maxCreatorsPerKeyword": 50,
    "onlyWithContact": true,
    "maxConcurrency": 2,
    "maxRequestRetries": 2,
    "blockResources": true,
    "proxyConfiguration": { "useApifyProxy": true }
}
````

### Output

每行一个达人：`username`, `nickname`, `followerCount`, `followingCount`, `videoCount`,
`heartCount`, `verified`, `region`, `signature`, `bioLink`, **`email`**, `emails`,
`instagram`, `youtube`, `links`, `profileUrl`, `avatar`, `keyword`, `scrapedAt`.

### Notes

- 邮箱是否能拿到取决于达人**是否在简介里公开**；不公开则无法获取。
- 默认不主动使用住宅代理，也没有住宅 fallback；默认代理组是 Apify Proxy `DEFAULT`，需要住宅代理时必须在输入里手动选择。
- 非住宅 IP 下 TikTok search 仍可能间歇返回空结果；actor 会快速重试并尽早结束，避免长时间空跑。
- TikTok 偶尔更换签名算法，若返回 0，修改 `src/main.js` 中的 `frontierSign` 调用处即可。

# Actor input Schema

## `keywords` (type: `array`):

搜索关键词或领域，每行一个；留空则自动枚举常见领域（美妆/健身/美食/游戏/科技等）。Keywords or niches, one per line. Leave empty to auto-enumerate common niches.

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

只保留粉丝数 ≥ 该值的达人。0 = 不限。Only keep creators with at least this many followers. 0 = no minimum.

## `maxFollowers` (type: `integer`):

只保留粉丝数 ≤ 该值的达人（适合找腰部/微达人）。0 = 不限。Only keep creators with at most this many followers. 0 = no maximum.

## `maxCreatorsPerKeyword` (type: `integer`):

每个关键词最多返回的达人数量。Maximum creators to return per keyword.

## `onlyWithContact` (type: `boolean`):

Only keep creators whose bio includes an email, Instagram, X/Twitter, YouTube, or bio link. Disable this to maximize creator results.

## `maxConcurrency` (type: `integer`):

How many keywords to process in parallel. Higher values are faster but use more memory.

## `maxRequestRetries` (type: `integer`):

Retries per keyword when TikTok returns no usable search data. Lower values reduce cost on non-residential IPs.

## `blockResources` (type: `boolean`):

Block images, media, fonts, and stylesheets to reduce browser time and bandwidth.

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

Optional proxy settings. By default the actor uses Apify Proxy DEFAULT pool, which is non-residential, and never automatically switches to residential proxies. If you explicitly select RESIDENTIAL, that choice is respected.

## Actor input object example

```json
{
  "keywords": [
    "beauty",
    "vegan recipes",
    "indie game dev"
  ],
  "minFollowers": 0,
  "maxFollowers": 0,
  "maxCreatorsPerKeyword": 50,
  "onlyWithContact": true,
  "maxConcurrency": 2,
  "maxRequestRetries": 2,
  "blockResources": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "keywords": [
        "skincare",
        "home fitness"
    ],
    "maxCreatorsPerKeyword": 50,
    "onlyWithContact": true,
    "maxConcurrency": 2,
    "maxRequestRetries": 2,
    "blockResources": true,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("funny_ground/tiktok-influencer-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 = {
    "keywords": [
        "skincare",
        "home fitness",
    ],
    "maxCreatorsPerKeyword": 50,
    "onlyWithContact": True,
    "maxConcurrency": 2,
    "maxRequestRetries": 2,
    "blockResources": True,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("funny_ground/tiktok-influencer-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 '{
  "keywords": [
    "skincare",
    "home fitness"
  ],
  "maxCreatorsPerKeyword": 50,
  "onlyWithContact": true,
  "maxConcurrency": 2,
  "maxRequestRetries": 2,
  "blockResources": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call funny_ground/tiktok-influencer-finder --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "TikTok Influencer Finder — Emails & Contacts",
        "version": "0.1",
        "x-build-id": "QJBNpEbLf4v5rI2W5"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/funny_ground~tiktok-influencer-finder/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-funny_ground-tiktok-influencer-finder",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/funny_ground~tiktok-influencer-finder/runs": {
            "post": {
                "operationId": "runs-sync-funny_ground-tiktok-influencer-finder",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/funny_ground~tiktok-influencer-finder/run-sync": {
            "post": {
                "operationId": "run-sync-funny_ground-tiktok-influencer-finder",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "keywords": {
                        "title": "Keywords / niches / 关键词",
                        "type": "array",
                        "description": "搜索关键词或领域，每行一个；留空则自动枚举常见领域（美妆/健身/美食/游戏/科技等）。Keywords or niches, one per line. Leave empty to auto-enumerate common niches.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "minFollowers": {
                        "title": "Min followers / 最少粉丝",
                        "minimum": 0,
                        "type": "integer",
                        "description": "只保留粉丝数 ≥ 该值的达人。0 = 不限。Only keep creators with at least this many followers. 0 = no minimum.",
                        "default": 0
                    },
                    "maxFollowers": {
                        "title": "Max followers / 最多粉丝",
                        "minimum": 0,
                        "type": "integer",
                        "description": "只保留粉丝数 ≤ 该值的达人（适合找腰部/微达人）。0 = 不限。Only keep creators with at most this many followers. 0 = no maximum.",
                        "default": 0
                    },
                    "maxCreatorsPerKeyword": {
                        "title": "Max creators per keyword / 每词最多达人数",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "每个关键词最多返回的达人数量。Maximum creators to return per keyword.",
                        "default": 50
                    },
                    "onlyWithContact": {
                        "title": "Only creators with contact / 仅保留有联系方式",
                        "type": "boolean",
                        "description": "Only keep creators whose bio includes an email, Instagram, X/Twitter, YouTube, or bio link. Disable this to maximize creator results.",
                        "default": true
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency / 最大并发",
                        "minimum": 1,
                        "maximum": 8,
                        "type": "integer",
                        "description": "How many keywords to process in parallel. Higher values are faster but use more memory.",
                        "default": 2
                    },
                    "maxRequestRetries": {
                        "title": "Max request retries / 最大重试次数",
                        "minimum": 0,
                        "maximum": 5,
                        "type": "integer",
                        "description": "Retries per keyword when TikTok returns no usable search data. Lower values reduce cost on non-residential IPs.",
                        "default": 2
                    },
                    "blockResources": {
                        "title": "Block heavy resources / 阻断重资源",
                        "type": "boolean",
                        "description": "Block images, media, fonts, and stylesheets to reduce browser time and bandwidth.",
                        "default": true
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration / 代理",
                        "type": "object",
                        "description": "Optional proxy settings. By default the actor uses Apify Proxy DEFAULT pool, which is non-residential, and never automatically switches to residential proxies. If you explicitly select RESIDENTIAL, that choice is respected.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
