
TikTok Scraper
Pricing
Pay per event

TikTok Scraper
Extract data from TikTok videos, hashtags, and users. Use URLs or search queries to scrape TikTok profiles, hashtags, posts, URLs, shares, followers, hearts, names, video, and music-related data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
4.5 (22)
Pricing
Pay per event
359
Total users
36K
Monthly users
8.1K
Runs succeeded
>99%
Issues response
2.4 days
Last modified
13 hours ago
Date Filtering Not Working
Closed
I'm experiencing an issue with the TikTok Scraper Actor's date filtering feature. I aim to get the latest videos, at least today's.
Despite setting the 'Scrape profile videos published after [date]' filter to '1' or '2' days and using 'Latest' sorting, the results include videos from months or even a year ago. This occurs even when using a specific date range with both 'after' and 'before' filters.
Steps to reproduce: Set 'Scrape profile videos published after [date]' to '1' or '2' Set 'Profile video sorting' to 'Latest' Run the Actor Expected behavior: Only videos from the last 1-2 days should be returned. Actual behavior: Videos from months or a year ago are included in the results.

Hello, thank you for opening this issue.
There is some confusion on the inputs:
- All the date filters refers to the profile scraping. In the run you linked you scraped TikTok by the hashtag. This instantly invalidates all the filters, since they are not applicable (that's why they are in the
Profile
section of the input). This is due to TikTok not supporting filtering (and sorting!) for the hashtag. - Setting the
newestPostDate
on the day of the scrape doesn't make sense: you are telling the scraper to get all the videos up until today... which means all the videos! You can also see this in the log of your run"From:" date filter will have no effect today as it specifies today's date or a date in the future
.
Hope this clarifies a bit. I'll close the issue but you can ask further question on this thread if you want to!
slvkrvnsv
Oh wow. Thanks a lot for clarifying!
I'm looking for a solution to scrap only the latest videos with the specific hashtag, and I thought this was the one.
Maybe you could tell if such scrappers even exist?

Unfortunately I don't think you will find a scraper for your exact use case because TikTok does not provide the functionality. If TikTok does not offer it, neither any of the scraper can.
If you want to use the search functionality (meaning you search for #gaming
, but using the search functionality, not the hashtag one) you can try to use one of our community scraper, like this: https://apify.com/apidojo/tiktok-scraper.
My suggestion, however, is to find a pool of profiles you want to keep an eye on (you can use an integration on this actor to scrape the hashtag and then use the profiles for a profile scrape) and then create a schedule on Apify to scrape those profiles daily for new videos. This will be an automated, predictable and consistent way to keep track of the new posts on TikTok.
It does require a bit of work on your part so I suggested, if you want to, to learn more about it here: https://docs.apify.com/platform/integrations/actors, https://docs.apify.com/platform/schedules