Skip to content
ScrapeField

Get the videos trending on TikTok in a country

Fetch the videos TikTok's trending feed shows in one country now, each a full video. One page, which changes from call to call. Use this to see what is spreading.

3credits
GEThttps://api.scrapefield.com/v1/tiktok/trending
Try itno key needed3 credits on a real call · 0 here
https://api.scrapefield.com/v1/tiktok/trending

In your code

const params = new URLSearchParams({
  "region": "US"
});

const res = await fetch(`https://api.scrapefield.com/v1/tiktok/trending?${params}`, {
  headers: { Authorization: `Bearer ${process.env.SCRAPEFIELD_KEY}` },
});

const { data, meta } = await res.json();
console.log(data, meta.credits_charged);

Parameters

ParameterWhat it does
region
string
Two-letter country code, e.g. US, GB, DE.
default US
fresh
boolean
Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.
default false

Response

Returns an array of tiktok_video. This is the demo’s answer, the one the playground above returns, in full rather than abbreviated — including the fields that come back null, because a field is null when the platform does not show it and you should know which ones those are before you build on them. A call with your key returns the account you ask for.

{
  "data": [
    {
      "id": "7497290239006786522",
      "share_url": "https://www.tiktok.com/@creator0/video/7497290239006786522",
      "username": "creator0",
      "video_description": "We rebuilt the whole thing and it is faster now. #baking #filmphoto #fyp",
      "create_time": "2026-09-07T15:01:30.000Z",
      "duration": 40,
      "cover_image_url": "https://cdn.example/tt/7497290239006786522.jpeg",
      "play_url": "https://cdn.example/tt/7497290239006786522.mp4",
      "view_count": 624030,
      "like_count": 2153,
      "comment_count": 14,
      "share_count": 43,
      "favorites_count": 80,
      "hashtag_names": [
        "baking",
        "filmphoto",
        "fyp"
      ],
      "region_code": "PT",
      "music": {
        "id": "7211942095868614472",
        "title": "original sound - creator0",
        "author": "creator0",
        "original": true
      },
      "duet_enabled": true,
      "stitch_enabled": true
    },
    {
      "id": "7412874915365617780",
      "share_url": "https://www.tiktok.com/@creator1/video/7412874915365617780",
      "username": "creator1",
      "video_description": "Everything I learned about this in one minute. #sourdough #baking #fyp",
      "create_time": "2026-06-09T12:19:36.000Z",
      "duration": 66,
      "cover_image_url": "https://cdn.example/tt/7412874915365617780.jpeg",
      "play_url": "https://cdn.example/tt/7412874915365617780.mp4",
      "view_count": 3754526,
      "like_count": 43287,
      "comment_count": 185,
      "share_count": 1148,
      "favorites_count": 4412,
      "hashtag_names": [
        "sourdough",
        "baking",
        "fyp"
      ],
      "region_code": "US",
      "music": {
        "id": "7258240846865632406",
        "title": "original sound - creator1",
        "author": "creator1",
        "original": true
      },
      "duet_enabled": true,
      "stitch_enabled": true
    }
  ],
  "meta": {
    "request_id": "req_7f3ac1e94b2d40f8a1c6e5d2",
    "credits_charged": 3,
    "credits_remaining": 74218,
    "cached": false,
    "fetched_at": "2026-09-20T09:12:03Z",
    "next_cursor": null
  }
}

Fields of tiktok_video

A TikTok video. Named after TikTok's Display and Research APIs.

FieldWhat it is
id
string
TikTok's numeric id — the number at the end of the URL.
share_url
URL
The video.
username
string
Who posted it.
video_description
string · or null
The caption.
create_time
time, ISO 8601 UTC · or null
When it was posted. null when the source does not say.
duration
integer · or null
Seconds. null when the source does not give it.
cover_image_url
URL · or null
The video's cover image.
play_url
URL · or null
The video file on TikTok's CDN. TikTok signs it and it stops working after a while, so fetch it soon. We do not rehost videos.
view_count
integer · or null
null when the source does not give it.
like_count
integer · or null
null when the source does not give it.
comment_count
integer · or null
null when the source does not give it.
share_count
integer · or null
null when the source does not give it.
favorites_count
integer · or null
Saves. null where the page does not show them.
hashtag_names
array of strings
Without the #.
region_code
string · or null
Where it was posted from, ISO 3166-1 alpha-2.
music
object · or null
The sound.
music.id
string
TikTok's id for the sound.
music.title
string
The sound's name, as TikTok shows it.
music.author
string · or null
Who the sound is credited to.
music.original
boolean
An original sound rather than a track.
duet_enabled
boolean · or null
null where that is not known.
stitch_enabled
boolean · or null
null where that is not known.

What it costs

3 credits per successful call, whether we fetch it or serve it from cache — you pay for the answer, not for how we produced it. Responses are cached for 30 minutes and a cached one tells you when the data was actually fetched. A call we fail costs 0 and is refunded automatically.

On the smallest pack that is $2.34 per 1,000 calls; on the largest, $1.32. The full table.

Questions

How much does the TikTok trending videos API cost?

3 credits a call: $2.34 per 1,000 calls on the smallest pack and $1.32 on the largest. A call that fails costs nothing, and the refund is automatic. A cached answer costs the same as a fresh one. Credits are bought in packs and never expire; there is no subscription.

Do I need a TikTok account, a login or cookies?

No. You need a key from us and nothing from TikTok. We never take a customer's login, cookies or session, at any price, and no account of yours is ever at risk.

Can I try it without signing up?

Yes. Add demo=true and leave the key out, or press Send request in the playground on this page. The demo answers with a real answer about TikTok's trending feed in the US, captured once a week, in exactly the shape a live call returns, whatever you ask, and charges nothing.

How fresh is the data?

An answer is kept for up to 30 minutes, and a cached one says when it was fetched, in meta.fetched_at. Add fresh=true to fetch it again now, at the same price; it needs any purchase, not the trial.

What does it return?

A list of tiktok_video objects. Its fields are named after TikTok's Display and Research APIs. A field is null when TikTok does not show it, never missing. Every field is described on this page.

Can an AI agent call it?

Yes: it is the MCP tool get_tiktok_trending on our MCP server, with the same parameters, answer and price. Without a key, the tool answers from the demo.