Introducing the Instagram APIRead more →

TikTok Top Ads API. Top ads, on request.

Best-performing ads by country, period and industry. We handle the proxies, blocks and platform changes.

TikTok Top Ads API at a glance

Returns TikTok Creative Center's Top Ads board: the ads that performed best in a market over the last 7, 30 or 180 days. Each ad has its video, headline, brand, industry and campaign objective, with the board's rank, likes, click-through percentile and budget level. Narrow it by industry, objective or ad language, and rank it by Creative Center's own order or by impressions, likes, click-through, conversion or view-through rate. With no params you get the US board for the last 30 days.

GET /v1/tiktok/top_ads

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 20 typed fields null when unknown
  • 20 best-performing ads per page, Creative Center's rank by rank_by, best first
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get up to 20 best-performing ads 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_adsTry in
const params = new URLSearchParams({
});
const res = await fetch(`https://socialtap.dev/v1/tiktok/top_ads?${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_adsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 4 platforms.

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

  • Null means unknown

    A field TikTok Ad Library 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 Ad Library, Facebook Ad Library, Google Ads Transparency Center and LinkedIn Ad Library answer in these fields, so the code that reads one reads them all.

platformstring
Library owner's platform ID (facebook for Meta's library, tiktok, google, linkedin).
idstring
Library ad ID (string).
urlstring
Public library page of the ad.
advertiserobject
The advertising page, business or account.
paid_bystring
Disclosed payer ("Paid for by").
is_activeboolean
True while the ad is running.
first_shown_atstring
First delivery, RFC 3339 UTC (often date-only: see approximate_fields).
last_shown_atstring
Last delivery, RFC 3339 UTC; null while active.

What teams build with the TikTok Top Ads API.

  • See which ads win in a market

  • Track an industry's top ads month by month

  • Collect winning hooks and headlines for briefs

  • Compare top ads across countries

Good to know before you build.

  • Logged out, Creative Center serves only the first page of each board, so the page ends with page.end_reason platform_limit.
  • Each filter and rank_by value is its own board, so combine them to read more ads.
  • platform_specific.tiktok.ctr_top_percent is a percentile, not a rate: a smaller value means a higher click-through rate.
  • The board shows no spend, impressions or reach, so those fields are null.
  • country_codes is the board's market, and an ad can run in more markets than the one you asked for.
  • advertiser holds the brand name the board shows and no account, and advertiser.display_name is null when the board shows no brand.
  • Video links are TikTok's signed CDN links and expire at media[].expires_at.
  • A market Creative Center publishes no board for returns invalid_input naming the markets 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 Ads API.

More in the API reference.

How much does the TikTok Top Ads API cost?
A page of up to 20 best-performing ads 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