# TikTok Comments Scraper, Text & Replies API, $0.15/1K, No Login (`hhonlineventures/tiktok-comments`) Actor

TikTok Comments Scraper, Text & Replies API: paste TikTok video URLs, get each comment's text, time, likes, reply count, language and author-liked or pinned flags, with replies on request. No commenter identity. Schedule it to monitor new comments. Pay per comment.

- **URL**: https://apify.com/hhonlineventures/tiktok-comments.md
- **Developed by:** [HH Online Ventures](https://apify.com/hhonlineventures) (community)
- **Categories:** Social media, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.12 / 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, Text & Replies API

**TikTok Comments Scraper, Text & Replies API**: paste TikTok video URLs, get each comment's text, time, likes, reply count, language and author-liked or pinned flags, with replies on request. No commenter identity. Schedule it to monitor new comments. Pay per comment.

### What data does TikTok Comments Scraper, Text & Replies API return?

Each run returns one dataset item per result with these fields:

| Field | Type | Description |
|---|---|---|
| `videoUrl` | string | The video's canonical page, https://www.tiktok.com/@handle/video/ID (short links resolved). On an error row, the entry that was tried. |
| `videoId` | string or null | TikTok's numeric video ID, as a string (it is too long for a JSON number). Null on an error row when the entry held no ID. |
| `commentId` | string | TikTok's numeric comment ID, as a string. Unique within a video; use it to de-duplicate across runs. |
| `parentCommentId` | string or null | On a reply, the ID of the comment it answers. Null on a top-level comment. |
| `text` | string | The comment as written, emojis and @mentions included. |
| `createdAt` | string or null | When the comment was posted (ISO 8601, UTC). |
| `likes` | integer or null | Like (heart) count of the comment at the time of the run. |
| `replyCount` | integer or null | How many replies TikTok counts for a top-level comment. Null on a reply row. |
| `likedByAuthor` | boolean or null | True when the video's creator liked the comment. |
| `pinnedByAuthor` | boolean or null | True when the video's creator pinned the comment. |
| `language` | string or null | The comment language code TikTok detected (for example en or es); un means TikTok did not detect one. |
| `position` | integer | Order of the row within its video in this run, from 1, in the order TikTok listed the comments (replies follow the comment they answer). |
| `fetchedAt` | string | When this row was collected (ISO 8601, UTC). |
| `error` | string or null | Null on a comment row. On a free error row, why no comments were delivered for this entry or video. |

### Sample output

Real output from the prefilled example input (first 3 of 10 results):

```json
[
  {
    "videoUrl": "https://www.tiktok.com/@billnye/video/6854717870488702213",
    "videoId": "6854717870488702213",
    "commentId": "6854718534766133254",
    "parentCommentId": null,
    "text": "After all these years he’s still teaching us😔",
    "createdAt": "2020-07-29T02:08:50.000Z",
    "likes": 127192,
    "replyCount": 158,
    "likedByAuthor": false,
    "pinnedByAuthor": false,
    "language": "un",
    "position": 1,
    "fetchedAt": "2026-11-15T12:00:00.000Z",
    "error": null
  },
  {
    "videoUrl": "https://www.tiktok.com/@billnye/video/6854717870488702213",
    "videoId": "6854717870488702213",
    "commentId": "6854732839171833862",
    "parentCommentId": null,
    "text": "Them sound effects bring back memories 😂",
    "createdAt": "2020-07-29T03:04:21.000Z",
    "likes": 92843,
    "replyCount": 83,
    "likedByAuthor": false,
    "pinnedByAuthor": false,
    "language": "un",
    "position": 2,
    "fetchedAt": "2026-11-15T12:00:00.000Z",
    "error": null
  },
  {
    "videoUrl": "https://www.tiktok.com/@billnye/video/6854717870488702213",
    "videoId": "6854717870488702213",
    "commentId": "6856177389362741253",
    "parentCommentId": null,
    "text": "Sound affects made me feel like a kid again",
    "createdAt": "2020-08-02T00:30:00.000Z",
    "likes": 20813,
    "replyCount": 28,
    "likedByAuthor": false,
    "pinnedByAuthor": false,
    "language": "un",
    "position": 3,
    "fetchedAt": "2026-11-15T12:00:00.000Z",
    "error": null
  }
]
```

### Use cases

- **Sentiment and product feedback:** collect what viewers write under your videos, a competitor's videos or a product launch, and feed the text to a sentiment model or a spreadsheet to see what people like, ask and complain about.
- **Campaign monitoring:** paste the video links of a campaign or an influencer collaboration and see the comments, their likes and the creator's replies (liked and pinned flags), run after run.
- **Content and audience research:** read which comments get the most likes and replies, which languages the audience writes in, and which questions come back across videos.
- **AI agents and automations:** a clean, typed dataset of comment text that an agent or a Make, Zapier or n8n flow can read directly, one row per comment.

### Input examples

The prefilled example input. It runs in seconds and returns a handful of results:

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@billnye/video/6854717870488702213"
  ],
  "maxCommentsPerVideo": 10,
  "maxItems": 10
}
```

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `videoUrls` | array | yes |  | TikTok video links, one per line (bulk paste works), in the form https://www.tiktok.com/@handle/video/1234567890. Short share links (vm.tiktok.com, vt.tiktok.com) are followed through their redirect; one that does not lead to a video page gets a free error row. Query strings are ignored and duplicates are read once. Up to 1,000 per run. |
| `maxCommentsPerVideo` | integer | no | `100` | Stop reading a video after this many comment rows (replies included when they are turned on). Comments come in the order TikTok lists them. |
| `includeReplies` | boolean | no | `false` | Also list the replies to each comment, right after the comment they answer, with parentCommentId set. Replies count toward the maximum per video and are charged like comments. |
| `maxItems` | integer | no |  | Stop the whole run after this many comment rows are in your dataset. You pay per comment, so this also caps the cost of a run. Leave empty for no total limit. |
| `maxRetries` | integer | no | `3` | How many more times a request that arrives without comment data is sent again, each time through a new proxy IP, before the video gets a free error row. |

### How much does TikTok Comments Scraper, Text & Replies API cost?

This actor uses pay-per-event pricing: you pay only for results you get, plus a small fee per run.
Higher Apify plans get a lower price per result.

| Event | Free plan | Bronze plan | Silver plan | Gold plan |
|---|---|---|---|---|
| Comment (per 1,000) | $0.15 | $0.15 | $0.14 | $0.12 |
| Actor start (per run) | $0.00039 | $0.00039 | $0.00039 | $0.00039 |

**1,000 results cost $0.15039 on the Bronze plan.** In one run, 1,000 results cost $0.15039 on the Free plan, $0.15039 on the Bronze plan, $0.14039 on the Silver plan and $0.12039 on the Gold plan, including the actor start.

Comment: One TikTok comment or reply row in your dataset. Rows for URLs that deliver no comments (not a video link, deleted or private videos, comments turned off, no data after retries) are free. Actor start: Charged once when a run starts (Apify counts one start per GB of memory).
You can set a maximum cost per run in the run options; the actor stops cleanly when it is reached.

### Schedule and monitor

**Monitor new comments on a video list:** put the video URLs of a campaign in one task and schedule it daily. Each run adds a dataset with the comments TikTok lists at that time, their likes and reply counts and a `fetchedAt` time; compare `commentId` values between runs to find the new comments, and `likes` to see which ones grow.

Run TikTok Comments Scraper, Text & Replies API on a schedule to keep your data fresh and to monitor what changed since the last run:

1. Run the actor once with your input, then save that input as a task in Apify Console.
2. Open **Schedules** in Apify Console, click **Create new**, choose the task and set how often it runs with a cron expression, for example `0 6 * * 1` for every Monday at 06:00. Schedules support time zones and daylight saving time.
3. Every scheduled run writes a new dataset. Compare it with the previous run, or send it onward with a webhook or one of the integrations below.

### Integrations and API

TikTok Comments Scraper, Text & Replies API runs on the Apify platform, so its results can go wherever Apify connects:

- **API:** start a run and read the results over HTTP from any language (examples below).
- **Make, Zapier and n8n:** Apify has official integrations for all three. Run the actor from a Make scenario, a Zap or an n8n workflow and pass each result to the next step, such as a spreadsheet, a CRM or a chat message.
- **Webhooks:** have Apify call your own URL when a run succeeds or fails, for example to load the new dataset into your system.
- **Schedules:** run it automatically at the times you choose (see Schedule and monitor above).
- **Downloads:** export any run's dataset as JSON, CSV, Excel, XML, HTML table, RSS or JSONL.

#### Run it with the API

One request starts a run and returns its dataset items, for runs that finish within 300 seconds. For bigger runs, start the run, then read its dataset when it finishes.

```bash
curl -X POST "https://api.apify.com/v2/actors/hhonlineventures~tiktok-comments/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"videoUrls": ["https://www.tiktok.com/@billnye/video/6854717870488702213"], "maxCommentsPerVideo": 10, "maxItems": 10}'
```

JavaScript, with `npm install apify-client`:

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('hhonlineventures/tiktok-comments').call({"videoUrls": ["https://www.tiktok.com/@billnye/video/6854717870488702213"], "maxCommentsPerVideo": 10, "maxItems": 10});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

Python, with `pip install apify-client`:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("hhonlineventures/tiktok-comments").call(run_input={'videoUrls': ['https://www.tiktok.com/@billnye/video/6854717870488702213'], 'maxCommentsPerVideo': 10, 'maxItems': 10})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

Your API token is in Apify Console under API & Integrations.

### Use with AI agents (MCP)

AI agents can run TikTok Comments Scraper, Text & Replies API as a tool through the Apify MCP server (`https://mcp.apify.com`). The agent reads the input schema and the output fields above, fills in the input and gets the dataset back, with no glue code.

