Tiktok Videos by Tag avatar
Tiktok Videos by Tag

Pricing

$9.99/month + usage

Go to Apify Store
Tiktok Videos by Tag

Tiktok Videos by Tag

Developed by

shareze

shareze

Maintained by Community

Get videos of a tag in tiktok, such as `candle`, `t-shirt`, etc.

0.0 (0)

Pricing

$9.99/month + usage

1

7

1

Last modified

5 days ago

TikTok Videos by Tag Scraper

This Apify Actor is designed to scrape TikTok videos based on specific tags. It allows you to retrieve detailed information about videos associated with the given tag.

How to Use

1. Input Configuration

The Actor requires an input JSON object to define the scraping parameters. The structure of the input is as follows:

{
"tag": "candle",
"size": 10
}
  • tag: (Required) The TikTok tag to find videos. For example, "candle".
  • size: (Required) The number of videos to retrieve. Default is 10.

2. Output Data

The Actor returns an array of objects containing information about the TikTok videos matching the specified tag. The structure of each object is as follows:

{
"id": "123456789",
"url": "https://www.tiktok.com/@example_user/video/123456789",
"createTime": 1680000000,
"desc": "This is an example video description.",
"autor": {
"id": "987654321",
"avatarLarger": "https://example.com/avatar_large.jpg",
"avatarMedium": "https://example.com/avatar_medium.jpg",
"avatarThumb": "https://example.com/avatar_thumb.jpg",
"nickname": "Example User",
"uniqueId": "example_user",
"verified": true,
"privateAccount": false
},
"authorStats": {
"followerCount": 1000,
"heartCount": 5000,
"videoCount": 50
},
"challenges": [
{
"id": "111",
"title": "Example Challenge"
}
],
"music": {
"id": "222",
"title": "Example Music",
"authorName": "Example Artist"
},
"stats": {
"playCount": 10000,
"likeCount": 500,
"commentCount": 50,
"shareCount": 10
},
"textLanguage": "en",
"video": {
"duration": 30,
"height": 1080,
"width": 1920,
"url": "https://example.com/video.mp4"
}
}
  • id: The unique ID of the video.
  • url: The URL to the TikTok video.
  • createTime: The creation timestamp of the video.
  • desc: The description of the video.
  • autor: Information about the video author.
  • authorStats: Statistics about the author, such as follower count and total likes.
  • challenges: A list of challenges associated with the video.
  • music: Information about the music used in the video.
  • stats: Statistics about the video, such as play count and like count.
  • textLanguage: The language of the video's text.
  • video: Details about the video, such as duration and resolution.

3. Running the Actor

  1. Deploy the Actor on the Apify platform.
  2. Provide the input JSON in the Actor's input configuration.
  3. Run the Actor to scrape data.
  4. The results will be available in the Actor's dataset.

4. Example Use Case

To scrape TikTok videos with the tag "candle":

  1. Set the input as:
    {
    "tag": "candle",
    "size": 5
    }
  2. Run the Actor.
  3. Retrieve the output dataset containing the video details.

Notes

  • This Actor uses TikTok's public web interface to fetch data.
  • Ensure that the input tag is valid and corresponds to an existing TikTok tag.
  • The Actor is optimized for performance but may be subject to rate limits or restrictions imposed by TikTok.