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.

$0.80/1k req, pay per request, no subscription.

What the API returnedvideos[0]
{
"id": "7458213904562187552",
"caption": "wait for the reveal ",
"url": "https://www.tiktok.com/@mabelrivercraft/video/7458213904562187552",
"region": "US",
"author": "mabelrivercraft",
"views": 8420000,
"likes": 1230000,
"comments": 18400,
... 13 more fields
}
Uptime
99.01%
30d · 5,530 calls
Requests
5,554
30d · weekly, last 12 wks
Response
6.2s
median · 30d

Pricing and providers

TikTok Trending feed API pricing: one API, 2 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$8.00
$0.80/1k req, only for what you use. No monthly plan.
Your first 125 requests are free with the $0.10 starting balance.

Try it

Get TikTok trending feed in one 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.

This sample shows 20 of 25 fields. See every field

{
  "found": true,
  "data": {
    "videos": [
      {
        "id": "7458213904562187552",
        "caption": "wait for the reveal ",
        "url": "https://www.tiktok.com/@mabelrivercraft/video/7458213904562187552",
        "region": "US",
        "author": "mabelrivercraft",
        "views": 8420000,
        "likes": 1230000,
        "comments": 18400,
        "shares": 62300,
        "createdUtc": 1758931200,
        "saves": 94500,
        "image": "https://p16-sign-va.tiktokcdn.com/obj/tos-useast5-p-0068-tx/mabelrivercraft-cover-7458213904562187552~tplv-obj.jpeg?x-signature=Rt3fGh8k",
        "videoUrl": "https://v16-webapp.tiktok.com/video/tos/useast5/mabelrivercraft-7458213904562187552/?x-signature=Uy5vBn9m",
        "durationSeconds": 27.4,
        "authorName": "Mabel Rivera",
        "authorUserId": "6812093457621908481",
        "authorImage": "https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/mabelrivercraft-avatar~tplv-obj.jpeg?x-signature=Wz1xCv2n"
      },
      {
        "id": "7458219903341129744",
        "caption": "3 ingredient dinner that actually slaps",
        "url": "https://www.tiktok.com/@theodorekitchen/video/7458219903341129744",
        "region": "US",
        "author": "theodorekitchen",
        "views": 5310000,
        "likes": 742000,
        "comments": 9800,
        "shares": 31200,
        "createdUtc": 1758844800,
        "saves": 210500,
        "image": "https://p16-sign-va.tiktokcdn.com/obj/tos-useast5-p-0068-tx/theodorekitchen-cover-7458219903341129744~tplv-obj.jpeg?x-signature=Xa4bDe6f",
        "videoUrl": "https://v16-webapp.tiktok.com/video/tos/useast5/theodorekitchen-7458219903341129744/?x-signature=Yb7cEf9g",
        "durationSeconds": 41.9,
        "authorName": "Theodore Banks",
        "authorUserId": "6944012783650918402",
        "authorImage": "https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/theodorekitchen-avatar~tplv-obj.jpeg?x-signature=Zc8dFg1h"
      }
    ]
  }
}

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

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • regionstring

    US

    2-letter country code for the proxy location (e.g. "US").

  • trimstring

    Set to true to return a simplified response.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each videodata.videos[]

Populated whenever the provider has data for the entity.

  • authorstring

    mabelrivercraft

    Populated whenever the provider has data for the entity.

  • authorImagestring

    https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/mabelrivercraft-avatar~tplv-obj.jpeg?x-signature=Wz1xCv2n

    Author's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact.

  • authorNamestring

    Mabel Rivera

    Author's display name.

  • authorUserIdstring

    6812093457621908481

    Author's numeric TikTok user id.

  • captionstring

    wait for the reveal

  • commentsinteger

    18400

  • createdUtcnumber

    1758931200

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.

  • durationSecondsnumber

    27.4

    Video duration in seconds.

  • hashtagsstring[]

    Hashtags carried in the caption, without the leading #. Empty when the post uses none; @-mentions are excluded. Populated whenever the provider has data for the entity.

  • idstring

    7458213904562187552

    Populated whenever the provider has data for the entity.

  • imagestring

    https://p16-sign-va.tiktokcdn.com/obj/tos-useast5-p-0068-tx/mabelrivercraft-cover-7458213904562187552~tplv-obj.jpeg?x-signature=Rt3fGh8k

    URL of the video's cover image. Signed and short-lived, so the query string is load-bearing and kept intact.

  • likesinteger

    1230000

  • regionstring

    US

    Populated whenever the provider has data for the entity.

  • savesinteger

    94500

    Save count.

  • sharesinteger

    62300

  • soundAuthorstring

    Credited author of the sound. Populated whenever the provider has data for the entity.

  • soundClipIdstring

    Id of the sound the video uses. Pass it to tiktok.song or tiktok.song_videos as clipId. Populated whenever the provider has data for the entity.

  • soundTitlestring

    Name of the sound. "original sound" means the creator's own audio rather than a licensed track. Populated whenever the provider has data for the entity.

  • urlstring

    https://www.tiktok.com/@mabelrivercraft/video/7458213904562187552

    Populated whenever the provider has data for the entity.

  • videoUrlstring

    https://v16-webapp.tiktok.com/video/tos/useast5/mabelrivercraft-7458213904562187552/?x-signature=Uy5vBn9m

    Playable video URL. Signed and short-lived, so the query string is load-bearing and kept intact.

  • viewsinteger

    8420000

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

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 routes each request across 2 sources and falls back automatically when one fails. It costs from $0.80 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.0% of TikTok trending feed calls through AnyAPI succeeded, with a median response time of 6.2 seconds across 5,530 measured calls.

It costs from $0.80 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

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, 99.0% of TikTok trending feed calls through AnyAPI succeeded, with a median response time of 6.2 seconds across 5,530 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 125 TikTok Trending feed calls at $0.0008 each.

AnyAPI asks the next of its 2 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/tiktok.trending_feed with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.