# TikTok Comments Scraper: Video Comments and Replies, No Login (`bardach_technologies/tiktok-comments-scraper`) Actor

Scrape public TikTok video comments from a list of video links, no login: text, date, likes, reply count, commenter handle, replies, pinned and liked-by-creator flags, language. Only-new mode. Not private data, no profiles. USD 0.35 per 1,000 comments.

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

## Pricing

from $0.35 / 1,000 comment delivereds

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 Comments Scraper: Video Comments and Replies, No Login

Scrape the public comments of TikTok videos from a list of video links, without a TikTok account. For each link you get the
comments a logged-out visitor can load: text, date, like count, reply count, the commenter's public handle and display name,
optional replies, pinned and liked-by-creator flags and the comment language. Export to JSON, CSV or Excel or call it from the API.

**What it reads:** only public data that the logged-out site itself serves: the public comment list and reply list requests of a
video page, and the video page itself when a list comes back empty (to tell "video not found", "comments off" and "no comments
yet" apart). No login, no cookies from any account, no request signing, no CAPTCHA solving, no challenge bypass.

### How it works

The Actor sends plain HTTP requests, one at a time, to the same JSON addresses the TikTok web page itself loads its comments
from (`/api/comment/list/` and `/api/comment/list/reply/` on www.tiktok.com). Each request carries the query parameter
`aid=1988`, which is the number TikTok's own web app uses for itself on those addresses, and a plain tool User-Agent (it names no
browser) with `Accept-Language: en-US`. Nothing else is sent: no cookies (a fresh connection for every request,
nothing kept), no device ids, no signature or token parameters, no browser is run. If TikTok answers with a check page, a
refusal (403, 429) or an empty answer, the video is reported as `blocked` after one request: a refusal or check page is
never retried. Only a network error or a plain 5xx server answer is retried (at most 3 requests in all).

The site's comment list has two quirks the Actor handles. It sometimes says "no more comments" long before the end (measured: at
comment 400 of a video with more than 17,000), so the Actor reads on past that signal until its maximum is reached, three pages
in a row bring nothing new, or the end signal comes at or after the total the site reports. And it serves only about 39 of every
50 places in its list (the others are not served on this route), so a full read delivers roughly three quarters of the
count the video shows. A video whose list ends before your maximum and before the site's own count gets status `partial` with
both numbers in its status row, never a plain `ok`. Comments the site repeats are delivered once.

### What you get

One row per comment or reply (`recordType: comment`) and one free status row per video (`recordType: videoStatus`).

| Field | Meaning |
|---|---|
| `videoUrl`, `videoId` | the video the comment belongs to |
| `commentId`, `text`, `createdAt`, `likeCount`, `replyCount` | the comment as shown publicly (`createdAt` in UTC) |
| `authorHandle`, `authorName` | the commenter's public user name and display name as shown |
| `isReply`, `parentCommentId`, `replyToCommentId` | thread position of a reply |
| `isPinned`, `likedByCreator`, `language` | flags and language code when the site shows them |
| `position` | place in the site's order for the video (replies: place in the thread) |
| `status`, `scrapedAt` | `ok` for every comment row; the time the row was made |

Status values of a video: `ok`, `partial` (cut by your maximum charge, by a block part-way, or the site's list ended before
both your maximum and the count the site reports: the status row then gives `commentsDelivered` and `commentsReportedBySite`), `commentsOff`, `notFound`,
`blocked`, `failed`, `notTried` (the site blocked the videos before it, so it was not asked again), `notStarted` (maximum charge
reached). Only comment rows with status `ok` are charged.

Example row (synthetic):

```json
{"recordType": "comment", "status": "ok", "videoUrl": "https://www.tiktok.com/@example.creator/video/7400000000000000001", "videoId": "7400000000000000001", "commentId": "7500000000000000001", "text": "Love this, write to [e-mail removed]", "createdAt": "2026-11-17T18:30:00Z", "likeCount": 12, "replyCount": 2, "authorHandle": "example.fan", "authorName": "Example Fan", "isReply": false, "parentCommentId": null, "replyToCommentId": null, "isPinned": false, "likedByCreator": false, "language": "en", "position": 1, "scrapedAt": "2026-11-18T12:00:00Z"}
```

### Input

