# TikTok Users Scraper (`easyapi/tiktok-users-scraper`) Actor

Scrape TikTok user profiles from search results. Extract detailed user information including nickname, follower count, avatar URLs, and more. Perfect for influencer research and social media analysis.

- **URL**: https://apify.com/easyapi/tiktok-users-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media
- **Stats:** 153 total users, 6 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.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

## TikTok User Search Scraper 🔍

### 🤖 What does TikTok User Search Scraper do?

This actor allows you to scrape user profiles from TikTok search results. Simply provide keywords, and it will extract detailed information about TikTok users matching your search criteria.

### ✨ Features

- 🔎 Search for TikTok users by keywords
- 👥 Extract comprehensive user profile information
- 🔄 Handles pagination automatically
- 🚀 Built-in stealth mechanisms to avoid blocking
- ⚡ High-performance scraping

### 📊 Output Data

The actor extracts the following information for each user:

- Unique user ID
- Nickname
- Signature/Bio
- Avatar images (multiple resolutions)
- Follower count
- Verification status
- Custom verification message
- Unique username
- SecUID
- Platform sync information
- And more...

### 💡 Use Cases

- Influencer Marketing Research
- Social Media Analysis
- Competitor Analysis
- User Demographics Study
- Influencer Discovery
- Marketing Campaign Planning

### 🔧 Input Parameters

| Field | Type | Description |
|-------|------|-------------|
| keywords | Array | List of keywords to search for users |
| maxItems | Integer | Maximum number of users to scrape |

### 💡 Tips

- Use specific keywords for better results
- Adjust maxItems based on your needs
- Consider running multiple searches with different keywords

#### Input Example

A full explanation of an input example in JSON.\
{
"keywords": \[
"ronaldo"
],
"maxItems": 20
}

```
  
#### 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.  
  
```

\[
{
"uid": "6791062194399282181",
"nickname": "Ronaldo Lima",
"signature": "",
"avatar_thumb": {
"uri": "tos-maliva-avt-0068/7310942706023268358",
"url_list": \[
"https://p77-sign-va.tiktokcdn.com/tos-maliva-avt-0068/7310942706023268358~c5_100x100.webp?biz_tag=tiktok_user.user_cover\&lk3s=30310797\&nonce=46147\&refresh_token=de8bbb6e0d93c07e41196942d7da79e8\&shcp=-\&shp=30310797\&x-expires=1730300400\&x-signature=L%2BfJsCRwb7ZxQSrSrCDyLyIdhNE%3D",
"https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/7310942706023268358~c5_100x100.webp?biz_tag=tiktok_user.user_cover\&lk3s=30310797\&nonce=58925\&refresh_token=272f657cfeebf6f458d7e33eaf7291f0\&shcp=-\&shp=30310797\&x-expires=1730300400\&x-signature=7jcXi4K0BaCBySs2PwDW9bR6TgA%3D",
"https://p77-sign-va.tiktokcdn.com/tos-maliva-avt-0068/7310942706023268358~c5_100x100.jpeg?biz_tag=tiktok_user.user_cover\&lk3s=30310797\&nonce=6249\&refresh_token=78f239918cf3d921b221fb7615945929\&shcp=-\&shp=30310797\&x-expires=1730300400\&x-signature=%2FabbkzLx7y3kR7jZAimxYfXpQBI%3D"
],
"width": 720,
"height": 720,
"url_prefix": null
},
"follow_status": 0,
"follower_count": 3900000,
"custom_verify": "Verified account",
"unique_id": "ronaldo",
"room_id": 0,
"enterprise_verify_reason": "",
"followers_detail": null,
"platform_sync_info": null,
"geofencing": null,
"cover_url": null,
"item_list": null,
"type_label": null,
"ad_cover_url": null,
"relative_users": null,
"cha_list": null,
"sec_uid": "MS4wLjABAAAAbgrhvokhuJ_N4UFw6zueVt94mm7dhE88W8wAG3ptnR9YHbM6gRSLmJdQeElQFfwR",
"need_points": null,
"homepage_bottom_toast": null,
"can_set_geofencing": null,
"white_cover_url": null,
"user_tags": null,
"bold_fields": null,
"search_highlight": null,
"mutual_relation_avatars": null,
"room_id_str": "0",
"events": null,
"advance_feature_item_order": null,
"advanced_feature_info": null,
"user_profile_guide": null,
"shield_edit_field_info": null,
"can_message_follow_status_list": null,
"account_labels": null
},
...
]

````



# Actor input Schema

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

List of keywords to search for TikTok users
## `maxItems` (type: `integer`):

Maximum number of user profiles to scrape
## `proxyConfiguration` (type: `object`):

Optionally, use Apify Proxy or custom HTTP proxy to avoid IP address-based blocking.

## Actor input object example

```json
{
  "keywords": [
    "ronaldo"
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CA"
  }
}
````

# 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/tiktok-users-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/tiktok-users-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/tiktok-users-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/tiktok-users-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/LDjRJ6Ewbz37FEZ2Z/builds/3k7Sxlb5mvJFht1gU/openapi.json
