← All guides
Use cases

Track what is trending on TikTok and in the news.

Trend tracking means checking the same feeds every day and noticing what changed. Here is how to pull TikTok's trending content and Google News coverage as JSON, so a script can do the checking.

TikTok trending content

Each call costs 1 credit.

EndpointWhat you getCredits
/v1/tiktok/get-trending-feedThe logged-out For You feed for a country (region, e.g. US)1
/v1/tiktok/videos/popularUp to 30 popular videos per call from TikTok's Explore feed, by category, sortable by likes, plays, comments or shares1
/v1/tiktok/search/hashtagHashtag info and its public video list (one page)1
/v1/tiktok/songA sound's artist, cover and video count1
/v1/tiktok/song/videosVideos using a sound (one page)1
/v1/tiktok/search/keywordVideos for a keyword from TikTok's public discover pages1
EXAMPLE
curl -H "x-api-key: $SIGNALSHELF_KEY" \
  "https://signalshelf.dev/v1/tiktok/get-trending-feed?region=US"

Google News

/v1/google/news returns up to 100 items for a query: title, publisher, published time and link. Narrow it with time_range (1h, 1d, 7d, 30d or 1y), language and region. Google News operators such as site: and intitle: work. It costs 1 credit.

EXAMPLE
curl -H "x-api-key: $SIGNALSHELF_KEY" \
  "https://signalshelf.dev/v1/google/news?query=electric%20bikes&time_range=1d"

Watch a brand or topic everywhere

/v1/mentions/search searches one keyword on Reddit, X, TikTok and Google News in one call. It returns one feed sorted by date with counts per source. Pick a subset with sources, e.g. sources=reddit,news. It costs 5 credits.

Costs and limits

Failed calls cost 0 credits. Add cache_max_age to accept a recent cached result for 0 credits; leave it out for live data.

Trending feeds are what TikTok serves a fresh logged-out visitor, so two calls can differ. Store each pull with its fetch time to see change over time. Hashtag and sound video lists return one page.

All use cases Reddit brand mentions guide