Tiktok Scraper avatar

Tiktok Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Tiktok Scraper

Tiktok Scraper

Fast and Cheap Tiktok Scraper

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Cocoa Kit

Cocoa Kit

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 months ago

Last modified

Categories

Features

Limited permissions

Share

Extract public TikTok videos, profile statistics, hashtag results, and keyword discovery results. Use the data to review content performance, find creators, and track topics. Export results as JSON, CSV, or Excel, or connect the Actor to your application through the Apify API.

What you can collect

  • Video and photo posts: Captions, publication dates, engagement counts, media links, and available post details.
  • Public profiles: Account details, follower counts, and posted videos.
  • Hashtags: Videos associated with a hashtag.
  • Keyword discovery: Videos from TikTok discovery pages.
  • Optional media files: Videos, covers, avatars, music covers, slideshow images, and available subtitles.

Duplicate records are removed within each run. You can set result limits and filter videos by publication date.

Quick start

  1. Enter video URLs, profile usernames, hashtags, or discovery keywords in the input form.
  2. Set the maximum number of results. Leave media downloads off if you only need data.
  3. Start the Actor and wait for the run to finish.
  4. Open the dataset to view results or export them as JSON, CSV, or Excel.

You can also use the JSON input editor. This example collects up to 50 videos from two discovery topics, with a limit of 30 results per topic:

{
"searchQueries": ["cats", "cooking"],
"resultsPerPage": 30,
"maxItems": 50
}

To collect a public profile and its videos:

{
"profiles": ["tiktok"],
"profileScrapeSections": ["profile", "videos"],
"resultsPerPage": 30,
"maxItems": 31
}

Supported inputs

InputWhat to enter
postURLsPublic TikTok video or photo URLs. Full URLs and share links are accepted.
profilesTikTok usernames or profile URLs. Use profileScrapeSections to select account details (profile), posts (videos), or both.
hashtagsHashtag names or TikTok tag URLs.
searchQueriesKeywords for TikTok discovery pages. These results differ from in-app search, and some keywords have no discovery page.

You can combine these inputs in one run. See the Input tab for all settings and their defaults.

Output

The default dataset contains one record per unique video or profile. Export it as JSON, CSV, or Excel from Apify Console.

Video records include these fields:

  • type, id, webVideoUrl, text, textLanguage, createTime, and createTimeISO identify the post and its publication time.
  • authorMeta contains the public account ID, username, nickname, profile URL, verification and privacy flags, bio, avatar, bio link, and available account statistics.
  • diggCount, shareCount, playCount, commentCount, and collectCount contain engagement counts. Missing values are null, not zero.
  • videoMeta contains width, height, duration, format, definition, cover URL, play URL, download URL, and subtitle links.
  • musicMeta contains the music ID, title, author, original-music flag, play URL, and cover URL.
  • hashtags, mentions, isAd, isPinned, isSponsored, isSlideshow, slideshowImageLinks, and locationCreated contain available post details. Flags that TikTok does not supply are null.
  • input and scrapedAt identify the source and the extraction time.
  • media lists downloaded file keys, storage URLs, and file types. It is empty when downloads are off.

Profile records contain type: "profile", id, authorMeta, input, scrapedAt, and media. shouldDownloadAvatars also applies to profile records. Profile details count toward the item limit. The dataset schema documents all record fields.

Result limits and filters

resultsPerPage sets the maximum saved records per input source. maxItems sets the maximum for the entire run. Profile records count toward these limits. Limits apply after duplicate removal and date filters.

Use oldestPostDate and newestPostDate to select a publication date range. An ISO date and time gives an exact boundary. A date without a time means midnight UTC. Set excludePinnedPosts to omit pinned videos.

The Actor can return fewer records than requested when TikTok supplies fewer posts or filters remove results. maxPagesPerSource and maxRunSeconds let you limit the size and duration of a run.

Media downloads

Enable the flags for the files you need:

  • shouldDownloadVideos
  • shouldDownloadCovers
  • shouldDownloadAvatars
  • shouldDownloadMusicCovers
  • shouldDownloadSlideshowImages
  • shouldDownloadSubtitles

The media field in each record contains links to the saved files. Files are stored in the run's key-value store. maxDownloadBytes limits each file to 30 MB by default.

Media availability depends on the post. TikTok media links can expire. Saved files remain available according to your Apify storage retention settings. A requested download that fails is reported as a source error.

Run settings

Use the default automatic mode and 2 GB memory for general use. The browserMode setting is available for users who need to select a retrieval mode.

Proxies are optional and off by default. Configure them through proxyConfiguration when needed. Results can differ by country, and a proxy does not guarantee access.

Check the price shown in Apify Console before you start a run. Media downloads, proxy use, and larger runs can increase usage. Keep downloads off when you only need post data and statistics.

Results and troubleshooting

The run's RUN-SUMMARY record shows the saved item count and the status of each input source. Check it when a source returns fewer records than expected or reports an error.

By default, failOnPartial is true: a failed source or a time limit makes the run fail, but records already saved remain available. A valid empty list or a filter with no matches can return zero records successfully.

Interrupted runs can resume from saved progress. Start a new run when you change the input.

Coverage and limits

This Actor collects public content. It does not collect private or login-only content, follower or following lists, comments, related-video lists, or liked and reposted sections. Profile sorting is not supported.

Keyword discovery uses TikTok discovery pages. It does not reproduce TikTok's in-app search results or ranking. Availability can vary by keyword and region.

Only settings listed in the Input tab are supported. Unknown input fields cause an error. TikTok can restrict access or change the data it supplies. Missing statistics are returned as null.

Use the Actor for data you are authorized to collect and follow the applicable site terms.