# TikTok Comments Scraper (`automly/tiktok-comments-scraper`) Actor

Scrape TikTok comments and replies from any video or from a creator's latest videos at about 13,000 comments per minute. Built-in only-new-comments monitoring, date filters and a real-time API. Likes, pinned and creator-liked flags, language and author. No login.

- **URL**: https://apify.com/automly/tiktok-comments-scraper.md
- **Developed by:** [Automly](https://apify.com/automly) (community)
- **Categories:** Social media
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.27 / 1,000 comments

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 Comments Scraper

### What is TikTok Comments Scraper?

**TikTok Comments Scraper** is a tool that lets you **scrape comments and replies from TikTok videos**: comment text, likes, reply count, publish date, author username and display name, pinned and creator-liked flags, and comment language. Paste video links or a creator's username, click **Start**, and download the comments as Excel, CSV or JSON.

⚡ **Speed:** about 13,000 comments per minute (10,000 comments in 53 seconds in our test)
🔔 **Monitoring:** get only the comments that are new since your last run
👤 **Creators:** enter a username and get comments from their latest videos
🔓 **No login:** no TikTok account, cookies or API key needed

### What can TikTok Comments Scraper do?

- Scrape all comments from any public TikTok video, top comments first
- Get **replies** too, each linked to the comment it answers
- Scrape comments from a **creator's latest videos**, with a date range for the videos
- Keep only comments published **after a date you choose**
- **Track new comments** on a schedule, without getting the same comments twice
- Get results in seconds over the **real-time API**, without starting a run
- Export to Excel, CSV, JSON, HTML or XML, or send them to Google Sheets, Make, Zapier and more

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

| | | |
|---|---|---|
| 💬 Comment text | ❤️ Number of likes | 🔁 Number of replies |
| 📅 Publish date and time | 📌 Pinned by the creator | ⭐ Liked by the creator |
| 👤 Author username | 🏷️ Author display name | 🆔 Author ID |
| 🌐 Comment language | ↩️ Parent comment (for replies) | 🎬 Video URL and ID |

### How to scrape TikTok comments

1. [Create a free Apify account](https://console.apify.com/sign-up) (no credit card needed).
2. Open **TikTok Comments Scraper**.
3. Paste one or more **video URLs**, or add **creators' usernames**.
4. Choose how many comments you want per video and whether to include replies, then click **Start**.
5. When the run finishes, download your comments as Excel, CSV, JSON, HTML or XML.

### Why use this TikTok comments scraper?

It is fast, and it does things the others don't. We compared it with the 8 most-used TikTok comment scrapers in the Apify Store (September 2026), based on their own descriptions and settings:

| Feature | TikTok Comments Scraper | The 8 most-used alternatives |
|---|---|---|
| Only new comments since your last run | ✅ | None of 8 |
| Filter comments by publish date | ✅ | None of 8 |
| Real-time API, no run to start | ✅ | None of 8 |
| Filter a creator's videos by date (from and to) | ✅ | 1 of 8 |
| Comments from a creator's latest videos | ✅ | 2 of 8 |
| Replies as separate rows, linked to their comment | ✅ | 4 of 8 |
| Pinned, creator-liked, language and display name on every comment | ✅ | 3 of 8 |

### ⬇️ Input

Add video links, creators, or both. Video links can be full links (`https://www.tiktok.com/@user/video/123...`), short share links (`https://vm.tiktok.com/...`) or just the video ID. Creators can be a username, `@username` or a profile link.

| Setting | What it does |
|---|---|
| Video URLs | The videos to scrape |
| Creators | Scrape comments from these creators' latest videos |
| Videos per creator | How many of each creator's latest videos to scrape (default 10) |
| Videos published after / before | Only creators' videos from this date range |
| Max comments per video | How many top-level comments to get per video (default 300) |
| Include replies | Also get the replies to each comment |
| Max replies per comment | How many replies to get per comment (default 20) |
| Include pinned comments | Include comments the creator pinned (on by default) |
| Only new comments | Only output comments that are new since your last run |
| Comments published since | Only output comments from this date on |
| Language | Language for the results (default English) |

Example: comments and replies from two videos.

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://vm.tiktok.com/ZMabcDEF/"
  ],
  "maxCommentsPerVideo": 500,
  "includeReplies": true,
  "maxRepliesPerComment": 10
}
```

Example: comments from a creator's videos posted in August 2026.

```json
{
  "profiles": ["khaby.lame"],
  "resultsPerProfile": 20,
  "videosPublishedAfter": "2026-08-01",
  "videosPublishedBefore": "2026-09-01",
  "maxCommentsPerVideo": 200
}
```

### ⬆️ Output

You get one row per comment or reply. You can view them as a table in Apify Console or download them as Excel, CSV, JSON, HTML or XML. A reply has `parentCommentId` set to the comment it answers; for top-level comments it is empty.

```json
{
  "videoId": "7106594312292453675",
  "videoUrl": "https://www.tiktok.com/@tiktok/video/7106594312292453675",
  "commentId": "7109796090086228742",
  "parentCommentId": "7106612523860869894",
  "authorUsername": "mrs.pink.500",
  "authorNickname": "Mrs Pink 500",
  "authorId": "6864946820616717318",
  "text": "I Just Said that I found only 13 😂",
  "likeCount": 0,
  "replyCount": 0,
  "publishedAt": "2022-06-16T11:21:29Z",
  "isPinned": false,
  "isAuthorLiked": false,
  "language": "en",
  "fetchedAt": "2026-09-24T11:08:25Z"
}
```

Each run also saves a short report that lists how many videos and comments it covered, and any video it could not scrape with the reason (for example, a deleted or private video).

### How can I use TikTok comments data?

- **Audience research:** see what viewers love, ask for or complain about on your videos or a competitor's
- **Brand monitoring:** track what people say about your brand on creators' videos
- **Influencer vetting:** check comment quality and real engagement before you work with a creator
- **Sentiment analysis and AI:** build comment datasets for sentiment, topic or trend analysis
- **Community management:** find the most-liked comments and the ones the creator pinned or liked

### How to monitor new TikTok comments

1. Turn on **Only new comments**.
2. Set **Max comments per video** high enough to cover the whole thread.
3. [Schedule the actor](https://docs.apify.com/platform/schedules) to run every day or every hour.

The first run gives you every comment. Each later run gives you only the comments posted since, ready to send to Slack, email or a spreadsheet with an [integration](https://apify.com/integrations).

### Real-time TikTok comments API

Need comments right away inside your app? Call the actor's API and get the comments back in the response, without starting a run:

```
GET https://<your-actor-standby-url>/comments?video=https://www.tiktok.com/@scout2015/video/6718335390845095173&limit=100
GET https://<your-actor-standby-url>/profile?username=khaby.lame&videos=5&limit=100
Authorization: Bearer <YOUR_APIFY_TOKEN>
```

You can also run the actor from your own code with the [Apify API](https://docs.apify.com/api/v2) or the Python and JavaScript clients:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("automly/tiktok-comments-scraper").call(run_input={
    "videoUrls": ["https://www.tiktok.com/@scout2015/video/6718335390845095173"],
    "maxCommentsPerVideo": 1000,
})
for comment in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(comment["authorUsername"], comment["text"])
```

