TikTok Video & Hashtag Scraper: Posts, Creators & Sounds
Pricing
from $1.13 / 1,000 results
TikTok Video & Hashtag Scraper: Posts, Creators & Sounds
Fast TikTok Video & Hashtag Scraper: extract trending posts, video views, likes, hashtags, creators, sounds, and TikTok Shop affiliate product badges in real time.
Pricing
from $1.13 / 1,000 results
Rating
5.0
(3)
Developer
Magic
Maintained by CommunityActor stats
3
Bookmarked
18
Total users
8
Monthly active users
12 days ago
Last modified
Categories
Features
Share
🎬 TikTok Video & Hashtag Scraper: Posts, Creators, Sounds & Shop Affiliates
Extract trending TikTok videos, creator statistics, hashtag feeds, music metadata, engagement metrics, and TikTok Shop affiliate product indicators at scale.
Designed for social media analysts, influencer marketing agencies, DTC brand managers, content creators, and e-commerce sellers monitoring viral trends and competitor campaigns.
⚡ What is TikTok Video & Hashtag Scraper?
TikTok is the epicenter of viral social media and consumer trends. While manual browsing is slow and official APIs are heavily gated, TikTok Video & Hashtag Scraper gives you instant programmatic access to:
- Hashtag Feeds: Collect top-performing and trending videos under any hashtag (e.g.
fyp,viral,tiktokmademebuyit). - Keyword Search: Find videos and discussions matching any keyword or phrase (e.g.
skincare routine,wireless earbuds). - Direct Video URLs & IDs: Deep-dive into individual TikTok posts to extract complete author bios, sound tracks, video download URLs, and engagement numbers.
- Yellow Shopping Cart Detection: Automatically flags whether a video features a TikTok Shop affiliate product showcase (
hasTikTokShopProduct: true), enabling easy discovery of top-performing affiliate video marketing hooks.
🚀 Key Facts
| Pricing | 💰 $1.50 / 1,000 videos ($0.0015 per result) + $0.00005 start fee |
| Run time (measured) | ⏱️ ~4–8 s for 10 videos of one hashtag |
| TikTok Shop flag | ✅ hasTikTokShopProduct for videos with a linked shop product |
| Engagement rate | ✅ engagement_rate = (likes + comments + shares + saves) / views × 100 |
| Creator stats | ✅ Followers, following, total likes, video count in every record |
| Hashtags | ✅ De-duplicated list plus repetition counts |
| How it works | 🌐 HTTP requests with browser TLS impersonation — no headless browser |
| Account / Cookies | ✅ Not required |
📖 How to Scrape TikTok Videos & Hashtags (Step-by-Step)
- Choose Your Target:
- Enter one or more Hashtags (e.g.
fyp,fitness,dropshipping). - Or enter Search Queries (e.g.
home decor hacks,red light mask). - Or paste specific Video URLs or numeric IDs (e.g.
https://www.tiktok.com/@user/video/7695950482107305247).
- Enter one or more Hashtags (e.g.
- Set Limit: Choose
resultsPerPage(default: 20, prefilled with 5 for quick testing). - Run & Export: Click Start. Export your clean structured dataset to CSV, Excel, JSON, Google Sheets, or integrate directly via API.
💳 How Much Does It Cost?
This Actor operates under Apify's transparent Pay-Per-Event (Pay-Per-Result) model:
- $1.50 per 1,000 videos ($0.0015 per video row).
- $0.00005 start fee per run.
- No subscription required. If a query yields 0 results, you are not charged per-result fees.
📥 Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
#️⃣ hashtags | array[string] | No | [] (prefill: fyp) | List of hashtags to extract (without #). |
🔍 searchQueries | array[string] | No | [] | List of keywords or phrases to search on TikTok. |
🔗 videoUrls | array[string] | No | [] | Direct video URLs or numeric video IDs. |
💯 resultsPerPage | integer | No | 20 | Max videos to extract per hashtag or search query (1 – 1,000). Prefilled with 5 for instant 1-click test runs. |
🌍 countryCode | string | No | "US" | Market region for localized results: US, GB, DE, FR, IT, ES, BR, ID or GLOBAL. |
🌐 proxyConfiguration | object | No | Apify Proxy | Apify Proxy, automatically pinned to the selected country (except GLOBAL). |
📤 Sample Output (JSON)
{"id": "7106886660419259690","text": "#dollartree #craftorganization #tiktokmademebuyit #paintorganization #acrylicpaint #smallbusiness #diy #fyp","textLanguage": "un","createTime": 1654700997,"createTimeISO": "2022-06-08T15:09:57+00:00","isAd": false,"hasTikTokShopProduct": false,"webVideoUrl": "https://www.tiktok.com/@cute.by.ke/video/7106886660419259690","authorMeta": {"id": "6876449323409982469","name": "cute.by.ke","nickName": "Karen Yarborough","profileUrl": "https://www.tiktok.com/@cute.by.ke","verified": false,"signature": "Customizing CUTE gifts and goods for you and yours!","bioLink": null,"avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/68a13f318846162e78820e5d66243e44~tplv-tiktokx-cropcenter:1080:1080.jpeg?...","privateAccount": false,"following": 223,"fans": 43100,"heart": 429000,"video": 832,"digg": 796},"musicMeta": {"musicId": "6943335046212274950","musicName": "original sound","musicAuthor": "Candles of Essence","musicOriginal": true,"playUrl": "https://v16m.tiktokcdn-us.com/...","coverMediumUrl": "https://p19-common-sign.tiktokcdn-us.com/...jpeg"},"videoMeta": {"height": 1024,"width": 576,"duration": 29,"coverUrl": "https://p19-common-sign.tiktokcdn-us.com/...image","definition": "540p","format": "mp4","downloadAddr": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/..."},"diggCount": 294900,"shareCount": 16700,"playCount": 3600000,"collectCount": 25000,"commentCount": 3630,"repostCount": 0,"hashtags": [{"id": null, "name": "dollartree", "title": null, "count": 1},{"id": null, "name": "tiktokmademebuyit", "title": null, "count": 1}],"hashtags_list": ["dollartree", "craftorganization", "tiktokmademebuyit", "paintorganization", "acrylicpaint", "smallbusiness", "diy", "fyp"],"engagement_rate": 9.45,"mentions": [],"isSlideshow": false,"isPinned": false,"isSponsored": false,"input": "tiktokmademebuyit","searchHashtag": {"name": "tiktokmademebuyit","id": "1647119754150918","views": 369800000000,"videoCount": 0},"scraped_at": "2026-10-29T11:03:48.285527+00:00"}
Real record from 2026-10-29; signed CDN URLs and the
hashtagsarray are shortened.
💻 Python & JavaScript Integration
Python (apify-client)
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run_input = {"hashtags": ["fyp", "viral"],"resultsPerPage": 50,}run = client.actor("magic-scraper/tiktok-video-hashtag-scraper").call(run_input=run_input)for video in client.dataset(run["defaultDatasetId"]).iterate_items():print(f"@{video['authorMeta']['name']}: {video['playCount']} views | Shop Product: {video['hasTikTokShopProduct']}")
JavaScript / Node.js (apify-client)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('magic-scraper/tiktok-video-hashtag-scraper').call({hashtags: ['viral'],resultsPerPage: 20});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Extracted ${items.length} viral TikTok videos.`);
🤖 For AI Agents & LLM Apps
Compact reference for AI agents calling this actor via the Apify MCP server or the Apify API (actor: magic-scraper/tiktok-video-hashtag-scraper).
Purpose: Extracts viral TikTok videos by hashtag or search query in real time, collecting view counts, likes, comments, shares, engagement rates, creator profiles, music metadata, and TikTok Shop affiliate product indicators.
Why choose this tool over alternatives:
- Fast HTTP Feeds: Plain HTTP requests instead of browser scrolling; 10 videos of a hashtag take ~4–8 s per run.
- Affiliate & Shop Product Detection: Automatically flags whether a video features a linked TikTok Shop product (
hasTikTokShopProduct: true), enabling instant viral affiliate product discovery. - Automated Engagement Rate Calculation: Pre-computes normalized engagement rates (
(likes + comments + shares + saves) / views * 100) for direct agent ranking. - No Login / Cookies Required: Operates autonomously without TikTok user accounts or session tokens.
- Rich Media & Audio Metadata: Returns direct video URLs, video dimensions, creator follower counts, sound IDs, and audio tracks.
Minimal input:
{"hashtags": ["viral", "tiktokshop"],"resultsPerPage": 20}
Output structure:
Array of video items: id, text, createTime, authorMeta (name, nickName, profileUrl, verified, fans, heart, video), musicMeta (musicName, musicAuthor, playUrl), videoMeta (duration, definition, coverUrl), diggCount (likes), shareCount, playCount (views), collectCount (saves), commentCount, engagement_rate, hashtags_list, hasTikTokShopProduct, scraped_at.
Behaviors an agent should know:
- Set
resultsPerPage(e.g. 10 to 50) to manage token usage and response size for LLM context windows. - Filter by
hasTikTokShopProduct: truein your agent prompt to quickly identify winning viral affiliate marketing creative. - Sort videos by
engagement_rateorplayCountto isolate top creators and trending formats.
🔗 Related TikTok Scrapers
- 🔍 TikTok Shop Search Scraper — Fast keyword product discovery, real-time sales volume, prices, discounts, and best-seller tracking.
- 📦 TikTok Shop Product Scraper — Full SKU variant matrix, real-time inventory stock levels, prices, specifications, and buyer reviews.
SEO Keywords
TikTok video scraper, TikTok hashtag scraper, TikTok viral video tracker, TikTok engagement rate calculator, TikTok creator scraper, TikTok affiliate marketing scraper, TikTok Shop product video finder, TikTok music and sound scraper, scrape TikTok videos without login, TikTok trending videos API, TikTok analytics scraper, TikTok view and like tracker, TikTok data extractor, TikTok influencer discovery, TikTok scraper API.