To give an agent exactly this actor, add the server to your MCP client with the actor in the `tools` parameter:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=hhonlineventures/tiktok-comments"
    }
  }
}
```

On first connection your browser opens so you can sign in to Apify and approve access. A client that cannot do that can send an `Authorization: Bearer <YOUR_APIFY_TOKEN>` header instead, and a client that runs only local servers can start `npx -y @apify/actors-mcp-server` with `APIFY_TOKEN` set.

Then ask in plain language, for example:

> Run TikTok Comments Scraper, Text & Replies API with this input: `{"videoUrls": ["https://www.tiktok.com/@billnye/video/6854717870488702213"], "maxCommentsPerVideo": 10, "maxItems": 10}`. Show me the results as a table.

The server also has `search-actors`, `fetch-actor-details` and `call-actor` tools, which let an agent find this actor in Apify Store, read its details and run it. Agent runs are charged the same pay-per-event prices as any other run.

### Limits

- You bring the video URLs. The actor reads the comments of each video; it does not search TikTok, list a profile's videos or browse hashtags.
- **No commenter identity.** Rows never carry the commenter's handle, display name, avatar, profile link, ids or any age estimate. The comment text is output as written, so it can contain @mentions the commenter typed.
- TikTok does not list every comment it counts. In our measurements (November 2026) the list held between about two thirds and nine tenths of the comment count shown on the video: 41 top-level comments of 62 counted on one video, 139 comments and replies of 179 on another, 400 of 441 on a third. Hidden, filtered and deleted comments are not listed.
- Comments come in the order TikTok lists them (its own ranking, not newest first). Deeper pages of a large video can repeat or shift between runs; the actor drops repeats by comment ID within a run.
- Counts (likes, replies) are TikTok's at the time of the run.
- Deleted, private and region-blocked videos and videos with comments turned off have no comments to read. They get a free row with an `error` message and are not charged.
- The actor reads the same comment list the TikTok website shows, without logging in. TikTok can change or close that list at any time; if it does, runs fail with a clear message instead of returning wrong data, and the actor needs a repair.
- Up to 1,000 video URLs per run, read politely at about one request per second.

#### What this actor is not

- **Not a profile or follower scraper:** no data about the people who comment.
- **Not a video stats tool:** for views, likes, shares and captions of the videos themselves, use a video details actor.
- **Not a search tool:** no keyword, hashtag or profile search. You need the video URLs.

### Search terms buyers use

- TikTok comments scraper
- TikTok comment scraper
- TikTok comments API
- TikTok comments extractor
- TikTok comment export
- scrape TikTok comments
- TikTok replies scraper
- TikTok comment sentiment analysis
- download TikTok comments to CSV
- TikTok social listening

### FAQ

#### What do I need to run it?

Only TikTok video URLs and an Apify account. No TikTok account, login, cookies or API key. Paste the links one per line, or send them as the `videoUrls` array through the API.

#### Which URL formats work?

Full video links like `https://www.tiktok.com/@billnye/video/6854717870488702213`, with or without `www.`, a trailing slash or tracking parameters. Short share links (`vm.tiktok.com/...`, `vt.tiktok.com/...`) are followed through their redirect; if a short link does not lead to a video page, its row is free and says where it led. Profile, hashtag and search links are not video links and get a free error row.

