Tiktok Trending Videos Scraper
Pricing
$39.00/month + usage
Tiktok Trending Videos Scraper
Discover trending TikTok videos with a powerful API π. Effortlessly extract data for competition monitoring, market research, and trend analysis. Enhance engagement by analyzing popular trends and content within your niche and country.
Pricing
$39.00/month + usage
Rating
5.0
(11)
Developer
Lexis Solutions
Maintained by CommunityActor stats
61
Bookmarked
718
Total users
5
Monthly active users
2 days
Issues response
5 days ago
Last modified
Categories
Share

Discover what resonates on TikTok and enhance your engagement with your audience.
What is TikTok Trending Videos Scraper?
TikTok Trending Videos Scraper collects trending TikTok videos for a country you choose. You set the sort order (video views, engagement rate, or 6-second view-through rate), time window (last 7 or 30 days), and optional capsβno profile URLs are required.
β οΈ Session cookies (optional but recommended): Without an authenticated session, TikTok only returns the top few public trending videos. To scrape the full list (up to 100), provide your TikTok Creative Center session cookies in the Session Cookies input. Cookies expire periodically β when a run reports an invalid or expired session, re-export and update them.
How to obtain your cookies:
- Install the Cookie-Editor Chrome extension.
- Go to ads.tiktok.com and log in.
- Open the Cookie-Editor extension and export your cookies in JSON format.
- Copy the exported cookie data and paste it into the "Session Cookies" input field.
What TikTok videos data can I extract?
With this TikTok API, you will be able to extract the following data from TikTok videos:
- Item ID: Unique ID of the video.
- Item URL: Direct link to the video on TikTok.
- Cover Image: Thumbnail of the video.
- Video URL: Direct (expiring) video link.
- Video Title: Title/caption of the video.
- Author: Handle, nickname, avatar, bio, and follower count of the creator.
- Engagement Metrics: Video views, organic video views, engagement rate, and 6-second view-through rate (for the selected period and lifetime).
- Top Comments: Optional β the video's most-liked comments (when detailed data is enabled).
and more!
Why scrape TikTok videos?
-
Competition Monitoring: Identify what successful videos are doing right, or wrong, and how you can improve your content strategy.
-
Market Research: Analyze popular trends and content within your niche and country
-
Data-Driven Strategy: Use the extracted data to inform your content and marketing strategy.
-
Trend Analysis: Monitor trends and brand sentiment, using the data to make informed decisions.
How do I use TikTok Trending Videos Scraper?
TikTok Trending Videos Scraper is designed to be user-friendly, even if you've never extracted data from the web before. Here's how you can scrape TikTok data with this tool:
- Create a free Apify account using your email.
- Open TikTok Trending Videos Scraper.
- Choose the input parameters you want to use.
- Click "Start" and wait for the data to be extracted.
- Download your data in JSON, XML, CSV, Excel, or HTML format.
π₯ Input
The actor does not take TikTok profile or video URLs. You pass a country code, sort order, period, and optional limitsβsee the fields below.
| Field | Description |
|---|---|
countryCode | Region for trending videos. TikTok currently publishes a trending videos list only for US, JP, VN, TH, and ID. Required. |
sortBy | How to rank results: views (video views), engagement (engagement rate), or vtr (6-second view-through rate). |
period | 7 = last 7 days, 30 = last 30 days. |
maxItems | Maximum videos to collect (default in the schema: 3; up to 100). |
includeDetailedVideoData | If true, fetches each video's top comments in addition to the list data; slower (one extra request per video). |
cookies | Optional TikTok Creative Center session cookies (JSON export). Required to unlock the full list. |
proxyConfiguration | Optional Apify Proxy settings. |
Example JSON:
{"countryCode": "US","sortBy": "views","maxItems": 100,"period": "7","includeDetailedVideoData": false,"cookies": [{ "name": "sessionid", "value": "<your-session-value>" }]}
includeDetailedVideoData (optional) fetches each video's top comments. Enabling it makes the run slower as it performs an extra request per video.
π€ Output
The results will be wrapped into a dataset which you can find in the Storage tab. Here's an excerpt from the dataset you'd get if you apply the input parameters above:
[{"id": "7649219659287334158","item_id": "7649219659287334158","item_url": "https://www.tiktok.com/@emilysentner/video/7649219659287334158","title": "he's loving it #loveisland","cover": "https://p16-common-sign.tiktokcdn-us.com/...tplv-tiktokx-origin.image?...","video_url": "https://v16m-default.tiktokcdn-us.com/...","content_type": 1,"create_time": 1780972749,"rank": 1,"country_code": "US","region": "United States","period": "7","sort_by": "views","author": {"id": "7065438769372987398","handle": "emilysentner","nickname": "Emily","avatar": "https://p19-common-sign.tiktokcdn-us.com/...","bio": "24 | NC","followers": 1195250},"video_views": 55083015,"video_views_lifetime": 157573458,"organic_video_views": 9559044,"organic_video_views_lifetime": 30591250,"engagement_rate": 0.006171,"engagement_rate_lifetime": 0.009213,"six_seconds_vtr": 0.05298,"six_seconds_vtr_lifetime": 0.055773,"top_comments": [],"videoUrl": "https://v16m-default.tiktokcdn-us.com/...","duration": null,"likes": null,"comments": null,"bookmarks": null,"shares": null}]
When includeDetailedVideoData is true, each item's top_comments array is populated with the video's top comments, for example:
{"top_comments": [{"id": "7653564531784778527","text": "How do people watch this show","likes": 38,"create_time": 1781984406,"user_id": "7043554351084651526","user_name": "Yoboi Chauncey","user_avatar": "https://sf16-passport-va.ibytedtos.com/..."}]}
You can choose in which format to download your TikTok data: CSV, Excel spreadsheet, JSON, JSONL, HTML table, or XML.
For further assistance, feel free to reach out to our support team or consult the Apify documentation. Happy scraping!
Why use TikTok Trending Videos Scraper?
-
β‘οΈ Fast - Collects trending lists efficiently for the country and filters you choose.
-
π€ Easy to use - No coding required: pick country, sort order, and period in the input form and start the run.
-
βοΈ Well-Maintained - Maintained by the Lexis Solutions team so it stays compatible with TikTokβs trending surfaces.
FAQ
-
How to find trending videos on TikTok?
To find trending videos on TikTok, you can use the TikTok Trending Videos Scraper. You choose a country, sort order (video views, engagement rate, or 6-second view-through rate), and time window (7 or 30 days).
-
Is there a trending videos API for TikTok?
Currently, there is no official API for TikTok trending videos. However, you can use the TikTok Trending Videos Scraper to extract data from trending videos on TikTok.
-
How to scrape TikTok videos data?
To scrape trending TikTok video data, use TikTok Trending Videos Scraper on Apify: set country, sortBy, period, and maxItems (and optional includeDetailedVideoData), then start the actor.
-
Is scraping TikTok data legal?
Scraping TikTok data is legal as long as you comply with TikTok's terms of service. Make sure to read and understand TikTok's terms of service before scraping any data.
-
How much does it cost? The cost for using the TikTok Trending Videos Scraper is shown on the top of this page. You can also check the Apify Store page for more information.
Need to scrape more trends on TikTok?
π TikTok Trending Creators API/Scraper
π TikTok Trending Songs API/Scraper
π TikTok Trending Hashtags API/Scraper
π p.s.
Got feedback or need an extension?
Lexis Solutions is a certified Apify Partner. We can help you with custom solutions or data extraction projects.
Contact us over Email or LinkedIn
Support Our Work π
If you're happy with our work and scrapers, you're welcome to leave us a company review here and leave a review for the scrapers you're subscribed to. It will take you less than a minute but it will mean a lot to us!