TikTok Viral Hook Analyzer: Reels & Shorts Scraper + AI avatar

TikTok Viral Hook Analyzer: Reels & Shorts Scraper + AI

Pricing

from $3.00 / 1,000 analyzed videos

Go to Apify Store
TikTok Viral Hook Analyzer: Reels & Shorts Scraper + AI

TikTok Viral Hook Analyzer: Reels & Shorts Scraper + AI

Find the hooks behind the most viral TikToks, Instagram Reels and YouTube Shorts in any niche: the first 3 seconds, hook type, how each video beat its creator's average, why it works, templates and new hooks.

Pricing

from $3.00 / 1,000 analyzed videos

Rating

0.0

(0)

Developer

Ingeniela

Ingeniela

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Viral Hook Analyzer: TikTok, Instagram Reels and YouTube Shorts with AI

Find out why the top videos in your niche get watched. The Actor collects the most viewed TikToks, Instagram Reels or YouTube Shorts for your hashtags, searches or competitor profiles, reads the first 3 seconds of each one (the hook), classifies the hook, and tells you which kinds of hook get the most views. With AI insights on, every hook comes with why it works, a reusable template, and two new hooks written for your niche, plus a playbook for the whole run.

HTML report of a real run: hook types ranked by median views, best video length and the top 15 hooks

Real report from a run on #skincare and #skincareroutine (18 videos, 6 ads skipped), with AI insights off. A POV hook got 1.99× the median views. With AI insights on, each hook also gets why it works, a reusable template and new hooks for your niche, and the report starts with a playbook.

Tutorial (1 minute)

Step-by-step tutorial: what to fill in, click Start, the real result and the price

Every result in this tutorial comes from a real run.

What you get

  • Three platforms: TikTok, Instagram Reels and YouTube Shorts (choose in Platform).
  • The spoken hook, taken from the subtitles (first 3 seconds) on TikTok and YouTube Shorts, or the caption's first line when a video has no subtitles.
  • On-screen text (optional, AI vision): the words written on the cover / first frame. When a video has no spoken hook, that text becomes the hook. Ideal for Reels.
  • Versus the creator's own average: each video's views divided by its creator's median views in the run (viewsVsCreatorMedian). A video at 4× its creator's median is a real outlier, not just a big account. The report lists the top outliers.
  • Hook type in 12 categories: warning, secret, list, how-to, POV, before/after, story, hot take, calls out the viewer, question, outcome promise, direct statement. Spanish and English.
  • Performance per hook type: median views, engagement and lift against the run's median.
  • Length analysis: which video lengths get the most views.
  • AI insights (optional): why each hook works, a template with blanks, 2 rewrites for your niche and brand.
  • Playbook: the 3-5 patterns that win in this niche, 10 hook ideas to film this week, do's and don'ts.
  • HTML report in the key-value store (REPORT), and the full summary as JSON (SUMMARY).

Input example

{
"hashtags": ["skincare", "rutinadeskincare"],
"profiles": ["competitor_brand"],
"videosPerSource": 30,
"minViews": 10000,
"yourNiche": "skincare con péptidos para mujeres 30+",
"yourBrand": "Pepfine",
"reportLanguage": "es"
}

Output (one row per video)

{
"videoUrl": "https://www.tiktok.com/@creator/video/123",
"hook": "Deja de usar vitamina C así si tienes piel sensible",
"hookSource": "spoken",
"hookType": "warning",
"views": 1250000,
"engagementRate": 0.087,
"aiWhyItWorks": "Señala un error que el espectador puede estar cometiendo, así que se queda para saber cuál es.",
"aiTemplate": "Deja de usar [INGREDIENTE] así si tienes [PROBLEMA]",
"aiRewrites": ["Deja de aplicar péptidos así si tienes piel madura", "..."],
"durationSeconds": 22,
"author": "creator"
}

How to use it

  1. Add 1-3 hashtags of your niche and, if you want, 3-5 competitor profiles.
  2. Write Your niche in one line (for example "skincare with peptides for women 30+"), so the new hooks fit you.
  3. Click Start. A run with 30 videos per source takes about 2-4 minutes.
  4. Open REPORT in the Storage tab for the visual report, or the Hooks view of the dataset for the table.
  5. Copy the templates and rewrites into your next scripts.

How it works

  1. Collects the videos on your Apify account: TikTok with subtitles (about US$0.0037 per video), Instagram Reels (about US$0.0026 per reel) or YouTube Shorts with subtitles (about US$0.004 per Short). Cap it with Max spend on collecting videos.
  2. Downloads each video's subtitles and keeps the words spoken before second 3.
  3. Classifies the hook with bilingual rules, then (optionally) refines it with AI.
  4. Ranks hook types and lengths by median views, and writes the playbook and report.

AI providers

AI insights work with the provider you already use. Add one key, or none to use the built-in AI.

ProviderKeyDefault model
AnthropicanthropicApiKeyclaude-opus-5-5
OpenAIopenaiApiKeygpt-6.1-terra
OpenRouteropenrouterApiKeyanthropic/claude-sonnet-5.5 (any model id from openrouter.ai/models works)
Google GeminigeminiApiKeygemini-3.6-flash
xAI (Grok)xaiApiKeygrok-4.7
DeepSeekdeepseekApiKeydeepseek-v4-pro
MistralmistralApiKeymistral-large-latest

With your own key, that provider bills you directly and the AI events below are not charged. Without any key, the AI insights are simply skipped and you still get the full rule-based analysis.

Pricing

Pay per event, on top of collecting the videos:

EventPriceWhen
video-analyzedUS$0.003Each video row in the results
ai-video-insightUS$0.02Each video with AI insights (built-in AI only)
hook-playbookUS$0.10The AI playbook, once per run (built-in AI only)
on-screen-textUS$0.005Each cover read with AI vision (built-in AI only, when Read on-screen text is on)

Examples: 50 videos without AI cost US$0.15. 50 videos with the built-in AI cost US$0.15 + US$1.00 + US$0.10 = US$1.25. With your own AI key, the same run costs US$0.15 here plus what your provider bills (usually a few cents).

FAQ

Why are some videos missing? Ads are skipped (turn on Include ads to keep them) and so are videos under Minimum views. The final status message says how many were skipped.

Where does the hook come from? From TikTok's own subtitles: the words spoken before second 3. Videos without subtitles use the first line of their caption (hookSource: "caption"), unless you turn on Transcribe videos without subtitles.

Does it work in Spanish? Yes. Hook types are detected in Spanish and English, and the report and AI insights can be in Spanish or English.

Can I analyse Instagram Reels or YouTube Shorts? Not yet; TikTok only for now.

Tips

  • 20-50 videos per source is enough to see patterns; more makes the medians steadier.
  • Analyse 3-5 competitor profiles plus 1-2 hashtags for a niche-specific playbook.
  • Turn on Transcribe videos without subtitles when your niche has many videos without captions.

Development

python -m pytest tests -q # offline unit tests
python scripts/smoke_test.py ./tmp-smoke # full run with a fake scraper and a fake AI
apify push # deploy

Set ANTHROPIC_API_KEY, OPENAI_API_KEY or OPENROUTER_API_KEY as a secret environment variable to offer the built-in AI.