Captapi

Structured social media data from 32 platforms (YouTube, TikTok, Instagram, Facebook, X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Truth Social, Kick, Kwai, Komi, Pillar, Linkbio, Linkme, Amazon Shop) — transcripts, AI summaries, comments, stats, search and downloads.

Actions171

TikTok → TikTok Trending Feed

AI-generated

Summary

Fetches TikTok trending videos from the For You feed or Creative Center chart. Country, order, period, and page settings determine the mode and filtering; results are limited and may be served from cache.

Inputs

  • Country — Two-letter ISO country code; defaults to US. Provides a region hint for the For You feed or selects the chart market.
  • CountryCode — Alias for Country; takes precedence when both are set.
  • OrderBy — In chart mode, sort by hot (views), like, comment, or repost. Also switches to chart mode; vv, views, and plays are aliases for hot. Unknown values return a 400 error. If the request falls back to For You, the selected sort is applied locally.
  • Period — Lookback window in days: 7, 30, or 120; 180 is treated as 120. Switches to chart mode. Returned videos are filtered to this window, including on a For You fallback.
  • Page — Chart page number; defaults to 1. Values greater than 1 switch to chart mode.
  • Limit — Maximum number of items to return; defaults to 20 and is capped at 200. Each call costs 2 credits.
  • Cache — When true, serves a response from the 24-hour cache when available; cache hits cost 0 credits. Defaults to false, which requests fresh data. Cache-hit responses include cached and cachedAt fields.

Output shape

A response envelope containing trending video items.

The available source shows the operation metadata but not the implementation body, so it does not establish the exact item fields or envelope structure. Cached responses include cached and cachedAt.

Links

Discussion