TikTok Ads Top Scraper API
Returns TikTok's own leaderboard of top-performing ads for a market and time window, with the performance signals TikTok publishes and nothing else does: ext.ad.ctr is the click-through rate, ext.ad.rank is the ad's position on the board, ext.ad.cost_score and ext.ad.like_tier are TikTok's own banded cost and engagement tiers, and engagement.likes is the real like count. Each row carries the ad's video at content.media_urls (720p, with 540p and 360p renditions on ext.ad), the cover image, the duration, the advertiser at author.username, and the campaign objective and industry at ext.ad.objective / ext.ad.industry. Use this one to find creative that worked, and that one to find who an advertiser bought. There is no publish date: TikTok does not attach one to the board, so published_at is null on every row rather than filled with the time you called.
GET /api/v1/data/tiktok/ads-top · 10 credits per call · The same call repeated within 30 minutes may get the same answer, so data can be up to 30 minutes old.
Inputs
country: Creative Center market to read the board for. Defaults to US. This is the market the ads ran in, not the language they are in.period: Lookback window in days: 7, 30 or 180. Defaults to 30. A longer window is a different board, not more rows.order_by: How TikTok ranks the board: for_you (TikTok's own blend, the default), ctr, impression, like, cvr, play_2s_rate or play_6s_rate.ad_format: Restrict to Spark ads (ads boosted from an organic post) or Non-Spark ads. Defaults to all.ad_language: Filter by the language of the ad copy.like_tier: TikTok's engagement percentile band, 1 (top) to 5. Use it to read further down the ranking without raising limit.industry: Creative Center sub-category label, for example 'Skincare' or 'Cosmetics'. Use a sub-category, not a top-level group: the board returns nothing for the broad groups such as 'Financial Services' or 'Education'. Omit for all industries.keyword: Search the board by brand or product keyword.since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.count(integer): How many posts this answer holds.posts[].id(string): The item's ID on the platform.posts[].url(string): Link to it on the platform.posts[].text(string): Its text.posts[].language(string): Its language code.posts[].deleted(boolean): Whether it was deleted.posts[].author_username(string): The author's username.posts[].author_name(string): The author's display name.posts[].author_verified(boolean): Whether the author is verified.posts[].like_count(number): Likes.posts[].hashtags(array): Hashtags in it.posts[].mentions(array): Accounts it mentions.posts[].media[].url(string): Its media.posts[].media[].thumbnail_url(string): Its media's thumbnail.posts[].media[].duration_seconds(number): Its video's length in seconds.posts[].content_type(string): What it is: post.posts[].platform(string): The platform's name.posts[].source_data(object): Everything the platform sent for this row, as it came.posts[].source_data.computed.content_category(string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.posts[].source_data.computed.engagement_rate(number): Computed engagement rate (0..1).posts[].source_data.computed.estimated_reach(number): Estimated reach based on views or follower count. Null when uncomputable.posts[].source_data.computed.language(string): ISO 639-1 language code detected from the post text. Null when undetectable.posts[].source_data.computed.save_rate(number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.posts[].source_data.post.author.display_name(string): Author display nameposts[].source_data.post.author.username(string): Author usernameposts[].source_data.post.author.verified(boolean): Whether the account carries TikTok's verification badge.posts[].source_data.post.content.duration_seconds(number): Video/clip duration in seconds (null for non-video posts)posts[].source_data.post.content.media_urls(any): URL(s) of the primary media. Single string for video/photo posts; array of strings for carousels.posts[].source_data.post.content.text(string): Post caption, description, or text contentposts[].source_data.post.content.thumbnail_url(string): URL to thumbnail imageposts[].source_data.post.engagement.likes(number): Like / reaction countposts[].source_data.post.ext.ad.ad_format(any): The ad's format.posts[].source_data.post.ext.ad.cost_score(any): Relative cost score.posts[].source_data.post.ext.ad.country_code(any): The country or countries the ad ran in.posts[].source_data.post.ext.ad.ctr(any): Click-through rate band, 0 to 1.posts[].source_data.post.ext.ad.industry(any): The industry the ad belongs to.posts[].source_data.post.ext.ad.is_spark_ad(any): True when the ad boosts an organic post.posts[].source_data.post.ext.ad.landing_page_url(any): Landing page the ad opens.posts[].source_data.post.ext.ad.language(any): The ad's language.posts[].source_data.post.ext.ad.like_tier(any): Like-count tier.posts[].source_data.post.ext.ad.objective(any): The campaign objective's code.posts[].source_data.post.ext.ad.period_days(any): Length of the ranking window in days.posts[].source_data.post.ext.ad.rank(any): The ad's rank on the board it was read from.posts[].source_data.post.ext.ad.retention(any)posts[].source_data.post.ext.ad.retention_2s(any)posts[].source_data.post.ext.ad.retention_6s(any)posts[].source_data.post.ext.ad.video_id(any): The video's id.posts[].source_data.post.ext.ad.video_url_360p(any): Link to the 360p video.posts[].source_data.post.ext.ad.video_url_540p(any): Link to the 540p video.posts[].source_data.post.ext.hashtags(array): Hashtags parsed from the caption, lower cased without the #, each listed once in order.posts[].source_data.post.ext.mentions(array): Handles mentioned in the caption, lower cased with the @, each listed once in order.posts[].source_data.post.flags.deleted(boolean): Whether the post is tombstoned (always present)posts[].source_data.post.id(string)posts[].source_data.post.url(string)
Good to know
- The price depends on what the call returns: from 10 credits to 100 credits.
- The same call repeated within 30 minutes may get the same answer, so data can be up to 30 minutes old.
Example call
GET /api/v1/data/tiktok/ads-top?country=US
Questions
How much does the TikTok Ads Top API cost?
Each call costs 10 to 100 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.
What do I send?
10 more inputs are optional: country, period, order_by, ad_format, ad_language, like_tier, industry, keyword, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How fresh is the data?
The same call repeated within 30 minutes may get the same answer, so data can be up to 30 minutes old.
Do I need a TikTok account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
More TikTok scraper APIs
- TikTok Ad Library Ad Scraper API
- TikTok Ad Library Search Scraper API
- TikTok Collection Videos Scraper API
- TikTok Comment Scraper API
- TikTok Effect Videos Scraper API
- TikTok Effects Scraper API
- TikTok Hashtag Scraper API
- TikTok Hashtags Popular Scraper API
- TikTok Location Posts Scraper API
- TikTok Playlist Videos Scraper API
- TikTok Post Scraper API
- TikTok Post Transcript Scraper API
- TikTok Profile Scraper API
- TikTok Profile Full Scraper API
- TikTok Profile Playlists Scraper API
- TikTok Profile Region Scraper API
- TikTok Profile Videos Scraper API
- TikTok Search Mentions Scraper API
- TikTok Search Music Scraper API
- TikTok Search Suggestions Scraper API
- TikTok Search Top Scraper API
- TikTok Search Users Scraper API
- TikTok Similar Scraper API
- TikTok Song Scraper API
- TikTok Song Videos Scraper API
- TikTok Trending Scraper API
- TikTok User Audience Scraper API
- TikTok User Followers Scraper API
- TikTok User Following Scraper API
- TikTok User Liked Scraper API
- TikTok User Live Scraper API
- TikTok Video Comment Replies Scraper API
- TikTok Video Screen Text Scraper API
- TikTok Videos Popular Scraper API