# TikTok Comments Scraper (No Login Required) (`iron-crawler/tiktok-api-post-comments`) Actor

Bulk extract TikTok comments at lightning speed. Zero-config API pipeline exports viral post insights in JSON/CSV for instant social media analysis and sentiment tracking

- **URL**: https://apify.com/iron-crawler/tiktok-api-post-comments.md
- **Developed by:** [Iron Crawler](https://apify.com/iron-crawler) (community)
- **Categories:** Social media, Automation, Developer tools
- **Stats:** 21 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

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 (No Login Required)

### What does TikTok Comments Scraper (No Login Required) do?

This tool extracts comment data from TikTok videos without requiring authentication or login credentials. Built with a cookieless architecture, the scraper allows you to gather audience feedback, engagement metrics, and conversation threads from any public TikTok video using just the video ID. No account setup, no cookie management, no authentication barriers.

**Key Features:**

- Extract comments from any public TikTok video
- No login or authentication required
- Capture comment metadata including likes, replies, and timestamps
- Export data in JSON, CSV, or Excel formats
- Retrieve nested reply threads with parent-child relationships
- Track comment edit status and engagement metrics
- Fast, reliable extraction with no rate limit concerns

### Why scrape TikTok comments?

Social media analysts need to extract comments from viral posts to analyze audience sentiment, engagement trends, and content performance insights. Comment data reveals what resonates with audiences, identifies pain points, and uncovers emerging trends that aren't visible from view counts alone. This intelligence drives content strategy, competitive analysis, and brand monitoring efforts.

**Primary Use Cases:**

- **Sentiment Analysis:** Gauge audience reactions to products, campaigns, or trending topics by analyzing comment tone and engagement patterns
- **Competitive Intelligence:** Monitor competitor content performance and audience feedback to identify gaps and opportunities in your market
- **Social Listening:** Track brand mentions, customer complaints, and feature requests across viral content to inform product development and customer service

### How to scrape TikTok comments using this tool?

**Step 1: Find the TikTok Video ID**

Navigate to the TikTok video you want to analyze. The video ID is the numeric string in the URL (e.g., `https://www.tiktok.com/@username/video/7306132438047116586`). Copy this ID.

**Step 2: Configure the input parameters**

Paste the video ID into the `videoId` field. The scraper will automatically retrieve all available comments. Note: **1 video ≈ 100-500 comments** depending on the post's popularity and engagement level.

**Step 3: Run and Download**

Start the scraper and wait for it to complete. Once finished, download your data in JSON, CSV, or Excel format for analysis.

### What are the input parameters?

| Field | Type | Description |
|-------|------|-------------|
| `videoId` | String | The unique numeric identifier for the TikTok video (e.g., `7306132438047116586`). Found in the video URL after `/video/`. |

### What data can you extract?

You can download the following data in JSON, CSV, or Excel formats:

```json
{
  ""comment_id"": ""c_789456123"",
  ""user_id"": ""u_234567"",
  ""comment_text"": ""This is exactly what I was looking for! Thanks for sharing 🙌"",
  ""timestamp"": ""2025-12-18T14:30:22Z"",
  ""like_count"": 47,
  ""is_edited"": false,
  ""reply_count"": 3,
  ""parent_comment_id"": null
}
```

**Extracted Fields:**

- `comment_id`: Unique identifier for each comment
- `user_id`: TikTok user identifier of the commenter
- `comment_text`: Full text content of the comment including emojis
- `timestamp`: ISO 8601 formatted date and time when the comment was posted
- `like_count`: Number of likes the comment has received
- `is_edited`: Boolean flag indicating if the comment was modified after posting
- `reply_count`: Number of replies to this comment
- `parent_comment_id`: Reference to parent comment for nested replies (null for top-level comments)

***

Whether you need a post comments extractor for sentiment analysis or a web scraper for comments to power your social listening data strategy, this TikTok comments scraper delivers reliable comment data extraction. Export post comments at scale for social media comment scraping projects, retrieve post comments for competitive research, or build comprehensive datasets for audience intelligence using this cookieless comments scraper solution."

# Actor input Schema

## `videoId` (type: `string`):

TikTok video ID

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

Maximum number of items to fetch per page

## `maxPages` (type: `integer`):

Maximum number of pages to fetch (pagination handled automatically)

## Actor input object example

```json
{
  "videoId": "7306132438047116586",
  "maxItems": 50,
  "maxPages": 1
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("iron-crawler/tiktok-api-post-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("iron-crawler/tiktok-api-post-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 '{}' |
apify call iron-crawler/tiktok-api-post-comments --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,iron-crawler/tiktok-api-post-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/4v48hzgAh7ptCPmyJ/builds/8EVnLwgG38ITfaNf3/openapi.json
