TikTok Video & Hashtag Scraper: Posts, Creators & Sounds
Pricing
from $1.50 / 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.50 / 1,000 results
Rating
5.0
(3)
Developer
Magic
Maintained by CommunityActor stats
3
Bookmarked
8
Total users
3
Monthly active users
4 days ago
Last modified
Categories
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.
π Why Choose This Scraper Over Competitors?
| Feature | Our TikTok Video Scraper | Competing Scrapers (Clockworks, etc.) |
|---|---|---|
| Pricing | π° $2.00 / 1,000 videos ($0.002/item) | πΈ $3.70 β $10.00 / 1,000 videos |
| Minimal Start Fee | π·οΈ $0.001 | πΈ $0.05 β $0.10 |
| Clean Data & Deduplication | β 100% Unique tags + repetition counts | β Raw duplicate spam tags (often 200+ repeats) |
| Speed | β‘ ~1.5 seconds per request | π’ 5β15 seconds |
| TikTok Shop Product Flag | β
hasTikTokShopProduct included | β Missing or charged as extra add-on |
| Engagement Rate Metric | β
Calculated engagement_rate % | β Manual calculation required |
| Creator Stats | β Followers, total likes, video count | πΈ Often charged extra ($0.004/creator) |
| Music / Audio Details | β Title, author, original audio, CDN URL | β Basic title only |
| Architecture | β Native TLS impersonation (No browser overhead) | β Heavy browser memory crashes |
π 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:
- $2.00 per 1,000 videos ($0.002 per video row).
- $0.001 minimal start fee.
- 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 | ["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 recommendations ("US", "GB", "GLOBAL"). |
π proxyConfiguration | object | No | Datacenter | Proxy configuration. Apify Datacenter or Residential proxy. |
π€ Sample Output (JSON)
{"id": "7695950482107305247","text": "RIPβ€οΈ #sixflags #atlanta #fyp #viral","textLanguage": "en","createTime": 1791853117,"createTimeISO": "2026-10-13T00:58:37.000Z","isAd": false,"hasTikTokShopProduct": false,"webVideoUrl": "https://www.tiktok.com/@_.1lilej1/video/7695950482107305247","authorMeta": {"id": "7066463778688123950","name": "_.1lilej1","nickName": "Elijah","profileUrl": "https://www.tiktok.com/@_.1lilej1","verified": false,"signature": "ATL, Business contact in bio","avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/873f0daa3e984a0d64f35f540748c2d1~tplv-tiktokx-cropcenter:720:720.jpeg","following": 184,"fans": 3851,"heart": 264500,"video": 578},"musicMeta": {"musicId": "7589567274449783565","musicName": "original sound","musicAuthor": "LoverboyMarcus96","musicOriginal": true,"playUrl": "https://v16m.tiktokcdn-us.com/50ed19233999b51431b6013c1f63cd93/6ace4c9a/video/tos/useast5/tos-useast5-v-27dcd7-tx/oIUB4AaTAAXR1DyIgAilxVvPE3ABjO4ECPiPU.mp3"},"videoMeta": {"height": 1280,"width": 720,"duration": 12,"definition": "720p","format": "mp4","coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/o8PzVE1ID3gBYBghAEfjA3B2oFfIUqEEv82RsN~tplv-tiktokx-origin.image"},"diggCount": 44900,"shareCount": 1809,"playCount": 851000,"collectCount": 1501,"commentCount": 614,"engagement_rate": 5.74,"hashtags_list": ["sixflags","atlanta","fyp","viral"],"hashtags": [{"name": "sixflags", "count": 1},{"name": "atlanta", "count": 1},{"name": "fyp", "count": 1},{"name": "viral", "count": 1}],"isSlideshow": false,"input": "viral","searchHashtag": {"name": "viral","views": 49200600000000},"scraped_at": "2026-10-13T09:30:00.000Z"}
π» 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:
- High-Speed Real-Time Feeds: Leverages native API protocol requests (~1s per batch) instead of slow browser scrolling, reducing compute consumption by 85%.
- 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.