# TikTok Profile Scraper - Followers, Bio & Videos (`elliotpadfield/tiktok-profile-scraper`) Actor

Scrape TikTok profiles by username, @handle, or URL. Extract followers, likes, bio, avatars, verification, secUid, account flags, and recent videos with views, likes, comments, shares, covers, music, hashtags, and links.

- **URL**: https://apify.com/elliotpadfield/tiktok-profile-scraper.md
- **Developed by:** [Elliot Padfield](https://apify.com/elliotpadfield) (community)
- **Categories:** Developer tools, Social media, Videos
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

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

## TikTok Profile Scraper - Followers, Bio & Videos

Scrape public TikTok profiles by username, @handle, or profile URL. This Actor extracts follower counts, following counts, total likes, video count, bio, bio link, avatars, verification status, account flags, secUid, share metadata, and paginated recent videos.

Use it for influencer research, creator qualification, competitor monitoring, social proof checks, TikTok lead enrichment, and scheduled profile tracking.

This Actor is built for profile-first workflows: give it TikTok creators, get clean profile records plus recent videos in one dataset item per profile. It is a strong fit when you already have usernames or profile URLs and want enriched creator rows for spreadsheets, CRMs, BI tools, or AI workflows.

### What can this TikTok profile scraper do?

- Scrape one or many TikTok profiles
- Accept usernames, @handles, and full TikTok profile URLs
- Extract follower count, following count, likes, video count, digg count, and friend count
- Extract username, nickname, user ID, secUid, short ID, bio, and bio link
- Extract avatar image URLs
- Extract verification, private-account, commerce, seller, organization, duet, stitch, and download-related public flags when TikTok exposes them
- Extract share title and share description
- Fetch recent public videos through a browser-backed TikTok web API session
- Extract video views, likes, comments, shares, saves, duration, covers, music, hashtags, mentions, and canonical video URLs
- Filter saved profiles by follower count and verification status
- Export structured profile data to Apify datasets
- Run on schedules for profile monitoring
- Use Apify residential proxies on every run for production reliability

### What data can you extract from TikTok profiles?

| Field | Description |
|---|---|
| `username` | TikTok unique ID |
| `profileUrl` | Public TikTok profile URL |
| `userId` | TikTok numeric user ID |
| `secUid` | TikTok secUid used by web APIs |
| `nickname` | Display name |
| `signature` | Profile bio |
| `bioLink` | Public bio link when available |
| `avatarLarger`, `avatarMedium`, `avatarThumb` | Avatar URLs |
| `verified` | Verification flag |
| `privateAccount` | Private account flag |
| `commerceUser`, `ttSeller`, `isOrganization` | Public account-type flags |
| `language` | Profile language when available |
| `createdAt` | Account creation timestamp when TikTok exposes it |
| `followerCount` | Followers |
| `followingCount` | Following |
| `heartCount` | Total likes |
| `videoCount` | Public video count |
| `diggCount` | Digg count |
| `friendCount` | Friend count |
| `shareTitle`, `shareDescription` | TikTok share metadata |
| `videos` | Recent public videos with IDs, descriptions, dates, stats, covers, music, hashtags, and links |
| `videosFetched` | Number of recent videos attached to the profile row |
| `scrapedAt` | Timestamp when the row was saved |

### How to scrape TikTok profiles

1. Add TikTok usernames, @handles, or profile URLs.
2. Set `maxProfiles` for larger lists.
3. Use `minFollowers`, `maxFollowers`, or `verifiedOnly` to filter saved profiles.
4. Keep `includeVideos` enabled if you want recent video pagination.
5. Run the Actor and export the dataset in JSON, CSV, Excel, XML, RSS, or HTML from Apify.

### Input examples

#### Scrape TikTok profiles

```json
{
  "profiles": ["apify", "@khaby.lame", "https://www.tiktok.com/@tiktok"],
  "maxProfiles": 100,
  "includeVideos": true,
  "maxVideosPerProfile": 30,
  "maxVideoPagesPerProfile": 1
}
```

#### Find larger verified profiles

```json
{
  "profiles": ["khaby.lame", "tiktok", "nba"],
  "verifiedOnly": true,
  "minFollowers": 1000000
}
```

### Output example

```json
{
  "username": "apify",
  "profileUrl": "https://www.tiktok.com/@apify",
  "userId": "6859182078123082758",
  "secUid": "MS4wLjABAAAA...",
  "nickname": "Apify",
  "signature": "Web scraping and automation",
  "avatarLarger": "https://p16-common-sign.tiktokcdn-eu.com/...",
  "verified": false,
  "privateAccount": false,
  "followerCount": 324,
  "followingCount": 16,
  "heartCount": 17322,
  "videoCount": 32,
  "videosFetched": 30,
  "scrapedAt": "2026-05-28T12:10:00.000Z"
}
```

### Search methods and filters

| Capability | Supported |
|---|---|
| Username input | Yes |
| @handle input | Yes |
| Profile URL input | Yes |
| Multi-profile runs | Yes |
| Follower count extraction | Yes |
| Bio and bio link extraction | Yes |
| Avatar URL extraction | Yes |
| Verification and account flags | Yes |
| secUid extraction | Yes |
| Follower-count filters | Yes |
| Verified-only filter | Yes |
| Recent video pagination | Yes |
| Video stats, covers, music, hashtags | Yes |
| Browser-backed TikTok API session | Yes |
| Latest videos first | Yes |
| Reposts, favorites, playlists | No |
| Followers/following lists | No |
| Keyword creator discovery | No |
| Comments | No |
| Forced Apify Residential Proxy | Yes |

### Pricing and cost expectations

This Actor is designed for pay-per-result pricing. Each saved dataset item is one TikTok profile snapshot, optionally enriched with recent videos. For small tests, run 5 to 10 profiles first. For scheduled monitoring, run daily or weekly with the same username list and compare follower, like, and video counts downstream.

The Actor always uses Apify residential proxies. Profile metadata is extracted from TikTok's public profile page hydration data. Recent videos are fetched through a browser-backed TikTok web API session because TikTok's video-list endpoints require browser-generated signatures and matching session cookies.

### Why use this Actor?

Many TikTok scrapers focus on hashtags, comments, or broad all-in-one scraping. This Actor is a profile-first enrichment tool for workflows where the creator is the record. It keeps the input simple, returns one clean row per creator, and still includes recent videos for qualification, monitoring, social proof checks, CRM enrichment, and creator list cleaning.

Because it runs on Apify, you also get scheduling, API access, datasets, webhooks, proxy rotation, and integrations without maintaining your own server.

# Actor input Schema

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

TikTok usernames, @handles, or profile URLs.

## `usernames` (type: `array`):

Alias for Profiles.

## `profileUrls` (type: `array`):

Alias for Profiles.

## `maxProfiles` (type: `integer`):

Maximum number of unique profiles to process.

## `includeVideos` (type: `boolean`):

Fetch recent public videos through TikTok's browser-backed web API session.

## `maxVideosPerProfile` (type: `integer`):

Maximum recent public videos to fetch per profile.

## `maxVideoPagesPerProfile` (type: `integer`):

Maximum TikTok video-list pages to fetch per profile. Each page normally returns up to 30 videos.

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

Only save profiles with at least this many followers.

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

Only save profiles with no more than this many followers.

## `verifiedOnly` (type: `boolean`):

Only save verified TikTok profiles.

## `includePrivateAccounts` (type: `boolean`):

Save private accounts when TikTok exposes their public profile metadata.

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

Number of profiles to fetch in parallel.

## `requestDelayMs` (type: `integer`):

Delay between retry attempts in milliseconds.

## `maxRetries` (type: `integer`):

Retry count for transient HTTP failures, proxy failures, and target-side 429/5xx responses.

## Actor input object example

```json
{
  "profiles": [
    "apify",
    "khaby.lame"
  ],
  "maxProfiles": 100,
  "includeVideos": true,
  "maxVideosPerProfile": 30,
  "maxVideoPagesPerProfile": 1,
  "verifiedOnly": false,
  "includePrivateAccounts": false,
  "maxConcurrency": 5,
  "requestDelayMs": 500,
  "maxRetries": 3
}
```

# Actor output Schema

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

TikTok profiles with follower counts, bio, avatars, verification, account flags, secUid, share metadata, and paginated recent videos.

# 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": [
        "apify",
        "khaby.lame"
    ],
    "maxProfiles": 100,
    "includeVideos": true,
    "maxVideosPerProfile": 30,
    "maxVideoPagesPerProfile": 1,
    "verifiedOnly": false,
    "includePrivateAccounts": false,
    "maxConcurrency": 5,
    "requestDelayMs": 500,
    "maxRetries": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("elliotpadfield/tiktok-profile-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 = {
    "profiles": [
        "apify",
        "khaby.lame",
    ],
    "maxProfiles": 100,
    "includeVideos": True,
    "maxVideosPerProfile": 30,
    "maxVideoPagesPerProfile": 1,
    "verifiedOnly": False,
    "includePrivateAccounts": False,
    "maxConcurrency": 5,
    "requestDelayMs": 500,
    "maxRetries": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("elliotpadfield/tiktok-profile-scraper").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 '{
  "profiles": [
    "apify",
    "khaby.lame"
  ],
  "maxProfiles": 100,
  "includeVideos": true,
  "maxVideosPerProfile": 30,
  "maxVideoPagesPerProfile": 1,
  "verifiedOnly": false,
  "includePrivateAccounts": false,
  "maxConcurrency": 5,
  "requestDelayMs": 500,
  "maxRetries": 3
}' |
apify call elliotpadfield/tiktok-profile-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/egArrAndGJcuFtRX6/builds/3QBjWRQV3KDAAGceG/openapi.json
