Introducing the Instagram APIRead more →

TikTok Top Videos API. Top videos, on request.

Ranked by country, period and metric. We handle the proxies, blocks and platform changes.

TikTok Top Videos API at a glance

Returns TikTok Creative Center's top videos for a country over 7 or 30 days, ranked by views, organic views, engagement or six-second view rate. Each has its rank, caption, hashtags, cover, a playable video link, author with follower count, views in the window and lifetime and how many were organic, engagement rate and six-second view rate. With no parameters you get the US board for the latest 7 days, by views.

GET /v1/tiktok/top_posts

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 22 typed fields null when unknown
  • 20 videos per page, Creative Center's rank by the rank_by metric (1 = top)
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get up to 20 videos back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
GET /v1/tiktok/top_postsTry in
const params = new URLSearchParams({
});
const res = await fetch(`https://socialtap.dev/v1/tiktok/top_posts?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/tiktok/top_postsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 21 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field TikTok doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • No input needed

    Every parameter is optional: the plain request returns the default list.

  • Write one parser

    TikTok, Instagram, Facebook and 18 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
urlstring
Canonical post URL.
typestring
Normalized content shape. New values may be added; treat unknown values as other.
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
textstring
Caption, description or body as plain text.
languagestring
BCP-47 language of text, when the platform states it.

What teams build with the TikTok Top Videos API.

  • See which videos lead a market this week

  • Find formats with outsized engagement

  • Tell organic hits from paid reach

  • Study winning videos in a category

Good to know before you build.

  • Logged out, Creative Center shows only the top videos of each board and keeps the rest behind its login, so the page ends with page.end_reason platform_limit. Each ranking and category is its own board: read several for more videos.
  • The window is Creative Center's latest published one, not the days up to now. platform_specific.tiktok.board.period_end_at says where it ends.
  • metrics.view_count is the video's lifetime views as Creative Center counts them, paid ones included. Likes, comments, shares and duration aren't on the board and are null (the TikTok Post API has them).
  • A video that drew paid views is marked is_ad and is_sponsored, and the board says nothing more about the ad.
  • A country Creative Center publishes no video board for returns invalid_input naming the countries it does.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Platform API api1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the TikTok Top Videos API.

More in the API reference.

How much does the TikTok Top Videos API cost?
A page of up to 20 videos costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

See what's on the list right now.

Run it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs