tiktok/
comment-keywords

The TikTok Comment Keywords API gets the keywords repeated most in a public TikTok video's comments from its URL, ranked, each with the comments and like counts behind it.

TikTok Comment Keywords API

Video URL input
Ranked keywords
Supporting comments
1 credit / request
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

By SocQ · Updated

TikTok Comment Keywords

A TikTok video's comment keywords are the words and phrases repeated most across its comment section, ranked by prominence and tied to the individual comments that use them and the likes those comments earned. They show at a glance what viewers ask about, praise or argue over, which feeds product research, campaign reporting and content planning without reading every comment.

TikTok Comment Keywords API Features

  • Ranked by prominenceThe TikTok Comment Keywords API returns every keyword as its own result with a rank, so the theme the comment section keeps returning to comes first.
  • Evidence under each keywordcomments lists the comments that mention the keyword with their id, text and likes_count, and comments_count tells how many there are.
  • One URL per video or photo postSend a tiktok.com post URL, and post_id on each keyword ties the results back to that post.

TikTok Comment Keywords API Parameters

ParametersRequiredDescription
urlRequiredPublic TikTok video or photo post URL, such as https://www.tiktok.com/@user/video/1234567890123456789.

How to Use the TikTok Comment Keywords API

Submit a video URL to the TikTok Comment Keywords API and read the ranked keywords.

  1. POST {"url": "https://www.tiktok.com/@tiktok/video/7460937381265411370"} to /v1/tiktok/comment-keywords.
  2. Poll GET /v1/tasks/{task_id} until status is succeeded.
  3. Read keywords from results.items and pass results.next_cursor back while has_more is true.
curl -X POST "https://api.socq.ai/v1/tiktok/comment-keywords" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@tiktok/video/7460937381265411370"}'

# Each item is one keyword with rank and the comments that mention it.

TikTok Comment Keywords API Use Cases

  • Mining buyer questions under product videos: Scan the ranked keywords of review and unboxing videos for repeated mentions of price, size or shipping, then read the attached comments for the exact questions.
  • Reporting audience reaction to a creator post: Put the top keywords and a few high-likes_count comments from their lists into the campaign report instead of screenshots of the comment section.
  • Comparing two videos on the same topic: Run your video and a competitor's through the TikTok Comment Keywords API, then line the keywords up by post_id to see which themes each audience raises.
  • Choosing the next video's angle: Take the keywords ranked highest under your best-performing post as candidate topics for a follow-up.

TikTok Comment Keywords API Pro Tips

  • Weigh a keyword by the likes_count of its comments as well as comments_count, since three comments with many likes can matter more than ten nobody endorsed.
  • Open the comments array before naming a theme: in the documented sample the keyword mr beast stands for three comments suggesting he buy TikTok, a meaning only the text shows.
  • Point the TikTok Comment Keywords API at videos with an active comment section, because a post with a handful of comments has few repeated words to rank.

Beyond the TikTok Comment Keywords API, use these APIs when you need a different type of public TikTok data.

  • TikTok Profiles API — Retrieve public profile identity, biographies, account flags, and audience counts by username.
  • TikTok Hashtags API — Collect public videos, creators, media, sound, and engagement for specified hashtags.
  • TikTok Comments API — Collect public top-level comments, authors, engagement, mentions, and creator interaction flags.
  • TikTok Videos API — Retrieve creator, caption, media, music, tags, mentions, and engagement from video URLs.
  • TikTok Comment Replies API — Collect public replies for a known comment using its TikTok video URL and comment ID, with authors, engagement, timestamps, and parent context.
  • TikTok Fake Views Checker API — Score a video URL for fake views, with the estimated fake views and traffic tier.

Explore other platforms

Combine TikTok data with public data from other supported social platforms.

TikTok Comment Keywords API — FAQ

TikTok Comment Keywords API is a programmatic interface for extracting the keywords repeated most in the comments of a public TikTok video or photo post, from its URL. It returns ranked keywords, each with the comments that mention it and their like counts.

No. It ranks keywords and shows the comments behind each one, with no sentiment field. Classify the attached comment text yourself if you need a positive and negative split.

Use TikTok Comments for the top-level comments and TikTok Comment Replies for reply threads. This endpoint returns the leading keywords only.

rank orders the keywords with the most prominent first, and comments_count is how many of the returned comments mention that keyword. It is not the video's total comment count.

Comment Insights is an advertiser tool inside TikTok's ads platform. This takes any public video or photo post URL, a competitor's included, and returns the keywords with their comments as structured results.

Yes. Submit one URL per request and join the results on post_id; a request costs 1 credit however many keywords come back.