Skip to content
ShortVid API
Social Listening Tutorial7 min read·Updated 2026-10-31

TikTok Comments & Replies Scraper API: Extract Threads at $0.10/1K

Extract top-level TikTok comments, nested reply conversations, like counts, and commenter profiles at 50 comments per request ($0.10 per 1,000 comments) for AI sentiment analysis and lead generation.

$0.20 / 1K Videos · $0.10 / 1K Comments & Followers · No OAuth Needed

Instant Quickstart · Copy & Run in 30 Seconds

Full Comment & Reply Thread Harvester

Execute in Live Playground →
import requests

API_KEY = "tk_your_api_key_here"
BASE_URL = "https://api.shortvidapi.com"

def fetch_video_comments(video_url: str, max_pages: int = 5) -> list[dict]:
    all_comments = []
    cursor = 0
    for _ in range(max_pages):
        resp = requests.get(
            f"{BASE_URL}/v1/videos/comments",
            params={"url": video_url, "limit": 50, "cursor": cursor},
            headers={"x-api-key": API_KEY},
            timeout=20,
        )
        resp.raise_for_status()
        body = resp.json()
        if body.get("code") != 0:
            break
        data = body.get("data", {})
        batch = data.get("comments") or []
        all_comments.extend(batch)
        if not data.get("has_more"):
            break
        cursor = data.get("cursor", cursor + len(batch))
    return all_comments

comments = fetch_video_comments("https://www.tiktok.com/@tiktok/video/7231338487075638570", max_pages=2)
for c in comments[:5]:
    print(c["cid"], c["user"]["unique_id"], c["digg_count"], c["text"])

Key Engineering Takeaways (TL;DR)

  • ✓GET /v1/videos/comments (alias GET /v1/comment/list) returns up to 50 top-level comments per request at 1 Credit ($0.0001) per comment — $0.10 per 1,000 comments.
  • ✓Every comment object includes cid (comment ID), text, digg_count (likes), reply_comment_total, create_time, and commenter profile metadata (uid, unique_id, sec_uid).
  • ✓When reply_comment_total > 0, call GET /v1/videos/comments/replies (alias GET /v1/comment/reply) with video_id and comment_id to paginate nested sub-threads.
  • ✓Zero cookies, browser automation, or CAPTCHA solving required; failed or 0-comment lookups cost 0 Credits.

1. TikTok Comments & Replies Endpoints Architecture

TikTok structures video discussions into two levels: top-level comments on the aweme_id and nested replies attached to a parent comment_id:

TikTok Comments and Replies API Endpoints on ShortVid API
EndpointCompatible RouteParametersPage Size & Rate
GET /v1/videos/commentsGET /v1/comment/listurl (video URL or 19-digit ID), limit (1–50, default 50), cursor (0, 50, 100...)Up to 50 comments/call · 1 Credit ($0.0001) / comment
GET /v1/videos/comments/repliesGET /v1/comment/replyvideo_id, comment_id, limit (1–50, default 50), cursor (0, 50...)Up to 50 replies/call · 1 Credit ($0.0001) / reply

2. Paginate Top-Level Comments & Nested Replies in Python / Node.js

Loop over data.cursor while data.has_more == 1 (or true) to collect thousands of comments and automatically expand high-engagement reply threads:

Full Comment & Reply Thread Harvester

Fetches top-level comments in 50-item pages and expands nested replies for comments with reply_comment_total > 0.

curl -sS "https://api.shortvidapi.com/v1/videos/comments?url=https://www.tiktok.com/@tiktok/video/7231338487075638570&limit=50&cursor=0" \
  -H "x-api-key: tk_your_api_key_here"

Interactive Engineering Workbench · GET /v1/comment/list

Verify real-time latency, pagination math & JSON schema

5,000 videos/day
10,000 comments/day
20,000 followers/day
Our HTTP Calls/Day
452
Large page sizes
Legacy Provider Calls
1,334
30-item small pages
Official Research API
Within 1K Cap
1,000 req/day limit
Estimated Monthly Pipeline Cost (30 Days)
$72.73/ mo with Business bonus ($120.00 base rate)
Daily consumption: 40,000 Credits ($4.00/day)
ShortVid API (with volume bonus):$72.73 / mo
Legacy Scrapers ($1.50 / 1K calls):$60.03 / mo
Failed / 404 request fee:$0.00 (0 Credits)

Frequently Asked Questions

How much does it cost to scrape 100,000 TikTok comments?
At 1 Credit per comment ($0.10 per 1,000 comments base rate, or $0.06 per 1,000 with Business volume bonus), scraping 100,000 TikTok comments costs just $6.00 to $10.00.
Can I pass a 19-digit video_id instead of a full TikTok URL to /v1/videos/comments?
Yes. Both the url parameter on /v1/videos/comments and /v1/comment/list accept either a full https://www.tiktok.com/@user/video/123 URL, a shortened vm.tiktok.com link, or the raw 19-digit numeric video ID.

More engineering guides

View all guides →

Architecture Guide · 2026

Unofficial TikTok API vs Official TikTok API: Complete 2026 Developer Guide

8 min read →

Video Parser Guide · 1080p HD

How to Get TikTok Video Metadata & 1080p No-Watermark MP4 via API

6 min read →

Search & Discovery Guide

TikTok Search API Guide: Search Videos, Creators & Commercial Ads by Keyword

7 min read →

Pricing & Cost Analysis · 2026

TikAPI Pricing Breakdown (2026): Real Cost per 1,000 Videos & Pay-As-You-Go Comparison

6 min read →

Troubleshooting · HTTP Error 403 & WAF Fix

Fix TikTok HTTP Error 403 ("Access to www.tiktok.com Was Denied") — Working Python & API Bypass

8 min read →

Ad Intelligence Tutorial

TikTok Ads Library & Creative Center API: Scrape Winning Ads, CTR & Keywords

8 min read →

Creator & Follower Graph Guide

TikTok Profile & Followers Scraper API: Fetch User Data, Videos & 200-Item Follower Lists

8 min read →

Analytics & Python SDK · 2026

TikTok Analytics API & Python Guide: Creator Engagement, Video Velocity & Studio Metrics

8 min read →

Creator Discovery · 2026

TikTok Influencer Search API: Find Creators by Niche & Follower Tier

8 min read →

Lead Generation · 2026

How to Extract Creator Emails & Bio Leads from TikTok via API (Python & Node.js)

7 min read →

Trend Intelligence · 2026

TikTok Hashtag, Sound & Viral Trends API: Track Breakout Topics in Real Time

8 min read →

No-Code & AI Workflows · 2026

n8n & Make.com TikTok API Integration: Automate Video & Creator Workflows

7 min read →

E-Commerce & Affiliates · 2026

TikTok Shop Affiliate & E-Commerce Product Intelligence via API

8 min read →

Official API Architecture · 2026

TikTok Research API: Academic Eligibility, 1,000/Day Quota & Commercial REST Endpoints

8 min read →

OAuth & Scopes Reference · 2026

TikTok Display API: OAuth 2.0 Scopes, Limitations & How to Fetch Public Profiles

6 min read →

Python SDK & Asyncio Hub · 2026

Python TikTok API Tutorial (2026): requests, asyncio & Why Playwright Libraries Break

9 min read →

Scraper Architecture · $0.20/1K Videos

TikTok Scraper API: Extract Public Videos, Profiles, Comments & Ads at Scale

8 min read →