TikTok API

TikTok Trending feed API

Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.

POST/v1/run/tiktok.trending_feed
Uptime
96.34%
30d · 82 calls
Requests
82
30d · weekly, last 12 wks
Response
5.8s
median · 30d

Pricing

One price, in dollars

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "videos": [
      {
        "author": "Alex Rivera",
        "caption": "A short example description of this item.",
        "comments": 12500,
        "createdUtc": 12.5,
        "id": "a1b2c3d4",
        "likes": 12500,
        "region": "CA",
        "shares": 13,
        "url": "https://example.com/page",
        "views": 12500
      }
    ]
  },
  "found": true
}
Response interface
interface TiktokTrendingFeedResponse {
  data: {
    videos: {
      author: string;
      caption: string;
      comments: number;
      createdUtc: number;
      id: string;
      likes: number;
      region: string;
      shares: number;
      url: string;
      views: number;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/tiktok.trending_feed
curl -X POST https://api.getanyapi.com/v1/run/tiktok.trending_feed \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"region":"US"}'
FieldTypeExample value
Request body
regionstring"US"2-letter country code for the proxy location (e.g. "US").
trimstringSet to true to return a simplified response.
Response
dataobject
data.videosobject[]Populated whenever the provider has data for the entity.
data.videos[].authorstringPopulated whenever the provider has data for the entity.
data.videos[].captionstring
data.videos[].commentsinteger
data.videos[].createdUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
data.videos[].idstringPopulated whenever the provider has data for the entity.
data.videos[].likesinteger
data.videos[].regionstringPopulated whenever the provider has data for the entity.
data.videos[].sharesinteger
data.videos[].urlstringPopulated whenever the provider has data for the entity.
data.videos[].viewsinteger
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the TikTok Trending feed API

The AnyAPI TikTok Trending feed API returns TikTok trending feed data as normalized JSON from one POST call to /v1/run/tiktok.trending_feed. Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 96.3% of TikTok trending feed calls through AnyAPI succeeded, with a median response time of 5.8 seconds across 82 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 96.3% of TikTok trending feed calls through AnyAPI succeeded, with a median response time of 5.8 seconds across 82 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.