capabilities.work

Research Video Search and Comments

A 2-step recipe with TikTok for Developers. We can help you get access.

Recipe · 2 steps

Research Video Search and Comments

Search research videos, then list comments on the top match.

  1. Run a boolean AND search matching the keyword and region within the date range, returning the requested video fields.
  2. Retrieve the comment thread on the first matching video, including text, like counts, and reply counts.
What you'll need to have ready
  • accessToken: OAuth 2.0 client-credentials token for the Research API.
  • keyword: Keyword to search video descriptions and captions for.
  • regionCode: ISO region code to constrain the search to.
  • startDate: Start date in YYYYMMDD format.
  • endDate: End date in YYYYMMDD format.
  • videoFields: Comma-separated video fields to return.
  • commentFields: Comma-separated comment fields to return.
  • maxVideoCount: Maximum number of videos to return (1-100).
  • maxCommentCount: Maximum number of comments to return (1-100).
For your developer

Arazzo workflow tiktok-for-developers:research-search-and-comments, 2 operations: queryResearchVideos → listVideoComments. Specs on APIs.io.