TikTok

TikTok comments API: get video comments as JSON (2026)

How to get TikTok video comments and replies with an API in 2026: Research API eligibility, a working curl request, cursor paging, reply threads and credits.

Social FetchUpdated

To get TikTok video comments as JSON, call GET /v1/tiktok/videos/comments with the video's URL and a Social Fetch key. Each response holds a page of top-level comments, with text, likes, reply counts and authors, and a cursor for the next page. Replies come from a second route. TikTok's own comment endpoint is in the Research API, which is limited to approved researchers, as of November 2026.

This guide covers both routes, paging and costs. For profiles, videos and search, see how to scrape TikTok data. To analyse the comments once you have them, read social comments for sentiment analysis.

Two ways to get TikTok comments

TikTok Research APISocial Fetch comments routes
Who can use itApproved academic and not-for-profit researchersAnyone with an sfk_… key
Commercial productsNoYes, public data
InputA video ID or comment IDA public video URL
RepliesYes, by comment IDYes, by comment ID and video URL
SetupApplication and reviewCreate a key

TikTok's official comments endpoint

As of November 2026, TikTok's Query Video Comments endpoint is POST https://open.tiktokapis.com/v2/research/video/comment/list/. It needs the research.data.basic scope and a client access token. You pass either a video_id, for the video's comments, or a comment_id, for that comment's replies. max_count defaults to 10 and is at most 100 per request, and TikTok says it may return fewer.

The endpoint belongs to the Research API. As of November 2026 TikTok lists these eligible organisations:

  • academic institutions in the U.S., EEA, UK, Canada or Switzerland;
  • not-for-profit or independent research bodies in the EU (in beta with select researchers in some other countries);
  • academic institutions or not-for-profit organisations in Brazil studying online youth safety.

Applicants must be independent of commercial interests, disclose funding and show evidence of ethical review. TikTok says to expect an answer within about four weeks. A company building a product doesn't qualify. For the rest of TikTok's developer setup, see how to get a TikTok API key.

Get a video's comments

  1. Create a free account, open API Keys and click Create key. The key starts with sfk_ and is shown once.
  2. Store it in an environment variable named SOCIALFETCH_API_KEY.
  3. Request the comments with the video's URL. Standard /@user/video/… links and vm.tiktok.com short links both work.
Request
bash

Read data.lookupStatus first. found means the video resolved; not_found means it couldn't be resolved, with an empty comments list and totalComments set to null. Both are normal 200 responses.

Each item in data.comments is a top-level comment with:

  • id, text and createdAt (ISO 8601);
  • likes and replyCount;
  • language, the language code TikTok reports;
  • author, with handle, displayName, avatarUrl and, when available, platformUserId and secUid;
  • likedByCreator, null when TikTok doesn't say, and images for photo comments.

Add trim=true for a smaller response when you only need the text and ids. You can also run the request in the Playground. Every field is in the comments reference.

Page through all comments

Page size varies, so there is no fixed number of comments per page. While data.page.hasMore is true, send data.page.nextCursor back as cursor, with the same url:

Request
bash

Stop when hasMore is false. Don't loop until you reach totalComments: that is the total TikTok reports for the video, and it can differ from the rows you can page through. Store comments by id so a rerun doesn't duplicate them.

Get replies to a comment

Replies are a separate route, comment replies. Pass the parent comment's id as commentId, plus the same video url:

Request
bash

Read data.replies and page with data.page.nextCursor and data.page.hasMore, as with comments. Only fetch threads you need: use replyCount on each comment to skip those with no replies. See the replies reference.

Credits

Each comments page and each replies page is billed once. The price is shown on the TikTok comments API page, and every response reports the actual charge in meta.creditsCharged. A not_found answer is a completed lookup and is billed. Failed requests are free. A video's full export costs one charge per page plus one per replies page, so start with a few videos and check meta.creditsCharged before scaling up. See Credits.

Social Fetch returns publicly visible data. You are responsible for how you use it under TikTok's terms, applicable law, and your own compliance review. Comments carry usernames and personal opinions, so store only what your analysis needs. We do not give legal advice.

FAQ

Is there a TikTok comments API?

TikTok's own comment endpoint is part of the Research API, which as of November 2026 is limited to approved academic and not-for-profit researchers who are independent of commercial interests. For public comments in a product, Social Fetch's GET /v1/tiktok/videos/comments takes a video URL and an x-api-key header and returns the comments as JSON.

How do I get comments from a TikTok video?

Call GET /v1/tiktok/videos/comments with the video's url as a query parameter. Check data.lookupStatus, read data.comments, and pass data.page.nextCursor back as cursor while data.page.hasMore is true. Each comment has its id, text, createdAt, likes, replyCount, language and author.

How do I get replies to a TikTok comment?

Call GET /v1/tiktok/videos/comments/replies with the parent comment's id as commentId and the same video url. Replies page the same way as comments, with data.page.nextCursor and data.page.hasMore.

Can I use the TikTok Research API for a commercial product?

No. As of November 2026 TikTok requires Research API applicants to be independent of commercial interests and to research on a not-for-profit or non-commercial basis.

How many comments does the TikTok comments API return per page?

Social Fetch pages vary in size, so don't assume a fixed number. Keep following the cursor until data.page.hasMore is false, and don't stop at totalComments, which can differ from the rows you can page through.

Do I need a TikTok login or developer app?

No. You authenticate to Social Fetch with your key in the x-api-key header. The comments routes read public comments and don't act for a TikTok user.

Share this article