# TikTok User Search Scraper (`fetch_cat/tiktok-user-search-scraper`) Actor

Search public TikTok users by keyword and export creator profiles with account statistics, bios, verification, ranking, and query attribution.

- **URL**: https://apify.com/fetch\_cat/tiktok-user-search-scraper.md
- **Developed by:** [Hanna Nosova](https://apify.com/fetch_cat) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 user profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## TikTok User Search Scraper

Search TikTok users by keyword and export public creator profiles with account statistics, query attribution, and result rank. This TikTok creator search scraper helps influencer teams scrape TikTok users for outreach lists, niche research, and creator qualification.

### Input example

```json
{
  "queries": ["coffee", "fitness coach"],
  "maxUsersPerQuery": 10
}
```

### Output example

```json
{
  "query": "coffee",
  "rank": 1,
  "id": "7621823059788841998",
  "secUid": "MS4wLjAB...",
  "username": "coffee01973",
  "displayName": "coffee",
  "profileUrl": "https://www.tiktok.com/@coffee01973",
  "avatarUrl": "https://...",
  "bio": "Hi! My name is Coffee!",
  "bioLink": null,
  "verified": false,
  "privateAccount": false,
  "seller": false,
  "followingCount": 8,
  "followerCount": 91100,
  "heartCount": 6700000,
  "videoCount": 184,
  "diggCount": 0,
  "collectedAt": "2026-08-10T09:56:31.082Z",
  "source": "https://www.tiktok.com/search/user"
}
```

### Input settings

| Field | Type | Description |
|---|---|---|
| `queries` | string\[] | One to 20 names, niches, topics, or keywords. |
| `maxUsersPerQuery` | integer | Maximum profiles per query, from 1 to 10. Use multiple queries for larger discovery lists. |

### Output fields

| Field | Description |
|---|---|
| `query`, `rank` | Search keyword and result position |
| `id`, `secUid`, `username`, `displayName` | Public account identifiers |
| `profileUrl`, `avatarUrl` | Profile and avatar URLs |
| `bio`, `bioLink` | Public biography and linked website |
| `verified`, `privateAccount`, `seller` | Public account flags |
| `followingCount`, `followerCount`, `heartCount`, `videoCount`, `diggCount` | Public account statistics |
| `collectedAt`, `source` | Collection timestamp and source |

### Ready-to-run examples

Open a public example to inspect its input, run it, or reuse it as a task:

- [Compare TikTok Coffee and Fitness Creators](https://apify.com/fetch_cat/tiktok-user-search-scraper/examples/compare-coffee-fitness-creators)
- [Find TikTok Fitness Coach Creators](https://apify.com/fetch_cat/tiktok-user-search-scraper/examples/find-fitness-coach-creators)
- [Find TikTok Coffee Creators](https://apify.com/fetch_cat/tiktok-user-search-scraper/examples/find-coffee-creators)

**Niche creator discovery**

```json
{"queries":["vegan recipes","home workouts"],"maxUsersPerQuery":10}
```

**Brand-name research**

```json
{"queries":["Acme"],"maxUsersPerQuery":10}
```

### Who is it for?

- **Influencer marketing teams** building niche-specific creator shortlists.
- **Talent and creator agencies** qualifying public accounts by audience and activity signals.
- **Brand researchers** comparing how names, topics, and categories appear in public user search.
- **Developers and automation teams** feeding creator discovery into scheduled workflows, CRMs, or data warehouses.

The query and rank fields preserve where every profile came from, so multi-query exports remain auditable instead of becoming an unattributed list.

### Pricing and limits

The Actor uses pay-per-event pricing: one start event per run and one result event for each saved profile. See the live [Pricing tab](https://apify.com/fetch_cat/tiktok-user-search-scraper/pricing) for current tier rates before running.

Each input supports up to 20 queries and up to 10 profiles per query. Availability depends on public TikTok search at run time; a narrower query can return fewer profiles than requested.

### Tips and limits

- Use specific multi-word niches for more focused creator lists.
- Results reflect TikTok's public search results at collection time and can vary by region.
- Signed avatar URLs can expire; download assets promptly if needed.
- Private data, inferred demographics, posts, comments, and follower graphs are not collected.
- If one query fails, completed query results are preserved.

### API usage

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/$ACTOR_ID/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries":["coffee"],"maxUsersPerQuery":10}'
```

#### JavaScript

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor(process.env.ACTOR_ID).call({
  queries: ['coffee', 'fitness coach'],
  maxUsersPerQuery: 10,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor(os.environ['ACTOR_ID']).call(run_input={
    'queries': ['coffee', 'fitness coach'],
    'maxUsersPerQuery': 10,
})
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)
```

### MCP and integrations

Connect the Actor through [Apify MCP](https://mcp.apify.com/?tools=fetch_cat%2Ftiktok-user-search-scraper), or export results to JSON, CSV, Excel, Google Sheets, webhooks, and automation platforms.

Add the hosted MCP server to Claude Code:

```bash
claude mcp add --transport http apify https://mcp.apify.com/?tools=fetch_cat%2Ftiktok-user-search-scraper
```

Example MCP client configuration:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?tools=fetch_cat%2Ftiktok-user-search-scraper"
    }
  }
}
```

#### Example prompts

- “Find public TikTok users for `specialty coffee` and return their follower counts and profile URLs.”
- “Search `fitness coach` and `pilates instructor`, then group the exported profiles by originating query.”
- “Create a CSV-ready list of verified accounts returned for this brand keyword.”

### FAQ

**Does this require a TikTok login?** No. It collects public user-search and profile information.

**Are duplicate users removed?** Exact duplicates are removed within each query. A user matching two queries remains once under each query so attribution is preserved.

**Why can counts or rank change?** TikTok profiles and search ordering change over time.

**What data can I export with TikTok User Search Scraper?** Each result includes public identity, bio, verification, account flags, follower and engagement statistics, plus its originating query and rank.

**Can I run TikTok User Search Scraper through an API, schedule, or MCP client?** Yes. Use the TikTok user search API example above, schedule runs in Apify Console, or connect through Apify MCP.

**How much does it cost to use TikTok User Search Scraper?** The Actor charges a small start event and one event for each saved user profile. Your exact tier price is displayed before the run.

### Related Actors

#### More TikTok scrapers

- [TikTok Profile Scraper](https://apify.com/fetch_cat/tiktok-profile-scraper)
- [TikTok Ads Library Scraper](https://apify.com/fetch_cat/tiktok-ads-library-scraper)
- [TikTok Video Scraper](https://apify.com/fetch_cat/tiktok-video-scraper)
- [TikTok AI Transcript Extractor](https://apify.com/fetch_cat/best-tiktok-ai-transcript-extractor)
- [TikTok Followers and Following Scraper](https://apify.com/fetch_cat/tiktok-followers-scraper)

### Support

Use the Actor's **Issues** tab in Apify Console and include the run ID, input, and expected result. Do not include credentials or private information.

# Actor input Schema

## `queries` (type: `array`):

Keywords, niches, names, or topics used to find TikTok accounts.

## `maxUsersPerQuery` (type: `integer`):

Maximum number of public user profiles saved for each query.

## Actor input object example

```json
{
  "queries": [
    "coffee"
  ],
  "maxUsersPerQuery": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "queries": [
        "coffee"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fetch_cat/tiktok-user-search-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 = { "queries": ["coffee"] }

# Run the Actor and wait for it to finish
run = client.actor("fetch_cat/tiktok-user-search-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 '{
  "queries": [
    "coffee"
  ]
}' |
apify call fetch_cat/tiktok-user-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fetch_cat/tiktok-user-search-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/DL4xzB0sb7AJSl0ea/builds/sIzqKgDgG9uocNHiE/openapi.json
