TikTok Comments API | EveryInfra avatar

TikTok Comments API | EveryInfra

Pricing

$8.00 / 1,000 result page events

Go to Apify Store
TikTok Comments API | EveryInfra

TikTok Comments API | EveryInfra

Provide a full TikTok video URL to fetch comments. The actor returns top-level comments with up to two replies each.

Pricing

$8.00 / 1,000 result page events

Rating

0.0

(0)

Developer

ECHO

ECHO

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Search TikTok videos, hashtags, user profiles and shop items to retrieve transcripts, comments and ecommerce metrics.

Use a valid TikTok video URL for transcripts. Comments give top-level entries with a few replies, not full conversation trees.

Actions

ActionWhat you getRequiredOptionalResults per requestPrice per request
commentsRead the comments on a TikTok video. Get likes, reply counts, reply links and whether the creator liked or pinned each one. Each top-level comment brings at most two replies. So the full conversation tree is not guaranteed.url—20 (up to 200)$0.0080

Input

Pick an action and fill the fields it uses. Example:

{
"action": "comments",
"keyword": "espresso",
"url": "https://www.tiktok.com/@stoolpresidente/video/7488736374602927402"
}

Fields that another action needs are ignored when left empty. API users can also pass {"action": ..., "params": {...}}.

Output

Each result is one dataset row. Rows keep every field the source page exposes for that action; a field the platform hides or leaves empty for a record is omitted rather than filled with a placeholder. When there is a next page, the run's OUTPUT record holds next_page_token.

  • comments: id, text, author_username, author_id, like_count, reply_count, reply_to_id, is_reply, liked_by_author, pinned_by_author, posted_at, platform