### ❓FAQ

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

You pay only for the comments you get, per 1,000 comments. See the **Pricing** tab for the current price. Every Apify account gets $5 of free usage each month, so you can try it at no cost.

#### How many comments can I scrape from one TikTok video?

As many as the video shows. Videos with tens of thousands of comments work fine. Set **Max comments per video** to the number you need.

#### Why do I get fewer comments than the number shown on the video?

The number TikTok shows on a video includes replies. Turn on **Include replies** to get those too.

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

Yes. Turn on **Include replies**. Each reply is its own row, linked to its comment by `parentCommentId`.

#### Do I need a TikTok account?

No. You don't need a TikTok account, cookies or an API key.

#### Can I scrape comments from private videos?

No. Only public videos can be scraped. Private, deleted or mistyped videos are skipped and listed in the run report.

#### Is it legal to scrape TikTok comments?

This scraper only collects comments that people chose to post publicly. It does not collect private data such as email addresses or phone numbers. Comments can still contain personal data, which may be protected by laws such as GDPR, so only scrape it for a legitimate reason and ask a lawyer if you are unsure. You can read more in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

TikTok Comments Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by TikTok.

#### Something isn't working. What should I do?

Open the **Issues** tab and tell us the video link and what you expected. We usually reply within a day.

# Actor input Schema

## `videoUrls` (type: `array`):

TikTok video URLs to scrape comments from. Supports https://www.tiktok.com/@user/video/123..., short links (vm.tiktok.com/..., vt.tiktok.com/...), and bare numeric video IDs. Optional if you add creators below.

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

TikTok usernames or profile URLs (scout2015, @scout2015 or https://www.tiktok.com/@scout2015). The actor scrapes comments from each creator's latest videos, pinned videos included.

## `resultsPerProfile` (type: `integer`):

How many of each creator's latest videos to scrape comments from (after the date filters below).

## `videosPublishedAfter` (type: `string`):

Only creators' videos published on or after this date, e.g. 2026-08-01 (UTC if no offset). Does not apply to Video URLs.

## `videosPublishedBefore` (type: `string`):

Only creators' videos published before this date, e.g. 2026-09-01 (UTC if no offset). Does not apply to Video URLs.

## `maxCommentsPerVideo` (type: `integer`):

Maximum number of top-level comments checked per video. Replies are counted separately (see Max replies per comment).

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

Also scrape the replies under each comment. Each reply is its own row with parentCommentId set.

## `maxRepliesPerComment` (type: `integer`):

Maximum replies scraped under each comment when Include replies is on.

## `includePinned` (type: `boolean`):

Include comments that the video author has pinned to the top of the thread.

## `onlyNewComments` (type: `boolean`):

Output only comments that are new since your last run with this option on. The first run on a video outputs everything. Schedule the actor with this on to track new comments.

## `commentsSince` (type: `string`):

Only output comments published on or after this date, e.g. 2026-09-01 or 2026-09-01T12:00:00Z (UTC if no offset). Older comments are skipped but still count towards Max comments per video.

## `language` (type: `string`):

Two-letter ISO language code used to negotiate TikTok's Accept-Language header (e.g. en, es, fr, de, ja).

## `proxyConfiguration` (type: `object`):

Proxy settings. The default works for most runs.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@tiktok/video/7106594312292453675"
  ],
  "resultsPerProfile": 10,
  "maxCommentsPerVideo": 300,
  "includeReplies": false,
  "maxRepliesPerComment": 20,
  "includePinned": true,
  "onlyNewComments": false,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `comments` (type: `string`):

No description

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

No description

## `report` (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 = {
    "videoUrls": [
        "https://www.tiktok.com/@tiktok/video/7106594312292453675"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/tiktok-comments-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 = {
    "videoUrls": ["https://www.tiktok.com/@tiktok/video/7106594312292453675"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automly/tiktok-comments-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 '{
  "videoUrls": [
    "https://www.tiktok.com/@tiktok/video/7106594312292453675"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automly/tiktok-comments-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automly/tiktok-comments-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/fimaALmtbXbfPEg0Z/builds/9iWQusNTHHv0DwD8o/openapi.json
