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

\[$0.50/1K comments] Every public comment of any TikTok video: text, likes, replies, time, language, liked-by-creator, pinned, and the commenter's username and id. Optional replies. Filtered comments free. No login, no run fee.

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

## Pricing

from $0.35 / 1,000 comments

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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** collects **every public comment of any TikTok video** — **text, likes, number of replies, time, language, whether the creator liked or pinned it, and the commenter's username, display name and id**. Switch on one option and it adds the **replies** under each comment.

**$0.0005 per comment** — 50 cents per 1,000. No TikTok account, no cookies, no login, no start fee. Comments removed by your filters and videos that fail are free.

### What is TikTok Comments Scraper?

Comments are where a TikTok audience says what it thinks — about a product, a brand, a creator or a campaign. This Actor reads the same comment feed the TikTok website loads and turns it into clean rows, for sentiment analysis, community research, product feedback, giveaway picks or training data.

### What is in every row

| Field | Meaning |
|---|---|
| `text`, `likes`, `replyCount`, `createdAt`, `language` | The comment |
| `likedByCreator`, `pinned` | Signals from the video's creator |
| `authorUsername`, `authorNickname`, `authorId`, `authorProfileUrl`, `authorAvatarUrl` | Who wrote it |
| `type`, `parentCommentId` | `comment` or `reply`, and which comment a reply belongs to |
| `videoId`, `videoUrl` | The video |

### How much does it cost?

| Event | Price |
|---|---|
| Comment or reply | **$0.0005** |

- Comments below **Minimum likes** or older than **Comments newer than**: **$0**.
- Videos that fail or have comments turned off: **$0** (an error row says why).

#### Bulk export: what 50,000 rows actually cost

This Actor is built for bulk jobs — hundreds of inputs in one run, or a daily schedule. There is **no
fee per run, no fee per page and no proxy charge**: you pay for the rows you keep.

| Job | This Actor | Most-used Actor in this category |
|---|---|---|
| 50,000 comments across 100 videos | **$25** | $62.50 |
| 20 videos × 2,000 comments with replies | **$20** + replies | $50 + replies |

Checked on the Apify Store on 23 September 2026 against the Actor with the most monthly users in this category
($0.00125 per comment). Some Actors here ask less per row — this table compares against the one buyers actually use most.

### How to use it in three steps

1. Paste TikTok video URLs — one per line.
2. Set **Comments per video**, switch on **Add replies** if you need threads, set **Minimum likes** to keep only the top comments.
3. Press **Start**, then download JSON, CSV or Excel — or call the run from the API, n8n, Make, Zapier or an AI agent.

### ⬇️ Input

```json
{
  "videoUrls": ["https://www.tiktok.com/@nike/video/7688359466324004110"],
  "maxCommentsPerVideo": 1000,
  "includeReplies": true,
  "minLikes": 5
}
```

### ⬆️ Output

```json
{
  "type": "comment",
  "videoId": "7688359466324004110",
  "videoUrl": "https://www.tiktok.com/@nike/video/7688359466324004110",
  "commentId": "7688368759341990686",
  "text": "Is this narrated by Nick Offerman?",
  "likes": 315,
  "replyCount": 1,
  "createdAt": "2026-09-22T14:38:24.000Z",
  "language": "en",
  "likedByCreator": false,
  "pinned": false,
  "parentCommentId": null,
  "replyToReplyId": null,
  "authorUsername": "bishop832",
  "authorNickname": "user347789957172",
  "authorId": "6940738584266867717",
  "authorSecUid": "MS4wLjABAAAAaiHaGwY4Lmck09vRokGXQbw3fO5mY81mpucRtr1MfygezE3AYwV_sBLjakFw55Ph",
  "authorProfileUrl": "https://www.tiktok.com/@bishop832",
  "authorAvatarUrl": "https://p16-common-sign.tiktokcdn-us.com/musically-maliva-ob…",
  "imageUrls": [],
  "scrapedAt": "2026-09-23T12:43:42.913Z"
}
```

A reply:

```json
{
  "type": "reply",
  "commentId": "7688382381544571661",
  "parentCommentId": "7688368759341990686",
  "text": "Yes.",
  "likes": 148,
  "createdAt": "2026-09-22T15:31:38.000Z",
  "authorUsername": "nike",
  "authorNickname": "Nike"
}
```

### Use cases

#### Sentiment and product feedback

What people say under your videos and your competitors' — straight into a spreadsheet or an LLM.

#### Community and creator research

Who comments most, which comments the creator likes, what questions come up.

#### Giveaways

All comments of a giveaway video with usernames — pick winners fairly.

#### Training data

Short, real-language text with likes as a quality signal.

### Integrations

Every run is available through the Apify API, and the Actor works out of the box with n8n, Make, Zapier, Google Sheets, LangChain and the Apify MCP server.

### FAQ

**Do I need a TikTok account?** No. Nothing is logged in.

**Can I get all comments?** Everything TikTok shows publicly. The `total` TikTok reports includes replies and hidden comments, so the number of rows can be a bit lower.

**Does it work for photo posts?** Yes — paste the /photo/ link.

**Can I find commenters' e-mails?** No. You get the public username and id; our TikTok Influencer Scraper reads bios for business e-mails.

**Is this legal?** The Actor reads comments that anyone can see without logging in. Personal data (usernames) is subject to data protection law — use it responsibly.

# Actor input Schema

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

Video or photo post links (tiktok.com/@user/video/…, vm.tiktok.com short links) or bare video ids. Thousands per run.

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

Top-level comments, in TikTok's order. Set it high to take them all.

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

Also collect the replies under each comment (same price per reply).

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

Cap on replies per comment.

## `minLikes` (type: `integer`):

Skip comments with fewer likes. Skipped comments are not charged.

## `commentsNewerThan` (type: `string`):

Keep only comments posted on or after this date. Older ones are not charged.

## `concurrency` (type: `integer`):

How many videos to read at the same time.

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

Requests go to TikTok directly first; a refused request is retried on a fresh Apify datacenter address. Residential is never switched on by itself.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@nike/video/7688359466324004110"
  ],
  "maxCommentsPerVideo": 100,
  "includeReplies": false,
  "maxRepliesPerComment": 20,
  "minLikes": 0,
  "concurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per TikTok comment (and reply): text, likes, time, author.

# 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/@nike/video/7688359466324004110"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lergassy/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/@nike/video/7688359466324004110"],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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