Tiktok Comments avatar
Tiktok Comments

Pricing

$9.99/month + usage

Go to Apify Store
Tiktok Comments

Tiktok Comments

Developed by

shareze

shareze

Maintained by Community

Scrape the comments of a certain video under a certain tiktok user through username and videoId.

0.0 (0)

Pricing

$9.99/month + usage

1

13

3

Last modified

5 days ago

TikTok Comments Scraper

This Apify Actor is designed to scrape comments from TikTok videos. It retrieves detailed information about comments, including user details, likes, replies, and more.

How to Use

  1. Input Configuration: The Actor requires the following input parameters, which are defined in the input_schema.json file:

    • videoId (string, required): The ID of the TikTok video you want to scrape comments from.
    • size (integer, required): The maximum number of comments to retrieve.
  2. Run the Actor: You can run the Actor on the Apify platform or locally using the Apify SDK. Provide the required input parameters in the following format:

    {
    "videoId": "7550395004708048141",
    "size": 10
    }
  3. Output: The Actor will return a JSON array containing the scraped comments. Each comment includes the following fields:

    • cid: Comment ID.
    • text: The text of the comment.
    • create_time: The timestamp when the comment was created.
    • digg_count: The number of likes the comment received.
    • reply_comment_total: The total number of replies to the comment.
    • user: An object containing details about the user who posted the comment:
      • uid: User ID.
      • unique_id: The unique username of the user.
      • nickname: The nickname of the user.
      • avatar_thumb: The URL of the user's avatar thumbnail.
    • image_list: A list of images included in the comment (if any).
  4. Example Output:

    [
    {
    "cid": "1234567890",
    "text": "Great video!",
    "create_time": 1691234567,
    "digg_count": 100,
    "reply_comment_total": 5,
    "user": {
    "uid": "987654321",
    "unique_id": "user123",
    "nickname": "John Doe",
    "avatar_thumb": "https://example.com/avatar.jpg"
    },
    "image_list": []
    }
    ]

On this page

Share Actor: