
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.3 (24)
Pricing
Pay per event
602
Total users
54K
Monthly users
11K
Runs succeeded
98%
Issues response
1.3 days
Last modified
a day ago
Tiktok crawling pulls from published dates too long ago
Closed
Not sure if i don't have it set up right but I am trying to scrape tiktok videos for specific hashtag, for example marriage or relationship. I want to scrape over a defined period of time based on when the video was published for example last 90 days. I have been using the last 90 days but it have been scraping videos further than 90 days and in some cases years previous. Would you be able to let me know what is the past way to only scrape recently published tiktok videos?
Here is the json code i am sending to apify for reference: { "excludePinnedPosts": false, "proxyCountryCode": "None", "resultsPerPage": {{ $json['Max Results'] }}, "searchQueries": [ "{{ $json.Keywords }}" ], "oldestPostDateUnified": "{{ $json['Date Range'] === 'Last 7 Days' ? '7 days' : $json['Date Range'] === 'Last 30 Days' ? '30 days' : '90 days' }}", "shouldDownloadAvatars": false, "searchSection": "/video", "shouldDownloadCovers": false, "shouldDownloadMusicCovers": false, "shouldDownloadSlideshowImages": true, "shouldDownloadSubtitles": true, "shouldDownloadVideos": false }

Hello! The date filter will only work on profiles, not on keywords or hashtags. Since TikTok does not provide filtering on their app, we cannot offer it. So You will need something like this:
{"oldestPostDateUnified": "30 days","profiles": ["USERNAME_OR_PROFILE_URL"],"resultsPerPage": 100}
And you will get up to 100 videos posted in the last 30 days for each of the username in the profiles
array.
I hope this helps. I'll close the issue but feel free to ask more questions if you want to.