# Changelog of TikTok Comments Scraper — Bulk, Profiles, Server API & MCP (`forlex/tiktok-comments-scraper`) Actor

- **URL**: https://apify.com/forlex/tiktok-comments-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/forlex/tiktok-comments-scraper.md

## Changelog

### 2.0.0 (2026-11-27)

- **Multi-Tenant Server API & Native MCP Server (`/mcp`):** Added real-time HTTP endpoints (`GET /comments`, `GET /profile-videos`, `GET /health`) and a stateless Streamable HTTP MCP Server exposing `scrape_tiktok_comments`, `find_tiktok_buyer_intent_leads`, and `discover_tiktok_profile_videos`, billed via `api-comments-request`.
- **Bulk Creator `profiles` Discovery:** Added `profiles` + `maxVideosPerProfile` inputs with pure-HTTP discovery of public `/video/` and `/photo/` posts (`discoveredFromProfile`).
- **Apify MCP Connector Delivery (`outputConnector`):** Added native non-destructive delivery to user-authorized Notion, Slack, or Todoist MCP connectors in `summary` or `perComment` mode.
- **Official TikTok Business API v1.3 Mode:** Added optional `businessAccessToken` + `businessId` + `businessCommentStatus` (`ALL` | `PUBLIC`) supporting owned organic video listing and extraction of both `public` and `hidden` comments (`dataSource: "business_api_v1.3"`).

### 1.0.0 (2026-11-27)

- **Complete v1.0 Architecture Upgrade:** Modular ES module codebase on `apify/actor-node:24-slim` with `got-scraping`, `crawlee`, and `apify` v3.7.2.
- **Full `/photo/` Carousel & Short-Link Support:** Automatically parses `/video/`, `/photo/`, `/v/`, raw numeric IDs, and resolves `vt.tiktok.com` / `vm.tiktok.com` / `tiktok.com/t/...` links via redirects and TikTok oEmbed.
- **Fixed Flat Reply Streaming & Budget Guardrails:** Streams top-level comments and nested replies in `flat` mode (`isReply`, `parentCommentId`, `replyToReplyId`, `replyToUsername`) with `Actor.useState` cursor persistence and `ACTOR_MAX_TOTAL_CHARGE_USD` fail-fast checks.
- **3 Output Modes (`flat`, `threads`, `rag`):** Added CSV/Excel-friendly flat rows, nested JSON threads, and LLM-ready Markdown thread documents.
- **TikTok Native + Multilingual Lead Signals:** Extracts `is_high_purchase_intent`, `seeking_help_model_type`, `likedByAuthor`, `pinnedByAuthor`, `images`, `sticker`, `mentions`, `hasPurchaseIntent`, `hasQuestion`, `sentimentHint`, and `engagementScore`.
- **Optional Commenter Profile Enrichment:** Added opt-in `enrichCommenterProfiles` (`followerCount`, `bio`, `bioLink`, `bioEmails`, `verified`) with `maxEnrichedProfiles` cap and custom `commenter-profile` PPE charging.
- **Strict AJV Draft-07 Dataset Schema:** Added full `.actor/dataset_schema.json` with 4 Console views (`overview`, `threadsAndReplies`, `buyerIntentLeads`, `ragDocuments`) and automated Vitest + AJV validation.