#### How many comments do I get per video?

Up to `maxCommentsPerVideo` (100 by default), in the order TikTok lists them, until TikTok's list ends. Set it higher for big videos: the actor pages through the list 50 comments at a time. TikTok's list usually ends a little before the comment count shown on the video, because TikTok hides some comments.

#### Can I get the replies too?

Yes. Turn on `includeReplies` and each comment's replies follow it in the dataset, with `parentCommentId` set to the comment they answer. Replies count toward `maxCommentsPerVideo` and are charged like comments.

#### Why is there no username or profile of the commenter?

By design. This actor returns what was said, not who said it: comment text, time, likes, reply counts, language and the creator's liked and pinned flags. That is what sentiment, feedback and campaign analysis use, and it keeps personal data about the commenters out of your dataset.

#### What am I charged for?

One `comment` event per comment or reply row in your dataset, plus the actor start. URLs that deliver no comments (not a video link, deleted or private videos, comments turned off, or no data after the retries) are free, and so are duplicate URLs, which are read once.

#### What happens if I set a maximum cost per run?

The actor reads only as many comments as your limit pays for, then stops cleanly. Every comment in your dataset was charged once; nothing else was.

#### Is it legal to collect this data?

The actor reads only public comments, the same ones anyone can see on the video without logging in, and leaves out everything about the people who wrote them. You are responsible for how you use the data and for following TikTok's terms and the laws that apply to you.

