TikTok comments API
Get the comments on any public TikTok video as JSON, in TikTok’s order, with author, text, time, like count and reply count, then fetch the replies to any comment. About 20 comments per page, 1 credit per successful call (one page).
- ~20 comments per page
- Replies too
- 1 credit per successful call
- Deleted video: free
Every comment on a video
Pass the video id, or the URL-encoded tiktok.com link. Follow pagination.next_cursor while has_more is true.
- Author (handle, ids, verified flag), text, time, like count and reply count
post_idon every row,parent_idon replies- TikTok can repeat a few comments on the next page: de-duplicate by id
# first page; repeat with ?cursor=<pagination.next_cursor>
curl "https://api.handlehaul.com/v1/tiktok/posts/7300000000000000123/comments" \
-H "X-Api-Key: $HANDLEHAUL_API_KEY"
const rows = [];
let cursor = null;
for (let page = 0; page < 5; page++) {
const url = new URL("https://api.handlehaul.com/v1/tiktok/posts/7300000000000000123/comments");
if (cursor) url.searchParams.set("cursor", cursor);
const res = await fetch(url, {
headers: { "X-Api-Key": process.env.HANDLEHAUL_API_KEY },
});
const body = await res.json();
rows.push(...body.data);
if (!body.pagination.has_more) break;
cursor = body.pagination.next_cursor;
}
console.log(rows.length, "rows");
import os, requests
url = "https://api.handlehaul.com/v1/tiktok/posts/7300000000000000123/comments"
headers = {"X-Api-Key": os.environ["HANDLEHAUL_API_KEY"]}
params, rows = {}, []
for _ in range(5):
body = requests.get(url, headers=headers, params=params, timeout=60).json()
rows += body["data"]
if not body["pagination"]["has_more"]:
break
params["cursor"] = body["pagination"]["next_cursor"]
print(len(rows), "rows")
{
"data": [
{
"id": "7300000000000010123",
"text": "Sample comment 1",
"created_at": "2026-11-30T00:53:20.000Z",
"like_count": 50,
"reply_count": 0,
"author": {
"id": "6801485827156468097",
"sec_uid": "MS4wLjABAAAAv9cU4OWfsG8W8GpH25_ry1cATH53sVTiBeFOsovGJRQ",
"handle": "aurora_cedar12",
"nickname": "Aurora Cedar",
"avatar_url": "https://p16-sign.tiktokcdn-us.com/…/avatar/6801485827156468097~c5_100x100.jpeg",
"is_verified": false,
"is_private": false,
"url": "https://www.tiktok.com/@aurora_cedar12",
"counts": null
},
"post_id": "7300000000000000123",
"parent_id": null
}
],
"pagination": {
"next_cursor": "eyJ2…sealed…",
"has_more": true,
"page_size": 20
},
"meta": {
"request_id": "req_…",
"cached": false,
"cache_age_seconds": 0,
"credits_charged": 1,
"credits_remaining": 26943
}
}
Replies, only where they exist
/v1/tiktok/comments/7300000000000010123/replies?post=7300000000000000123 returns the replies to one comment, about 3 per page. Call it only for comments whose reply_count is above zero, and the bill stays small.
- Pass the comment id in the path and the video in post=
- Same author fields as top-level comments
- Cursor paging, 1 credit per page
curl "https://api.handlehaul.com/v1/tiktok/comments/7300000000000010123/replies?post=7300000000000000123" \
-H "X-Api-Key: $HANDLEHAUL_API_KEY"
const res = await fetch(
"https://api.handlehaul.com/v1/tiktok/comments/7300000000000010123/replies?post=7300000000000000123",
{ headers: { "X-Api-Key": process.env.HANDLEHAUL_API_KEY } }
);
const { data, meta } = await res.json();
console.log(data, meta.credits_charged);
import os, requests
r = requests.get(
"https://api.handlehaul.com/v1/tiktok/comments/7300000000000010123/replies",
params={"post": "7300000000000000123"},
headers={"X-Api-Key": os.environ["HANDLEHAUL_API_KEY"]},
)
print(r.json()["data"])
Endpoints for this job
Each costs 1 credit per successful call; lists take a cursor. Every TikTok endpoint is on the TikTok API page, full parameters in the docs.
- GET/v1/tiktok/posts/{post}/commentsin: id or URL, cursorCommentsComments on a post
- GET/v1/tiktok/comments/{comment}/repliesin: comment id, post, cursorComment repliesReplies to one comment
- GET/v1/tiktok/posts/{post}in: id or URLPostOne video or photo post: counts, caption, author, sound, media URLs
- GET/v1/tiktok/users/{user}/postsin: handle, id or secUid, cursorPostsVideos and photo posts, newest first, with views, likes, comments, shares, saves
What it costs
1 credit per successful call on every plan, so the cost is calls × the plan's price per 1,000. Naming an account by a handle we have not looked up in the last 7 days adds 1 lookup credit; send the numeric id from any result to skip it. Failed calls are free.
| Plan | Per 1,000 calls | 1 page (~20 comments) 1 call | 1,000 comments 50 calls | 100,000 comments 5,000 calls |
|---|---|---|---|---|
| Starter · $49/mo · 35,000 credits | $1.40 | $0.001 | $0.070 | $7.00 |
| Growth · $149/mo · 160,000 credits | $0.93 | $0.001 | $0.046 | $4.65 |
| Pro · $399/mo · 500,000 credits | $0.80 | $0.001 | $0.040 | $4.00 |
Rows per page are about 20, so comment counts are estimates. Replies come about 3 per page, so fetch them only where reply_count is above zero. Repeats within the cache window are free. Scale (1M+ calls a month) starts at $0.70 per 1,000. See pricing.
Per call, not per row
1,000 comments with HandleHaul: 50 calls, $0.040 to $0.070.
Per-row vendors, same 1,000 comments
Bright Data: $1.30 to $1.50, billed per record.
Apify: from $1.70, billed per result.
Competitor prices from their own pricing pages, checked December 2026: Bright Data, Apify. Every vendor side by side: social media API pricing.
Good to know
Comment counts without the comments
If you only need how many comments a video has, the TikTok video API returns counts.comments with views, likes and shares in one call.
Comments turned off
A video with comments turned off answers an empty page. A deleted or private video is an error and costs nothing.
What teams build with it
Sentiment and topic analysis, product feedback mining, giveaway entry checks, and question lists for content ideas. Feed the JSON to an LLM through the TikTok MCP server and ask in plain English.
TikTok comments API questions
How do I scrape TikTok comments with an API?
GET /v1/tiktok/posts/{post}/comments with the video id or URL-encoded link, then repeat with cursor= set to pagination.next_cursor while has_more is true. Each comment has the author, text, time, like count and reply count.How much do TikTok comments cost?
Can I get replies to TikTok comments?
/v1/tiktok/comments/{comment}/replies with the comment id in the path and post= set to the video. About 3 replies per page.Can I export TikTok comments to CSV?
Do I need a TikTok account or cookies?
Why do I see the same comment twice?
Related
TikTok video API
Views, likes, shares and comment counts of any video.
Read more →Instagram comments API
The same job on Instagram posts and reels.
Read more →AI content research
Comments and transcripts as input for scripts.
Read more →More: all TikTok endpoints · TikTok comments API docs · TikTok post API docs · pricing · free tools · MCP, CLI and SDKs
Start with the TikTok comments API
Starter: $49 a month for 35,000 calls on Instagram and TikTok. Cancel anytime.
Want to test first? Sandbox keys are free and unlimited, with sample data in the live schema.