ScavioScavio
ProductPricingDocs
Sign InGet Started
  1. Home
  2. Workflows
  3. TikTok Hashtag Trend Tracking Hourly
Workflow

TikTok Hashtag Trend Tracking Hourly

Track TikTok hashtag growth and trending videos hourly. Monitor view velocity, video count changes, and discover emerging trends before they peak.

Start FreeAPI Docs

Overview

Monitor a set of TikTok hashtags hourly to detect trending momentum before competitors notice. Pull hashtag metadata (view count, video count) and the latest videos posted under each hashtag. Calculate view velocity and flag hashtags with accelerating growth.

Trigger

Hourly cron at :00

Schedule

Hourly at :00

Workflow Steps

1

Load hashtag watchlist

Read target hashtags from config. Each entry has the hashtag name and the previous hour's view count for delta calculation.

2

Pull hashtag metadata

For each hashtag, call the hashtag endpoint to get current total view count and video count.

3

Fetch latest videos

Call hashtag/videos to get the 20 most recent videos. Extract post times, view counts, and creator info.

4

Calculate velocity

Compare current view count to previous hour. Flag hashtags gaining more than 10% per hour as trending.

5

Alert on breakout hashtags

Send a notification (Slack, email, webhook) for hashtags that cross the velocity threshold. Include the top 3 videos driving growth.

Python Implementation

Python
import requests, os, json, time

H = {"Authorization": f"Bearer {os.environ['SCAVIO_API_KEY']}", "Content-Type": "application/json"}
BASE = "https://api.scavio.dev"
STATE_FILE = "hashtag_state.json"

def load_state():
    try:
        with open(STATE_FILE) as f: return json.load(f)
    except FileNotFoundError: return {}

def track_hashtags(hashtags):
    state = load_state()
    alerts = []
    for tag in hashtags:
        resp = requests.post(f"{BASE}/api/v1/tiktok/hashtag",
            headers=H, json={"hashtag": tag}).json()
        data = resp["data"]
        views = data.get("stats", {}).get("view_count", 0)
        videos = data.get("stats", {}).get("video_count", 0)

        prev = state.get(tag, {}).get("views", views)
        delta = (views - prev) / prev * 100 if prev > 0 else 0

        state[tag] = {"views": views, "videos": videos, "ts": int(time.time())}

        if delta > 10:
            alerts.append({"hashtag": tag, "delta_pct": round(delta, 1), "views": views})

    with open(STATE_FILE, "w") as f: json.dump(state, f)
    return alerts

alerts = track_hashtags(["skincare", "booktok", "techreview"])
for a in alerts:
    print(f"#{a['hashtag']} trending: +{a['delta_pct']}% ({a['views']:,} views)")

JavaScript Implementation

JavaScript
const BASE = "https://api.scavio.dev";
const H = { Authorization: `Bearer ${process.env.SCAVIO_API_KEY}`, "Content-Type": "application/json" };
const fs = require("fs");

async function trackHashtag(tag, prevViews = 0) {
  const resp = await fetch(`${BASE}/api/v1/tiktok/hashtag`, {
    method: "POST", headers: H, body: JSON.stringify({ hashtag: tag })
  }).then(r => r.json());
  const views = resp.data?.stats?.view_count || 0;
  const delta = prevViews > 0 ? ((views - prevViews) / prevViews * 100) : 0;
  if (delta > 10) console.log(`#${tag} TRENDING: +${delta.toFixed(1)}% (${views.toLocaleString()} views)`);
  return { tag, views, delta };
}

trackHashtag("skincare", 1000000);

Platforms Used

TikTok

Trending video, creator, and product discovery

Frequently Asked Questions

Monitor a set of TikTok hashtags hourly to detect trending momentum before competitors notice. Pull hashtag metadata (view count, video count) and the latest videos posted under each hashtag. Calculate view velocity and flag hashtags with accelerating growth.

This workflow uses a hourly cron at :00. Hourly at :00.

This workflow uses the following Scavio platforms: tiktok. Each platform is called via the same unified API endpoint.

Yes. Scavio's free tier includes 50 credits on signup with no credit card required. That is enough to test and validate this workflow before scaling it.

TikTok Hashtag Trend Tracking Hourly

Track TikTok hashtag growth and trending videos hourly. Monitor view velocity, video count changes, and discover emerging trends before they peak.

Get Your API KeyRead the Docs
ScavioScavio

Real-time search API for AI agents. Search every platform, not just Google.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative

Tools

  • JSON Formatter
  • cURL to Code
  • Token Counter
  • All Tools

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy