TikTok Video & Hashtag Scraper: Posts, Creators & Sounds avatar

TikTok Video & Hashtag Scraper: Posts, Creators & Sounds

Pricing

from $1.50 / 1,000 results

Go to Apify Store
TikTok Video & Hashtag Scraper: Posts, Creators & Sounds

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

Magic

Maintained by Community

Actor stats

3

Bookmarked

8

Total users

3

Monthly active users

4 days ago

Last modified

Share

🎬 TikTok Video & Hashtag Scraper: Posts, Creators, Sounds & Shop Affiliates

TikTok Video & Hashtag Scraper No Cookies Required Pay-Per-Result Speed Export

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:

  1. Hashtag Feeds: Collect top-performing and trending videos under any hashtag (e.g. fyp, viral, tiktokmademebuyit).
  2. Keyword Search: Find videos and discussions matching any keyword or phrase (e.g. skincare routine, wireless earbuds).
  3. Direct Video URLs & IDs: Deep-dive into individual TikTok posts to extract complete author bios, sound tracks, video download URLs, and engagement numbers.
  4. 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?

FeatureOur TikTok Video ScraperCompeting 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)

  1. 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).
  2. Set Limit: Choose resultsPerPage (default: 20, prefilled with 5 for quick testing).
  3. 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

ParameterTypeRequiredDefaultDescription
#️⃣ hashtagsarray[string]No["fyp"]List of hashtags to extract (without #).
πŸ” searchQueriesarray[string]No[]List of keywords or phrases to search on TikTok.
πŸ”— videoUrlsarray[string]No[]Direct video URLs or numeric video IDs.
πŸ’― resultsPerPageintegerNo20Max videos to extract per hashtag or search query (1 – 1,000). Prefilled with 5 for instant 1-click test runs.
🌍 countryCodestringNo"US"Market region for localized recommendations ("US", "GB", "GLOBAL").
🌐 proxyConfigurationobjectNoDatacenterProxy 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 ApifyClient
client = 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: true in your agent prompt to quickly identify winning viral affiliate marketing creative.
  • Sort videos by engagement_rate or playCount to isolate top creators and trending formats.

  • πŸ” 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.