# TikTok Scraper: Videos, Comments, Followers, Search & Trends (`openclawai/tiktok-scraper`) Actor

Scrape TikTok videos, profiles, comments + replies, followers, following, likes, reposts, playlists, keyword search, hashtags, sounds, trending and live rooms. No login or cookies. Pay only per result.

- **URL**: https://apify.com/openclawai/tiktok-scraper.md
- **Developed by:** [Pika Choo](https://apify.com/openclawai) (community)
- **Categories:** Social media, Videos, AI
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 tiktok videos

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?

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 Scraper: Videos, Comments, Followers, Search & Trends

Fast TikTok data extraction without login: videos, profiles, comments with replies, followers, search and trending feeds. **$0.80 per 1,000 videos.**

### 📋 Table of contents

- [What does it do?](#what-does-it-do)
- [Features](#features)
- [Pricing](#pricing)
- [Input](#input)
- [Output](#output)
- [Troubleshooting](#troubleshooting)
- [Who uses this TikTok Scraper?](#who-uses-this-tiktok-scraper)
- [Use cases](#use-cases)
- [FAQ](#faq)
- [API, Python, JavaScript and MCP](#api-python-javascript-and-mcp)

### What does it do?

TikTok Scraper collects public TikTok data and returns it as clean rows you can export to JSON, CSV or Excel. Give it TikTok links, @usernames, hashtags, sounds or keywords and it pulls videos with full stats, creator profiles, comment threads, follower and following lists, search results and trending videos by category. There's no TikTok account to connect, no cookies and no proxy setup.

### Features

#### 🎬 What you can scrape on TikTok

| Mode | What you give it | What you get |
|---|---|---|
| `user_posts` | profile link / @username | User posts — all videos from a profile |
| `video_detail` | video or post link | Video details — one video per link |
| `user_profile` | profile link / @username | User profile — bio, followers, likes |
| `video_comments` | video or post link | Video comments (+ replies) |
| `search_videos` | keywords | Search videos (keywords) |
| `search_users` | keywords | Search users (keywords) |
| `search_hashtags` | keywords | Search hashtags (keywords) |
| `search_music` | keywords | Search sounds / music (keywords) |
| `search_live` | keywords | Search live streams (keywords) |
| `hashtag_videos` | #hashtag, tag link or ID | Hashtag videos — videos under a hashtag |
| `music_videos` | sound link or ID | Sound videos — videos using a sound |
| `followers` | profile link / @username | Followers of an account |
| `following` | profile link / @username | Accounts an account follows |
| `user_likes` | profile link / @username | Liked videos (only if public) |
| `user_reposts` | profile link / @username | Reposts |
| `user_playlists` | profile link / @username | Playlists |
| `trending` | nothing (pick a category) | Trending videos |
| `hot_search` | nothing | Hot search terms |
| `live_info` | profile or live room link | Live room info |
| `fake_view_check` | video link | TikTok fake-view check (per video) |

#### ✨ Smart features

- Short links (`vm.tiktok.com`, `tiktok.com/t/…`) are resolved for you
- Replies are placed right under their comment (comments with 3+ replies)
- Trending feed by 21 categories (food, beauty, gaming, sports…)
- Region setting for search and sounds
- No-watermark video file URL on each video row
- Duplicates are removed automatically
- 🔓 No login, no cookies, no proxy setup
- 💸 Pay only for results: hint and error rows are free

#### 🧭 More scrapers from us

- [TikTok Shop Scraper](https://apify.com/openclawai/tiktok-shop-scraper)
- [TikTok, Douyin & Bilibili Scraper (all platforms in one run)](https://apify.com/openclawai/tiktok-douyin-bilibili-scraper)
- [Instagram Scraper](https://apify.com/openclawai/instagram-scraper)
- [Douyin Scraper (抖音)](https://apify.com/openclawai/douyin-scraper)

### Pricing

You pay per result. No compute or proxy charges on top, and hint and error rows are free.

| What you get | Price per 1,000 |
|---|---|
| 🎵 Videos from any list (profile, search, hashtag, sound, trending, likes, reposts) | **$0.80** |
| 💬 Comments and replies | **$0.50** |
| 👥 Accounts from followers, following or user search | **$1.00** |
| 🔍 Single lookups: video by link, profile, live room | **$1.50** |
| #️⃣ Hashtags, sounds, playlists, hot-search terms | **$1.00** |
| 🕵️ Fake-view report (per video) | **$20.00** |

#### How much does it cost to scrape TikTok data?

| Job | Cost |
|---|---|
| 1,000 TikTok videos | $0.80 |
| 10,000 TikTok videos | $8.00 |
| 100,000 TikTok videos | $80 |
| 10,000 comments with replies | $5.00 |

Set **Max cost per run** in the run options and the actor stops cleanly at that amount.

#### 🆓 Free plan

On the free Apify plan each run returns up to 10 results, so you can check the data before you buy. Comment replies need a paid plan. Any paid Apify plan removes the limit.

#### ⚡ Speed

List modes return about 20 rows per request, so 1,000 videos usually take one to two minutes.

### Input

| Field | What it does |
|---|---|
| `mode` | Links, @usernames or IDs: user_posts, video_detail, user_profile, video_comments, hashtag_videos, music_videos, followers, following, user_likes, user_reposts, user_playlists, live_info, fake_view_check. Keywords: search_videos, search_users, search_hashtags, search_music, search_live. No input: trending, hot_search. |
| `urls` | One per line: video links, profile links or @usernames, #hashtags, sound links. Short links (vm.tiktok.com) work too. |
| `queries` | Keywords for the search modes, one per line. |
| `maxItems` | Stop after this many rows per link or keyword (comments include their replies). |
| `includeReplies` | In video_comments mode, also fetch the replies under each comment that has 3 or more replies (TikTok, Douyin, Bilibili). Replies are billed as comments. Paid Apify plans only. |
| `downloadVideos` | Add the direct video file URL to each video row when the platform provides one. |
| `region` | Two-letter country code for TikTok search, sounds and TikTok Shop (e.g. US, GB, DE, ID). |
| `exploreCategory` | Category for TikTok trending videos. |

#### 🧪 Example inputs

**Latest 100 videos from a creator**

```json
{"mode": "user_posts", "urls": ["https://www.tiktok.com/@tiktok"], "maxItems": 100}
```

**Search TikTok videos by keyword**

```json
{"mode": "search_videos", "queries": ["street food", "skincare routine"], "maxItems": 200}
```

**500 comments with replies**

```json
{"mode": "video_comments", "urls": ["https://www.tiktok.com/@user/video/7350810998023949599"], "maxItems": 500, "includeReplies": true}
```

**Followers of an account**

```json
{"mode": "followers", "urls": ["@tiktok"], "maxItems": 1000}
```

**Trending food videos**

```json
{"mode": "trending", "exploreCategory": "food", "maxItems": 100}
```

### Output

Every row uses the same fields. Export as JSON, CSV, Excel, XML or HTML.

#### 📦 Example output

```json
{
  "platform": "tiktok",
  "item_type": "video",
  "item_id": "7694307066965396766",
  "url": "https://www.tiktok.com/@tiktok/video/7694307066965396766",
  "title": "@Adam Barrera captures what made this summer feel straight out of the 2000s",
  "description": "@Adam Barrera captures what made this summer feel straight out of the 2000s",
  "author_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
  "author_name": "TikTok",
  "author_username": "tiktok",
  "duration_sec": 52.7,
  "cover_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast8-p-0068-tx2/o8DYKE…",
  "video_url_nowm": "https://v15m.tiktokcdn-eu.com/3f8d945243fe4ce9a315801f358f02af/6ac947c…",
  "music_title": "original sound - tiktok",
  "music_author": "TikTok",
  "created_at": "2026-10-08T14:41:28+00:00",
  "play_count": 29496,
  "like_count": 1039,
  "comment_count": 191,
  "share_count": 42,
  "collect_count": 68,
  "mode": "user_posts",
  "source_input": "@tiktok",
  "scraped_at": "2026-10-08T19:59:21.815589+00:00",
  "raw": {
    "…": "full original record"
  }
}
```

#### 📤 Main fields

| Field | Description |
|---|---|
| `platform`, `item_type`, `mode`, `source_input` | Where the row came from and what it is (`video`, `user`, `comment`, `hint`, `error`…) |
| `item_id`, `url` | Native ID and a link back to the item |
| `title`, `description`, `hashtags`, `created_at` | Text and publish time (ISO 8601) |
| `author_id`, `author_name`, `author_username` | Creator or account |
| `play_count`, `like_count`, `comment_count`, `share_count`, `collect_count` | Engagement counts |
| `raw` | The full original record, every field the platform returned |
| `error_message` | Explanation on free `hint` / `error` rows |

### Troubleshooting

#### Liked videos come back empty?

Most TikTok accounts keep their likes private. You get a free `hint` row instead of data.

#### Getting no results?

Check that the link or username is public and typed correctly. Private accounts, deleted posts and hidden lists return a free `hint` row that says why. Keyword modes need the **Keywords** field, link modes need **Links**.

#### Getting fewer results than `maxItems`?

The platform ran out of items for that input (a small profile, a niche keyword), or the run reached its **Max cost per run** limit. The log says which one.

#### Some fields are empty?

Platforms don't return every field for every item. Everything the platform did return is kept in `raw`.

#### Video or image links stopped working?

Media URLs from these platforms expire after a few hours. Download files right after the run.

#### The run failed or shows an error row?

Retry once: the platforms sometimes refuse a request for a few minutes. If it keeps failing, open an issue with the run link and we'll fix it fast.

### Who uses this TikTok Scraper?

#### 📣 Social media managers

Track competitors' posting, engagement and viral formats.

#### 🎨 Creators

Find trending sounds, hashtags and reference videos before they peak.

#### 🧑‍🤝‍🧑 Influencer agencies

Vet creators: follower counts, engagement rates and audience lists.

#### 🛒 Brands and e-commerce teams

Monitor brand mentions and product videos.

#### 📊 Market researchers

Read comments at scale for sentiment and product feedback.

#### 🤖 AI and data teams

Collect captions and comments as training or evaluation data.

#### 🧑‍💻 Developers and AI agents

Pull TikTok data into apps and pipelines through the API or MCP.

### Use cases

#### Trend detection

Pull the trending feed and hot-search terms daily and spot rising sounds and hashtags.

#### Influencer discovery

Search users by keyword, then pull profiles and recent videos to rank by engagement.

#### Sentiment analysis

Collect comment threads on a brand's videos and score them with your model.

#### Competitor tracking

Schedule `user_posts` on competitor accounts and chart their views over time.

### FAQ

#### Can I scrape TikTok without an account?

Yes. No TikTok login, cookies or API keys are needed.

#### Does TikTok have an official API I could use instead?

TikTok's Research and Display APIs need an approved application and are limited by region and use case. This actor needs nothing.

#### Can I scrape TikTok comments and replies?

Yes. Use `video_comments` and turn on **Include comment replies**.

#### How much does it cost to scrape 100,000 TikTok videos?

About $80, at $0.80 per 1,000 videos. Comments are $0.50 per 1,000.

#### Can I scrape TikTok followers?

Yes, with `followers` and `following`, when the account's lists are public.

#### Can I download TikTok videos without a watermark?

Each video row includes `video_url_nowm` when TikTok provides it.

#### Can I scrape TikTok hashtags and sounds?

Yes: `hashtag_videos`, `music_videos`, plus hashtag and sound search.

#### Can I target a country?

Set **Region** for search and sounds (US, GB, DE, ID…).

#### Is there a free tier?

Yes. On the free Apify plan each run returns up to 10 results. The fake-view check needs a paid plan.

#### Can I use it from Python, JavaScript or an AI agent?

Yes, through the Apify API, the Python and JavaScript clients, or MCP.

### API, Python, JavaScript and MCP

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("openclawai/tiktok-scraper").call(run_input={"mode": "user_posts", "urls": ["https://www.tiktok.com/@tiktok"], "maxItems": 100})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript**

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

const client = new ApifyClient({ token: "YOUR_APIFY_TOKEN" });
const run = await client.actor("openclawai/tiktok-scraper").call({"mode": "user_posts", "urls": ["https://www.tiktok.com/@tiktok"], "maxItems": 100});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**MCP** (Claude, ChatGPT, Cursor and other MCP clients): `https://mcp.apify.com/?tools=openclawai/tiktok-scraper`

Works with Zapier, Make, n8n, Google Sheets, Slack, webhooks and scheduled runs.

### 🛡️ Legal

Collects **public** data only. You are responsible for complying with TikTok's terms and with privacy laws such as GDPR, CCPA and PIPL when you store personal data.

### ⭐ Support

Something not working? Check the `hint` / `error` rows, then open an issue with the run link. We reply fast.

# Actor input Schema

## `mode` (type: `string`):

Links, @usernames or IDs: user_posts, video_detail, user_profile, video_comments, hashtag_videos, music_videos, followers, following, user_likes, user_reposts, user_playlists, live_info, fake_view_check. Keywords: search_videos, search_users, search_hashtags, search_music, search_live. No input: trending, hot_search.

## `urls` (type: `array`):

One per line: video links, profile links or @usernames, #hashtags, sound links. Short links (vm.tiktok.com) work too.

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

Keywords for the search modes, one per line.

## `maxItems` (type: `integer`):

Stop after this many rows per link or keyword (comments include their replies).

## `includeReplies` (type: `boolean`):

In video_comments mode, also fetch the replies under each comment that has 3 or more replies (TikTok, Douyin, Bilibili). Replies are billed as comments. Paid Apify plans only.

## `downloadVideos` (type: `boolean`):

Add the direct video file URL to each video row when the platform provides one.

## `region` (type: `string`):

Two-letter country code for TikTok search, sounds and TikTok Shop (e.g. US, GB, DE, ID).

## `exploreCategory` (type: `string`):

Category for TikTok trending videos.

## Actor input object example

```json
{
  "mode": "user_posts",
  "urls": [
    "https://www.tiktok.com/@tiktok"
  ],
  "maxItems": 20,
  "includeReplies": false,
  "downloadVideos": true,
  "region": "US",
  "exploreCategory": "all"
}
```

# Actor output Schema

## `results` (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 = {
    "mode": "user_posts",
    "urls": [
        "https://www.tiktok.com/@tiktok"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("openclawai/tiktok-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 = {
    "mode": "user_posts",
    "urls": ["https://www.tiktok.com/@tiktok"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("openclawai/tiktok-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 '{
  "mode": "user_posts",
  "urls": [
    "https://www.tiktok.com/@tiktok"
  ],
  "maxItems": 20
}' |
apify call openclawai/tiktok-scraper --silent --output-dataset

```

## MCP server setup

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