TikTok trend monitoring: track velocity, not just views
All Them APIs
Independent API research
A video with a million views may have stopped growing last week. A smaller video may be accelerating right now. A TikTok trend monitoring API workflow needs repeated observations to tell those situations apart.
Build a watchlist that answers a narrow question: which public videos in our chosen topic and collection region gained attention between two successful checks? The deliverable is a research queue, not a claim to reproduce everyone's For You feed.
Choose a feed and a topic separately
A regional feed provides discovery candidates. Keyword or hashtag search narrows a subject. Neither establishes that a video was created in the collection region, or that its audience lives there.
For example, ScrapeCreators' trending-feed reference describes its required region parameter as the proxy country affecting content availability. Keep that collection setting in the record rather than relabeling it creator location. Compare this direct-read approach with scheduled dataset collectors in the TikTok provider directory.
Start with one region, a short topic list and a fixed page budget. Expanding all three at once changes the sample, making an apparent increase impossible to interpret.
Store observations, not an overwritten counter
Use a stable video identifier as a string. Keep publication time separate from collection time, and retain the canonical source URL, discovery query, region, provider and cache policy.
| Record | Why it belongs in the monitor |
|---|---|
| Video ID and source URL | Merge repeated discoveries without losing the reference |
| Published time, if known | Compare videos at similar ages |
| Collected time | Establish the interval between observations |
| Observed view count | Calculate a change, not an audience estimate |
| Provider, region and cache age | Explain how this observation was obtained |
| Collection outcome | Distinguish a successful check from a gap |
Do not replace a failed observation with a zero-view snapshot. A deleted video, unavailable page and successful empty discovery call are different states.
Calculate growth only across comparable snapshots
This local JavaScript example accepts an application-owned observation shape. It makes no API call and contains no measured provider result.
function observedViewsPerHour(previous, current) {
if (previous.videoId !== current.videoId) return null;
const hours = (Date.parse(current.collectedAt) - Date.parse(previous.collectedAt)) / 3600000;
if (!Number.isFinite(hours) || hours <= 0 || hours > 6) return null;
if (![previous.views, current.views].every(Number.isFinite)) return null;
if (previous.views < 0 || current.views < previous.views) return null;
return (current.views - previous.views) / hours;
}
The six-hour maximum is an example monitoring policy, not a TikTok requirement. Choose an interval appropriate to the job. A decreasing counter should trigger investigation, not a negative-growth headline: the provider may have corrected a value or returned a different cached state.
For a worked fixture, 2,000 additional views over two hours yields 1,000 observed views per hour. That is a counter delta in your collected sample, not unique viewers, incremental sales or platform-wide trend rank.
Alert on a transition, not every refresh
Give each candidate an alert state. Queue it once when it crosses your chosen rule, retain the observation pair, and require a meaningful new transition before notifying again. Separate a newly discovered video from one newly crossing the threshold.
Provider costs include discovery pages, refreshing known videos and optional comments or transcripts. The trending-video endpoint guide and Apify versus ScrapeCreators comparison describe the interfaces to evaluate. They do not imply a shared result count or a measured cost winner.
Give the agent a bounded task
Monitor the approved topic and region using the configured provider.
Keep stable video IDs, successful snapshots and collection gaps.
Calculate velocity only from comparable observations; retain nulls.
Deduplicate alerts and attach the supporting source URL and time interval.
Stop at the request budget. Do not publish, comment or contact creators.
Before scheduling, test repeated IDs, missing counts, decreasing counts, an expired cursor and an interrupted run. Rerunning the same fixture should not produce another alert. Check the collection agreement and retention rights; public metadata does not grant permission to republish the video or its music.
For the next research step, use Shorts transcript analysis to build a source-linked content brief rather than inventing an explanation for why a video grew.