# Actor input Schema

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

TikTok video links, one per line (bulk paste works), in the form https://www.tiktok.com/@handle/video/1234567890. Short share links (vm.tiktok.com, vt.tiktok.com) are followed through their redirect; one that does not lead to a video page gets a free error row. Query strings are ignored and duplicates are read once. Up to 1,000 per run.

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

Stop reading a video after this many comment rows (replies included when they are turned on). Comments come in the order TikTok lists them.

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

Also list the replies to each comment, right after the comment they answer, with parentCommentId set. Replies count toward the maximum per video and are charged like comments.

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

Stop the whole run after this many comment rows are in your dataset. You pay per comment, so this also caps the cost of a run. Leave empty for no total limit.

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

How many more times a request that arrives without comment data is sent again, each time through a new proxy IP, before the video gets a free error row.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@billnye/video/6854717870488702213"
  ],
  "maxCommentsPerVideo": 10,
  "includeReplies": false,
  "maxItems": 10,
  "maxRetries": 3
}
```

# Actor output Schema

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

All comment rows returned by this run.

# 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/@billnye/video/6854717870488702213"
    ],
    "maxCommentsPerVideo": 10,
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("hhonlineventures/tiktok-comments").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/@billnye/video/6854717870488702213"],
    "maxCommentsPerVideo": 10,
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("hhonlineventures/tiktok-comments").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/@billnye/video/6854717870488702213"
  ],
  "maxCommentsPerVideo": 10,
  "maxItems": 10
}' |
apify call hhonlineventures/tiktok-comments --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hhonlineventures/tiktok-comments"
        }
    }
}
```

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/bLC0bpJRS4YClcLG1/builds/30UREyQvPceu8GwHL/openapi.json
