Tiktok Data Scarper avatar
Tiktok Data Scarper

Pricing

from $8.00 / 1,000 results

Go to Apify Store
Tiktok Data Scarper

Tiktok Data Scarper

Developed by

Sachin Kumar Yadav

Sachin Kumar Yadav

Maintained by Community

Extract trending videos, profiles, comments, music, and HD video details with a fast, reliable TikTok Data Scraper for Apify.

0.0 (0)

Pricing

from $8.00 / 1,000 results

0

4

4

Last modified

5 days ago

TikTok Data Scraper ⚡

Super-fast TikTok Data Scraper to collect trending videos, search results, profiles, comments, music data, and direct video details by URL in HD. Built for Apify Actors, designed for scale, and easy to configure.


Why use this TikTok Data Scraper? 🚀

  • High coverage: Trending, Search, Profiles, Comments, Music, and Video-by-URL (HD)
  • Scalable: Batched writes, retries, and key rotation for resilient large runs
  • Clean JSON output: Structured, ready for analytics, dashboards, and pipelines

Target keyword: TikTok Data Scraper

Related keywords: TikTok scraping, TikTok API alternative, TikTok trends, TikTok user data, TikTok comments scraper, TikTok music scraper, TikTok video downloader HD, TikTok analytics, social media data extraction, TikTok crawler.


Table of Contents 📚


Features ✨

ModuleWhat you getInput switches
Trending feedPopular videos by regiontrending_enabled, trending_region, trending_count
SearchVideos, photos, challenges, users by keywordsearch_enabled, search_keywords, search_*
ProfilesPosts, profile info, followers, followinguser_enabled, user_*
CommentsTop-level comments and repliescomment_enabled, comment_*
MusicMusic info and postsmusic_enabled, music_*
Video by URL (HD)Direct video details and media linksvideo_enabled, video_urls, video_hd

This TikTok Data Scraper is ideal for marketing analytics, creator dashboards, research, content curation, and social media intelligence.


How it works 🧠

  • The Actor orchestrates multiple TikTok data endpoints defined in main.js.
  • Requests are retried with small backoffs and key rotation for reliability.
  • Results are buffered and pushed to the default dataset for performance.

Input configuration ⚙️

Reference of commonly used inputs.

GroupKeyTypeDefaultDescription
Trendingtrending_enabledbooleanfalseEnable trending feed
trending_regionstringusRegion code
trending_countinteger10Number of items
Searchsearch_enabledbooleanfalseEnable search
search_keywordsarray[string]Keywords list
search_regionstringusRegion for feed/photo search
search_videos_per_keywordinteger10Items per keyword
search_enable_userbooleanfalseInclude user search
search_enable_photobooleanfalseInclude photo search
search_enable_challengebooleanfalseInclude challenge search
search_publish_timeinteger0Publish time filter (epoch)
search_sort_typeinteger0Sort type
Profilesuser_enabledbooleanfalseEnable profile data
user_idsarray[string]Numeric user IDs
user_videos_per_userinteger10Max posts per user
user_fetch_postsbooleantrueFetch user posts
user_fetch_infobooleantrueFetch profile info
user_fetch_followersbooleanfalseFetch followers
user_fetch_followingbooleanfalseFetch following
user_fetch_favoritebooleanfalseFetch favorites
user_timeinteger0Pagination time
Commentscomment_enabledbooleanfalseEnable comments
comment_video_urlsarray[string]Video URLs to fetch comments for
comment_videos_per_urlinteger10Max comments per video
comment_reply_video_idstringVideo ID for replies
comment_reply_comment_idstringComment ID for replies
Musicmusic_enabledbooleanfalseEnable music module
music_idsarray[string]Music IDs for posts
music_urlsarray[string]Music URLs for info
music_videos_per_musicinteger10Max posts per music
Video URLvideo_enabledbooleanfalseEnable direct video-by-URL
video_urlsarray[string]TikTok video page URLs
video_hdbooleantrueRequest HD when available

Example inputs 📥

1) Direct Video-by-URL (HD)

{
"video_enabled": true,
"video_urls": [
"https://www.tiktok.com/@tiktok/video/7516594811734854943"
],
"video_hd": true
}
{
"trending_enabled": true,
"trending_region": "us",
"trending_count": 20,
"search_enabled": true,
"search_keywords": ["recipes", "travel"],
"search_region": "us",
"search_videos_per_keyword": 10,
"search_enable_user": true
}

3) Profiles + Comments

{
"user_enabled": true,
"user_ids": ["7098999999999999999"],
"user_fetch_posts": true,
"user_fetch_info": true,
"comment_enabled": true,
"comment_video_urls": [
"https://www.tiktok.com/@someuser/video/7123456789012345678"
],
"comment_videos_per_url": 25
}

Example outputs 📤

Results are written to the default dataset as structured JSON.

  • Video by URL (source: "video", subtype: "by_url")
{
"source": "video",
"subtype": "by_url",
"url": "https://www.tiktok.com/@tiktok/video/7516594811734854943",
"hd": true,
"data": { /* provider response with video details and media links */ }
}
  • Trending (source: "trending")
{
"source": "trending",
"region": "us",
"aweme_id": "xxxx",
"desc": "...",
"author": { /* ... */ },
"statistics": { /* ... */ }
}
  • Search (videos) (source: "search", subtype: "feed_search")
{
"source": "search",
"subtype": "feed_search",
"keywords": "recipes",
"aweme_id": "xxxx",
"desc": "..."
}
  • Summary item at the end:
{
"success": true,
"pages_fetched": 3,
"total_pushed": 421,
"fetched_at": "2025-01-01T12:34:56.000Z"
}

Best practices 🧩

  • Keep count small when testing to validate shapes and speed.
  • Use the example inputs to start with a focused data slice.

FAQ ❓

  • Is login required?
    • No. This TikTok Data Scraper uses public data.
  • Can I get HD media links?
    • Yes, enable video_enabled and set video_hd to true.
  • Where do results go?
    • The default Apify dataset for the run.

Best hashtags for discoverability 🏷️

#TikTokDataScraper #TikTokScraper #TikTokAnalytics #SocialData #DataScraping #SocialMediaTools #GrowthHacking #MarketingAnalytics #CreatorEconomy #OpenData


Changelog 📦

  • Added direct Video-by-URL (HD) support via video_enabled, video_urls, video_hd.
  • Expanded input schema with modular controls for Search, Profiles, Comments, and Music.