Field notes

  • album: Album name (music_search / music_chart); absent for original sounds and tracks with no registered album.
  • announcement: Announcement text at the top of the hashtag page (hashtag_detail); absent when there is no announcement.
  • audio_url: Preview audio link (music_search / music_chart), mostly a 60-second clip; signed and expires.
  • author_avatar_url: Author's avatar image link (on most platforms signed and expires).
  • author_is_private: Whether the author's account is private.
  • author_is_seller: Whether the author is a TikTok Shop seller.
  • author_sec_uid: secUid of the music author's account (music_detail); only for original sounds.
  • avg_views: Average views. Shows a creator's real reach: follower counts can be faked, average views are hard to fake.
  • categories: Categories.
  • connection_count: Number of connections.
  • cover_image_url: Video cover image link (signed, expires).
  • expires_at: Expiry time of the download URL (video_download, ISO; about 6 hours after the call). Call again after it expires.
  • external_url: External link on the profile.
  • friend_count: Number of friends.
  • has_shop_product: Whether the video has a TikTok Shop product attached; if the key is absent, it cannot be determined.
  • has_transcript: Whether subtitles are available to extract.
  • hashtag_id: Hashtag ID (hashtag_search, trending_hashtags).
  • hashtag_name: Hashtag name without # (hashtag_search, trending_hashtags).
  • hd_size_bytes: File size of hd_video_url in bytes (video_download).
  • hd_video_url: The higher-quality version (video_download), usually 1080p; absent when nothing is sharper than video_url.
  • hd_width: Width of hd_video_url in pixels (video_download).
  • is_ad: Whether the video is an ad.
  • is_commercial: Whether the music is in TikTok's commercial music library (music_search / music_chart).
  • is_copyrighted: Whether this music is copyrighted (music_detail).
  • is_incentivized: Whether the review was incentivized (shop_product_reviews), for example a coupon for posting photos.
  • is_live: Whether the account is live right now.
  • is_pinned: Whether it is pinned on the author's profile.
  • is_private: Whether the account is private.
  • is_reply: Whether it is a reply.
  • is_slideshow: Whether it is a photo carousel (not a video).
  • is_sponsored: Whether it contains sponsored content.
  • is_verified_purchase: Whether the review was written after a confirmed purchase (shop_product_reviews).
  • liked_by_author: Whether the comment was liked by the author.
  • music: Background music: id, title (track name), author, is_original (whether it is an original sound), play_url (audio URL, expires), cover_url.
  • original_price: Original price.
  • peak_viewer_count: Peak concurrent viewers of this live stream (live_room).
  • pinned_by_author: Whether the comment is pinned by the author.
  • precision: Precision flag for the counts in this row, for example exact.
  • product_count: Number of products promoted.
  • rank: Rank, starting from 1 (music_chart / shop_hot_products).
  • released_at: Release date of the music (music_search / music_chart); absent for original sounds and tracks with no registered release date.
  • reply_to_id: ID of the comment being replied to.
  • reply_to_reply_id: ID of the reply that this reply answers (comment_replies); absent for direct replies to a top-level comment.
  • room_id: Live room ID (live_room); absent when not live.
  • sec_uid: The account's secUid (user_search), an account identifier that stays stable in TikTok's web interface.
  • segments: Subtitle segments (text with timestamps).
  • shop_id: Shop ID (shop_products); can be passed directly as shop_id to shop_products.
  • shop_name: Shop name (for TikTok Shop).
  • size_bytes: File size of the video_url file in bytes (video_download).
  • sold_count: Units sold.
  • stream_url: Live stream pull URL (live_room, FLV, signed and expires); absent when not live or when co-hosting in someone else's live room.
  • total_viewer_count: Cumulative number of viewer entries for this live stream (live_room).
  • trend: Daily popularity over the period (trending_hashtags): [{date, value}], value 0-100, with 100 on the peak day.
  • use_count: Number of videos that used this music (music_search / music_chart).
  • variant: Variant the buyer purchased (shop_product_reviews), such as color or scent.
  • verified_label: Verification description, such as Verified account; absent when not verified.
  • video_backup_urls: Backup URLs for the same file (video_download); use them when video_url does not open.
  • video_count: Number of videos.
  • video_id: ID of the video the comment belongs to (comment_replies).
  • video_url: Watermark-free video file URL (video_download, mp4). No cookie needed and no IP restriction; expires at expires_at; absent for photo posts.
  • viewer_count: Number of viewers online at the moment of the call (live_room).
  • watermarked_video_url: Download URL with the TikTok watermark (video_download); absent for some videos.
  • author_bio: The author's profile bio; not returned on some requests.
  • author_following_count: How many accounts the author follows; not returned on some requests.
  • author_is_verified: Whether the author has a verified badge; not returned on some requests.
  • author_like_count: Total likes the author's profile has received; not returned on some requests.
  • author_video_count: Total number of videos the author has posted; not returned on some requests.
  • duration_sec: Duration in seconds, the same value as duration_seconds (both names are returned): the video's length on video rows, the sound's length on music_search, music_chart and music_detail.
  • height: Height of the watermark-free video file in pixels (video_download); absent for photo posts.
  • is_original: Whether it is an original sound (the creator's own audio rather than a library track) (music_search / music_detail).
  • next_page_token: Page token (hashtag_search / music_search / user_search / sound_videos / comment_replies / shop_category_products / following / shop_products / shop_product_reviews): pass it back unchanged as page_token on the next request to get the next page; every row of a page carries the same value; valid for 24 hours. Only a page without this field is the last page.
  • product_id: ID of the product being reviewed, as a string (shop_product_reviews).
  • started_at: When the current live stream started, ISO 8601 in UTC (live_room); null when the account is not live.
  • width: Width of the watermark-free video file in pixels (video_download); absent for photo posts.

Pricing

Pay per event, charged only when a run delivers data:

  • comments: $0.0080, one event per non-empty request, whatever the row count.

Empty or failed requests are never charged. There is no actor-start fee and no per-row fee, and platform usage is included in these prices.

Free trial

The first 3 accepted data requests per Apify account are free across all EveryInfra Actors combined (a lifetime total, not per Actor and not reset). Invalid input does not use a trial; an accepted request that returns no data still does. After that a paid Apify plan is required.

Notes

  • Results reflect what is publicly visible when the run happens; counts can be lower than requested.
  • One run makes one request. For more pages, start another run with page_token where the action supports it.
  • This is an independent Actor. It is not affiliated with, sponsored by, or endorsed by TikTok or its owner; names and trademarks belong to their respective owners.

Support

Open an issue on this Actor's Issues tab with the run ID.