Skip to content

GET/v1/tiktok/posts/{post}/comments

Get the comments on a TikTok post, in TikTok's order, with author, text, time, like count and reply count, then the replies to any comment.

GEThttps://api.handlehaul.com/v1/tiktok/posts/{post}/comments
GEThttps://api.handlehaul.com/v1/tiktok/comments/{comment}/replies?post=
  • GET /v1/tiktok/posts/{post}/comments: top-level comments (about 20 a page)
  • GET /v1/tiktok/comments/{comment}/replies?post=: replies to one comment (about 3 a page; pass the post too)

Cost: 1 credit per page (free from cache). Failed calls are free. A post with comments turned off answers an empty page.

Parameters

postpathrequired
comments: post id or URL-encoded tiktok.com post link.
commentpathrequired
replies: the comment id.
postqueryoptional
replies: the post the comment belongs to (id or link).
cursorqueryoptional
pagination.next_cursor from the previous page.
freshqueryoptional
true skips the cache.
rawqueryoptional
true returns TikTok's own JSON in data.

Response

Only call replies when reply_count is above zero. On a reply, parent_id is the comment it answers. TikTok can repeat a few comments from one page on the next (we saw it in our checks): de-duplicate by id when you collect a whole thread.

FAQ

How do I scrape TikTok comments with an API?

Call GET /v1/tiktok/posts/{post}/comments and follow pagination.next_cursor while has_more is true.

↑↓ to move↵ to open