- **Video links**: up to 500 full links (`https://www.tiktok.com/@name/video/123...`, photo posts too). Short links (vm.tiktok.com) are refused: open them once and paste the full address.
- **Maximum comments per video**: top-level comments read per video (default 100, up to 20,000), in the site's order. Measured on 18.11.2026: 1,928 comments of one large video in one run with no end reached; deeper than about 2,000 in one run is not measured yet. The site's list is not sorted by date, so this is the first N of what it shows, not the newest N.
- **Include replies** (off by default) and **maximum replies per comment** (default 20): replies come on top of the comment limit and follow their comment in the output.
- **Only new since the last run**: remembers the delivered comment ids per video in a named key-value store (up to 100,000 ids per video) and delivers only comments not delivered before. The comment limit then counts the comments read, not only the new ones. The first run delivers everything up to your limit.
- **Pause between requests**: 1 to 30 seconds, default 1. The Actor never sends more than 1 request per second to the site.
- **Proxy**: default none (requests go straight from the Actor's address). Choose a proxy only if the site blocks that address. Accepted: Apify's datacentre proxy (group BUYPROXIES94952, also what "automatic" means here) or your own public proxy addresses (private, internal and Apify proxy addresses are refused). Residential, unblocker, search and other groups are refused with a message.

Leave the video list empty and the run does nothing and costs only the start fee. The prefilled example reads 20 comments of one public video and finishes in well under a minute.

### Privacy

No e-mail address or phone number is ever a field. E-mail addresses and phone numbers that appear inside a comment's text or a display name are replaced by `[e-mail removed]` and `[phone removed]` (also written forms such as `name (at) host (dot) com`, numbers like `0170/1234567`, digits in other scripts, e-mail written one letter at a time such as `j a n e @ g m a i l . c o m`, and e-mail in non-Latin letters), and a first name signed right next to one by `[name removed]`. Counts, ids, dates and ISBNs stay as written. Commenter profiles are not read; there are no avatars, no follower data, no user ids.

### What it does not do

No login, private videos or private accounts, comments you can only see when signed in, comment search, profile or hashtag scraping, video downloads, posting or liking. If TikTok answers with a check page, a refusal or an empty answer the video gets status `blocked` and costs nothing; the Actor does not try to get around it.

### Speed and limits

It sends one request at a time and waits at least one second after each answer before the next, so the site never gets more than one request per second. Measured from a Mac on 18.11.2026 on one large video: 50 requests, 1,928 comments (about 39 per request), 86 seconds, so 1,000 comments take about 45 seconds in the best case (large video, full pages) and about 90 seconds on a mid-size video; 285 rows with replies took 93 seconds on Apify. Replies you ask for add one request per 20 replies of a comment. Each answer is about 17 KB compressed. Depth: the Actor reads about 75 % of the comments the site counts (the site serves fewer comments than it counts), and reading deeper than about 2,000 comments in one run has not been measured.

### Honest status of the tests

- **Measured success from a Mac on 18.11.2026:** an independent check read 7 of 7 real public videos (all fields of 20 rows compared by hand: 0 differences) and reported 1 made-up video as `notFound`, with 0 blocks in about 75 requests; the long-list check after the paging fix answered 50 of 50 requests (1,928 comments, 0 duplicates, 0 blocks).
- **Measured on Apify (second check, 18.11.2026):** 3 of 3 runs on Apify's own address with no proxy (the default) read 4 of 4 real videos with 0 blocks; cost about USD 0.005 per 1,000 rows delivered, far below the 80 % of the price that remains after Apify's share. Blocked videos are reported and are free. If direct access is blocked for you later, select Apify's datacentre proxy in the input. Not measured: runs longer than 2 minutes, depth beyond about 2,000 comments per run, the datacentre route.
- **Counts:** the site's comment count includes replies. A video whose top-level comments were all read shows status `ok` with a note that explains the difference; `partial` means the site stopped serving comments before the count (top-level plus the replies counted on them) was reached.
- The wording of "comments off" on the real site was not seen yet; the Actor reads it from the video page's own comment setting (see the test notes).

### Pricing

Pay per event: USD 0.35 per 1,000 comment or reply rows delivered (USD 0.00035 each), plus a start event of USD 0.00005 per run. Status rows, blocked videos and requests that deliver nothing are free. A comment is charged once; a restarted run does not write or charge a row twice. Set the run's maximum charge to cap the cost: the run stops exactly there and says so.

# Actor input Schema

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

Full video or photo-post links, one per line (https://www.tiktok.com/@name/video/1234567890123456789). Up to 500 per run. Short links (vm.tiktok.com) are not accepted: open them once and paste the full address. Default: empty.

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

How many top-level comments to read per video, in the order the site lists them (1 to 20,000, default 100). Measured 18.11.2026: 1,928 comments of one large video in one run (50 requests, 86 seconds) with no end reached; the site serves about 39 of every 50 places in its list, so expect roughly three quarters of the count the video shows. Deeper than about 2,000 per run is not yet measured in one run. Replies come on top of this number when you switch them on. In only-new mode this limit counts the comments read, not only the new ones.

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

Default off. On: the replies of every comment that has some are read too (one more request per 20 replies) and delivered right after their comment, each as its own charged row.

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

Only used when replies are on: at most this many replies per comment (0 to 500, default 20).

## `onlyNewSinceLastRun` (type: `boolean`):

Default off. On: the ids of delivered comments are remembered per video in a named key-value store (see the state store name) and later runs deliver only comments not delivered before. The first run delivers everything up to your limit. At most 100,000 ids are kept per video.

## `stateStoreName` (type: `string`):

Name of the key-value store that remembers delivered comment ids for only-new mode. Use a different name for a separate watch list. Letters, digits and dashes.

## `requestDelaySeconds` (type: `number`):

Minimum pause after the site's answer before the next request is sent (counted from the end of the previous answer, so the real gap is never shorter), 1 to 30 seconds. Default 1: the Actor sends at most 1 request per second to the site. Retries wait 2, 4, ... seconds (or what the site asks).

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

Default: no proxy, requests go directly from the Actor's own address. Only Apify's datacentre proxy (group BUYPROXIES94952, chosen automatically when you switch the Apify proxy on) or your own public proxy addresses are accepted (private, internal and Apify proxy addresses are refused); residential, unblocker, search and other groups are refused. Select a proxy only if the site blocks the direct address (blocked videos show status blocked and cost nothing). Each comment page is about 17 KB per 39 comments.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173"
  ],
  "maxCommentsPerVideo": 20,
  "includeReplies": false,
  "maxRepliesPerComment": 20,
  "onlyNewSinceLastRun": false,
  "stateStoreName": "tiktok-comments-seen",
  "requestDelaySeconds": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per comment or reply (recordType comment, status ok, charged) and one free status row per video (recordType videoStatus).

## `summary` (type: `string`):

Rows per video, which videos were blocked, not found, comments-off, partial or failed and why, whether the run stopped at the maximum charge, requests and data volume.

# 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/@scout2015/video/6718335390845095173"
    ],
    "maxCommentsPerVideo": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bardach_technologies/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/@scout2015/video/6718335390845095173"],
    "maxCommentsPerVideo": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

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

```

## MCP server setup

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