TikTok Hashtag Scraper avatar

TikTok Hashtag Scraper

Pricing

from $2.00 / 1,000 videos

Go to Apify Store
TikTok Hashtag Scraper

TikTok Hashtag Scraper

Input hashtags or TikTok video URLs, with options to set max videos per hashtag, enable comment scraping, and configure proxy settings. Outputs full video data: engagement metrics, direct video URLs, thumbnails, author info, music details, hashtags, mentions, and comments with author profiles.

Pricing

from $2.00 / 1,000 videos

Rating

0.0

(0)

Developer

CodeNest

CodeNest

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Share

🎵 TikTok Hashtag Scraper - Ultimate Hashtag Video & Comment Extractor

Effortlessly scrape TikTok videos by hashtag with our powerful TikTok Hashtag Scraper! This Apify actor enables bulk hashtag-based video discovery, complete metadata extraction, engagement metrics, and optional comment scraping.


📋 Overview

Need to track trending hashtags, analyze viral content, or build TikTok datasets? This TikTok Hashtag Scraper delivers:

  • 🎯 Hashtag-Based Discovery - Scrape videos from multiple hashtags
  • 📊 Complete Video Metadata - Titles, durations, engagement metrics
  • 💬 Comment Extraction - Optional comment scraping with author details
  • 🎵 Music Information - Track details and audio URLs
  • 👤 Author Profiles - Creator usernames, nicknames, and avatars
  • 🎬 Direct Video URLs - Downloadable video links
  • 🌐 Proxy Support - Built-in Apify residential proxy integration

Perfect for social media managers 📈, trend analysts 📊, content creators 🎭, and researchers 🔬!


⭐ Core Capabilities of TikTok Hashtag Scraper

🎯 Hashtag Discovery

  • Multiple Hashtag Support - Scrape videos from multiple hashtags in one run
  • Configurable Limits - Set max videos per hashtag
  • Direct Video URLs - Scrape specific videos by URL
  • Trend Detection - Discover trending content by hashtag

📊 Video Data Extraction

  • Complete Video Info - Title, duration, and source URL
  • Engagement Metrics - Likes, comments, saves, shares, and plays
  • Video Download URLs - Direct CDN video links
  • Thumbnail Extraction - High-quality video covers

💬 Comment Scraping

  • Comment Extraction - Optional comment scraping per video
  • Author Details - Commenter usernames, nicknames, avatars
  • Engagement Data - Comment likes and reply counts
  • Timestamps - Comment creation dates and times
  • Configurable Limits - Set max comments per video

🎵 Music & Author Data

  • Music Information - Track ID, title, author, and play URL
  • Duration Detection - Audio track length
  • Author Profiles - Creator ID, username, nickname, avatar
  • Verification Status - Author verification detection

🏷️ Hashtag & Mention Extraction

  • Hashtag Detection - All hashtags from video titles
  • Mention Detection - All @mentions from titles
  • Multi-Hashtag Support - Handle videos with multiple hashtags

⚙️ Input Configuration

Simply enter hashtags or video URLs, configure limits, and click "Start". Input looks like this:

{
"hashtags": [
"viral",
"challange",
"video"
],
"max_videos_per_hashtag": 50,
"proxy": {
"useApifyProxy": true,
"apifyProxyGroups": [
"RESIDENTIAL"
]
},
"scrape_comments": true,
"video_urls": [
{
"url": "https://www.tiktok.com/@alc.sakib2.0/video/7684494222770277650",
"method": "GET"
}
],
"max_comments": 50
}

📝 Input Specifications

ParameterTypeRequiredDefaultDescription
hashtagsArray❌ No[]Hashtags to scrape videos from
video_urlsArray❌ No[]Direct video URLs to scrape
max_videos_per_hashtagInteger❌ No50Maximum videos per hashtag
scrape_commentsBoolean❌ NofalseEnable comment scraping
max_commentsInteger❌ No50Maximum comments per video
proxy.useApifyProxyBoolean❌ NotrueEnable Apify proxy
proxy.apifyProxyGroupsArray❌ No["RESIDENTIAL"]Proxy groups

📤 Output Structure

Your TikTok Hashtag Scraper produces comprehensive video data with engagement metrics and comments:

