# TikTok Profile Scraper (`miccho27/tiktok-profile-scraper`) Actor

Extract TikTok profile data including follower counts, bio information, video statistics, and engagement metrics. Monitor TikTok creators and track performance trends. Currently under maintenance - rebuild in progress for enhanced compatibility. Check back soon.

- **URL**: https://apify.com/miccho27/tiktok-profile-scraper.md
- **Developed by:** [Tatsuya Mizuno](https://apify.com/miccho27) (community)
- **Categories:** Lead generation, Developer tools
- **Stats:** 10 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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/actors/running/actors-in-store.md#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 - Free Follower Count, Bio & Video Data Extractor (Alternative to TikTok API, Pentos, Exolyt)

Scrape **public** TikTok profile data without a login or API key. Extract follower counts, likes, bio, verification status, and recent video URLs for any public TikTok account. The best free alternative to TikTok Research API (academic access only), Pentos ($99/mo), Exolyt ($49/mo), and TikBuddy.

### Who Is This For?

- **Social media marketers** -- Analyze competitor profiles, track follower growth, and benchmark engagement
- **Influencer agencies** -- Vet TikTok creators by follower count, verification status, and video output
- **Brand managers** -- Monitor brand ambassador profiles and track content performance
- **Market researchers** -- Build datasets of TikTok creators by niche for trend analysis
- **E-commerce sellers** -- Find TikTok influencers in your product category for partnerships
- **Academic researchers** -- Study TikTok creator demographics, posting patterns, and audience size

### Pricing -- Free to Start

| Tier | Cost | What You Get |
|------|------|-------------|
| **Free trial** | $0 | Apify free tier includes monthly compute credits |
| **Pay per result** | ~$3.00 / 1,000 profiles | Batch profile scraping |
| **vs. TikTok API** | No academic approval | Instant access, no application process |
| **vs. Pentos** | Saves $99/mo | No subscription, pay only for usage |

### Quick Start (3 Steps)

1. **Click "Try for free"** on this Actor's page in Apify Store
2. **Enter usernames** (e.g., `["charlidamelio", "khaby.lame"]`) or paste profile URLs
3. **Click "Start"** and get profile data as JSON, CSV, or Excel

### Features

- **No login required** for public profiles
- **Batch scraping**: process multiple usernames or profile URLs in one run
- **Rich profile data**: display name, bio, followers, following, total likes, video count, verification status
- **Recent videos**: extracts up to 30 recent video URLs per profile
- **Dual input modes**: usernames array OR direct profile URLs
- **Retry & rate limiting**: configurable delay between requests
- **Bot detection handling**: warns when TikTok shows a captcha or block page

### Input

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `usernames` | array | TikTok usernames without `@` (e.g. `["charlidamelio", "khaby.lame"]`) | -- |
| `profileUrls` | array | Direct TikTok profile URLs | -- |
| `includeRecentVideos` | boolean | Extract recent video URLs | `true` |
| `maxVideosPerProfile` | integer | Max recent videos per profile (1-30) | `12` |
| `delayBetweenRequestsMs` | integer | Delay between requests in ms (min 2000) | `3000` |

#### Example Input -- Usernames

```json
{
  "usernames": ["charlidamelio", "khaby.lame", "addisonre"],
  "includeRecentVideos": true,
  "maxVideosPerProfile": 12
}
```

#### Example Input -- Profile URLs

```json
{
  "profileUrls": [
    "https://www.tiktok.com/@charlidamelio",
    "https://www.tiktok.com/@khaby.lame"
  ],
  "includeRecentVideos": false
}
```

### Output

```json
{
  "success": true,
  "username": "charlidamelio",
  "displayName": "Charli D'Amelio",
  "bio": "don't you dare",
  "followers": 155000000,
  "following": 1200,
  "likes": 11500000000,
  "videoCount": 2400,
  "isVerified": true,
  "profilePicUrl": "https://p16-sign-va.tiktokcdn.com/...",
  "profileUrl": "https://www.tiktok.com/@charlidamelio",
  "recentVideos": [
    { "url": "https://www.tiktok.com/@charlidamelio/video/7312345678901234567" }
  ],
  "scrapedAt": "2024-01-15T10:30:00.000Z"
}
```

### Real-World Use Cases

#### 1. Influencer Discovery & Vetting

Batch scrape 500+ TikTok profiles in your niche. Filter by follower count and video output to find the best creators for brand partnerships.

#### 2. Competitive Analysis

Track competitor brand accounts weekly. Export follower growth and posting frequency to Google Sheets via Apify integrations.

#### 3. TikTok Creator Database

Build a searchable database of TikTok creators by category. Schedule monthly runs to keep follower counts and video counts current.

#### 4. E-commerce Influencer Matching

Find TikTok creators who post about your product category. Cross-reference follower counts with engagement to identify high-ROI partnerships.

#### 5. Trend Research

Monitor top creators in emerging niches. Track which profiles are growing fastest to identify trending content categories early.

### FAQ

**Q: Can I scrape private accounts?**
A: No. This Actor only accesses publicly visible data.

**Q: What about TikTok rate limiting?**
A: Built-in 3s+ delay between requests. Use Apify's proxy pool for large batches.

**Q: How many profiles per run?**
A: Hundreds per run. For 1000+, split into multiple runs.

**Q: Is this the same as TikTok API?**
A: No. This scrapes public web pages -- no API key, no application process, no quotas.

### Notes & Limitations

- **Public profiles only**: Private accounts return minimal data with a warning.
- **Bot detection**: TikTok may show captchas. Use Apify's residential proxy pool for reliable results.
- **Rate limiting**: Keep delay at 3000ms+ to avoid blocks.
- **Data extraction**: Uses TikTok's embedded JSON data (SIGI\_STATE). Falls back to meta tags.
- **No private data**: Only publicly visible information is scraped.
- **For research purposes**: Use in compliance with TikTok's Terms of Service.

# Actor input Schema

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

Array of TikTok usernames to scrape (e.g., \["tiktok", "cristiano"]). @ prefix is optional.

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

Array of full TikTok profile URLs (e.g., \["https://www.tiktok.com/@tiktok"]). Alternative to usernames.

## `includeRecentVideos` (type: `boolean`):

Whether to extract links to recent videos from profiles. Default: true

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

Maximum number of recent video links to extract per profile (1-50). Default: 12

## `delayBetweenRequestsMs` (type: `integer`):

Milliseconds to delay between profile scrapes. Helps avoid rate limiting. Default: 3000

## Actor input object example

```json
{
  "usernames": [
    "tiktok"
  ],
  "profileUrls": [],
  "includeRecentVideos": true,
  "maxVideosPerProfile": 12,
  "delayBetweenRequestsMs": 3000
}
```

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

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,miccho27/tiktok-profile-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/WbrC7fzr3lg3fPVUg/builds/iv28G5Zy8PA2YQ8yj/openapi.json