{
"video_num": 1,
"hashtag": "#viral",
"id": "7691749083597294879",
"source_url": "https://www.tiktok.com/@sky1760/video/7691749083597294879",
"video_url": "https://v16m.tiktokcdn-us.com/...",
"title": "Stank face #fypシ #viral #music #forfun #fyp ",
"duration": 14,
"uploader": "Sky",
"like_count": 2990,
"comment_count": 32,
"save_count": 410,
"share_count": 92,
"play_count": 24009,
"thumbnail": "https://p19-common-sign.tiktokcdn-us.com/...",
"hashtags": ["viral", "fypシ", "music", "forfun", "fyp"],
"mentions": [],
"author": {
"id": "6808624114987697154",
"username": "sky1760",
"nickname": "Sky",
"avatar": "https://p16-common-sign.tiktokcdn-us.com/...",
"verified": false
},
"music": {
"id": "7680374242605943583",
"title": "Bow Bow Bow Zeddy Will x RaeSam",
"author": "RaeSam",
"play_url": "https://sf19.tiktokcdn-us.com/obj/ies-music-tx2/7685823574128593694.mp3",
"duration": 21
},
"comments": [
{
"id": "7691799563662000909",
"text": "It's ok stink I'll teach",
"like_count": 8,
"reply_count": 1,
"create_time": 1790886682,
"created_at": "2026-10-01 20:31:22",
"author_username": "dauglyboyz",
"author_nickname": "Keem",
"author_avatar": "https://p16-common-sign.tiktokcdn-us.com/..."
}
]
}

📖 Output Field Documentation

🔹 Video Identification

FieldDescription
video_numSequential video number
hashtagSource hashtag used for scraping
idTikTok video ID (unique)
source_urlDirect TikTok video URL

🔹 Video Metadata

FieldDescription
titleVideo title/caption with hashtags
durationVideo length in seconds
uploaderVideo uploader nickname
video_urlDirect CDN video download URL
thumbnailHigh-quality video cover image

🔹 Engagement Metrics

FieldDescription
like_countTotal likes
comment_countTotal comments
save_countTotal saves
share_countTotal shares
play_countTotal video plays

🔹 Content Analysis

FieldDescription
hashtagsAll hashtags from video title
mentionsAll @mentions from video title

🔹 Author Information

FieldDescription
author.idAuthor unique ID
author.usernameAuthor TikTok handle
author.nicknameAuthor display name
author.avatarAuthor profile picture URL
author.verifiedVerification badge status

🔹 Music Information

FieldDescription
music.idMusic track ID
music.titleMusic track title
music.authorMusic artist name
music.play_urlDirect audio play URL
music.durationAudio track duration

🔹 Comments Data (when enabled)

FieldDescription
idComment unique ID
textComment text content
like_countComment likes
reply_countComment replies
create_timeComment timestamp (Unix)
created_atComment timestamp (formatted)
author_usernameCommenter username
author_nicknameCommenter display name
author_avatarCommenter profile picture

🎨 Key Features of This TikTok Hashtag Scraper

📊 Engagement Analytics

  • Complete Metrics - Likes, comments, saves, shares, plays
  • Cross-Video Comparison - Compare performance across hashtags
  • Trend Analysis - Identify viral content patterns
  • Engagement Ratios - Calculate interaction rates

💬 Comment Intelligence

  • Comment Extraction - Full comment text and metadata
  • Author Details - Commenter profiles and avatars
  • Engagement Tracking - Comment likes and replies
  • Timeline Analysis - Comment creation timestamps

🎵 Music & Audio Data

  • Track Information - Music ID, title, and artist
  • Audio URLs - Direct MP3 play links
  • Duration Detection - Audio track length
  • Trending Sounds - Discover popular audio tracks

🎬 Complete Media Extraction

  • Video Download URLs - Direct CDN links
  • High-Quality Thumbnails - Video cover images
  • Author Avatars - Profile pictures
  • Multiple URL Support - Direct video scraping

🚀 Performance Features

  • Multi-Hashtag Support - Scrape multiple hashtags
  • Configurable Limits - Control video and comment counts
  • Proxy Rotation - Residential proxy support
  • Timestamp Tracking - Precise timing data

💡 Use Cases for TikTok Hashtag Scraper

  • 📈 Trend Analysis - Track viral hashtag performance
  • 📊 Content Strategy - Analyze top-performing videos
  • 🎭 Creator Research - Study successful content patterns
  • 💬 Sentiment Analysis - Analyze comment engagement
  • 🎵 Music Discovery - Track trending sounds
  • 🔬 Social Research - Study social media dynamics
  • 📱 Marketing Campaigns - Identify hashtag opportunities
  • 🎯 Competitive Analysis - Benchmark against competitors

✨ Why Choose Our TikTok Hashtag Scraper?

  • ⚡ Fast & Efficient - Quick hashtag video extraction
  • 🎯 100% Accurate - Preserves all data without alteration
  • 📦 Complete Data - Everything from engagement to comments
  • 🔄 Regular Updates - Adapts to TikTok changes
  • 🛡️ Production Ready - Reliable with thousands of videos
  • 💰 Cost Efficient - Optimized for minimal compute time
  • 🔒 Privacy Focused - No personal data stored or shared

⚠️ Limitations

  • Only works with public TikTok videos
  • Private accounts are not accessible
  • Comment scraping adds additional processing time
  • Rate limits may apply for high-volume scraping
  • Video URLs may expire after a certain period

📧 Need Custom Features for Your TikTok Hashtag Scraper?

Want additional video fields, specific hashtag filters, custom output formats, advanced analytics, or automated reporting?

✉️ Email codenest2.0@gmail.com for tailored enterprise solutions!