# TikTok Creative Center Top Ads Scraper - CTR, Likes, Videos (`nexuscortex/tiktok-creative-center-scraper`) Actor

Scrape every TikTok Top Ad of a market from Creative Center, not only the first 20: CTR rank, likes, comments, shares, budget level, landing page, industry, objective and MP4 video links. 80+ countries, monitoring for new ads, no login.

- **URL**: https://apify.com/nexuscortex/tiktok-creative-center-scraper.md
- **Developed by:** [Nexus Cortex](https://apify.com/nexuscortex) (community)
- **Categories:** Marketing, Social media, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 ads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## TikTok Creative Center Top Ads Scraper

Scrape **every TikTok Top Ad of a market** from [TikTok Creative Center](https://ads.tiktok.com/business/creativecenter/inspiration/topads/pc/en), not only the 20 ads it shows per list. For each ad you get the CTR rank, likes, comments, shares, budget level, landing page, industry, campaign objective, the countries it ran in and an MP4 video link. It also reads **Top Ads Spotlight**, the ads TikTok's creative experts hand-pick each month, with their notes. 80+ countries, the last 7, 30 or 180 days, an optional monitoring mode for new ads only, and no TikTok account or login.

### Contents

- [What you can scrape](#what-you-can-scrape)
- [How to scrape TikTok Top Ads](#how-to-scrape-tiktok-top-ads)
- [Why use this TikTok Creative Center scraper](#why-use-this-tiktok-creative-center-scraper)
- [Quick start by use case](#quick-start-by-use-case)
- [Input](#input)
- [Output](#output)
- [Output field reference](#output-field-reference)
- [Use it from code (API)](#use-it-from-code-api)
- [Use it with AI agents (MCP)](#use-it-with-ai-agents-mcp)
- [Scheduling, monitoring and webhooks](#scheduling-monitoring-and-webhooks)
- [Pricing](#pricing)
- [FAQ](#faq)
- [Limitations](#limitations)
- [Feedback](#feedback)
- [More scrapers from NexusCortex](#more-scrapers-from-nexuscortex)

### What you can scrape

- **Top Ads of a country**: every ad Creative Center lists for 80+ countries — the US, UK, Germany, Brazil, Japan and more — over the last 7, 30 or 180 days
- **Performance signals**: likes, comments, shares, CTR rank ("top 3%") and budget level (low, medium, high), as Creative Center shows them
- **Landing pages**: the URL and domain each ad sends people to, so you can see which shops, apps and offers advertisers push
- **Creative**: ad text, brand, video link (720p MP4), cover image, duration and size
- **Second-by-second metrics**: CTR, conversion rate, clicks, conversions and viewer retention for each second of the video, plus the seconds TikTok marks as highlight frames
- **Targeting context**: industry and parent industry, campaign objective, and every country the ad ran in
- **Top Ads Spotlight**: the ads TikTok's creative experts hand-pick each month, each with the experts' note on why it works (`spotlightNote`)
- **New ads only**: give runs a monitoring name and schedule them, and each run delivers only ads that earlier runs did not

### How to scrape TikTok Top Ads

1. Click **Try for free** and open the **Input** tab.
2. Enter one or more **Countries** (codes like `US`, `GB`, `DE`, or `ALL`) and pick a **Period**.
3. Optional: narrow down to **Industries** (e.g. `Beauty & Personal Care`), **Campaign objectives** (e.g. `Conversions`) or **Ad languages**, and turn on **Top Ads Spotlight** for the experts' picks (leave Countries empty to get only those).
4. Click **Start**. The ads appear in the **Output** tab; download them as JSON, CSV or Excel, or read them through the API.

### Why use this TikTok Creative Center scraper

- **Every ad, not the first 20.** Without an account, Creative Center gives at most 20 ads per list and no second page. This Actor reads the list in every sort order, then by objective, industry and sub-industry, until it has the whole market. Measured on 2026-11-24: **187 ads for US / last 30 days, where TikTok reports 183**, in about 2.5 minutes.
- **Landing pages included at no extra cost.** Every ad comes with its landing page, comments, shares and countries. 81% of US ads had a landing page in our test.
- **Second-by-second keyframe metrics included.** CTR, conversion rate, clicks, conversions and viewer retention per second of each video, plus TikTok's highlight seconds — the curves Creative Center draws in its ad analysis, at no extra cost.
- **Monitoring mode.** Runs with the same `monitorName` charge only for ads that are new to you. Schedule it daily and you get a feed of new Top Ads per market.
- **Readable values.** `ctrTopPercent: 3` means "top 3% CTR", `budget` is `Low` / `Medium` / `High`, and industries and objectives are names rather than TikTok's internal codes.
- **One row per ad.** An ad found in several lists or countries is delivered and charged once.
- **No login, no cookies, no CAPTCHA solving.** Only data that Creative Center shows to every visitor.

### Quick start by use case

**Media buyers** — the top ads of your markets each week, ranked by CTR, with budget level and likes; `monitorName` makes every scheduled run deliver only the new ones:

```json
{
    "countries": ["US", "GB"],
    "period": "7",
    "allAds": false,
    "sortBy": "CTR",
    "monitorName": "weekly-top-ads"
}
```

**Creative strategists** — the spotlight ads TikTok's experts picked this month, with their notes and second-by-second CTR and retention curves:

```json
{
    "countries": [],
    "spotlight": true,
    "keyframeMetrics": ["CTR", "RETENTION"]
}
```

**Agencies** — several markets and industries at once; the landing page and domain of every ad tell you which shops, apps and offers your clients' competitors push:

```json
{
    "countries": ["US", "GB", "DE", "BR"],
    "period": "30",
    "industries": ["Beauty & Personal Care", "Apps"],
    "maxItems": 2000
}
```

**E-commerce brands** — product-sales ads in online shopping, with their landing pages:

```json
{
    "countries": ["US"],
    "period": "30",
    "objectives": ["Product Sales"],
    "industries": ["Online Shopping"],
    "includeDetails": true
}
```

### Input

| Field | What it does |
|---|---|
| `countries` | Country codes or names, e.g. `["US", "GB"]`. Empty defaults to US — or to no country market at all when `spotlight` is on. `ALL` = all 82: AE, AR, AT, AU, AZ, BD, BE, BG, BH, BO, BR, BY, CA, CH, CL, CO, CR, CY, CZ, DE, DK, DO, DZ, EC, EE, EG, ES, FI, FR, GB, GR, GT, HR, HU, ID, IE, IL, IQ, IT, JO, JP, KE, KH, KR, KW, KZ, LB, LK, LT, LV, MA, MX, MY, NG, NL, NO, NZ, OM, PA, PE, PH, PK, PL, PR, PT, PY, QA, RO, RS, SA, SE, SG, SI, SK, TH, TR, TW, UA, US, UY, VN, ZA |
| `period` | `7`, `30` (default) or `180` days |
| `allAds` | `true` (default): every ad of the market. `false`: only the top 20 by `sortBy`, with their `rank` |
| `spotlight` | `false` (default). `true`: also read Top Ads Spotlight, the few ads TikTok's experts hand-pick each month, with their `spotlightNote`. Leave `countries` empty to get only these |
| `sortBy` | Ranking for top-20 mode: `FOR_YOU`, `LIKES`, `CTR`, `REACH`, `CVR`, `VIEW_RATE_6S`, `VIEW_RATE_2S` |
| `includeDetails` | `true` (default): landing page, comments, shares, countries, objectives, source |
| `keyframeMetrics` | Optional second-by-second curves per ad: `CTR`, `CVR`, `CLICKS`, `CONVERSIONS`, `RETENTION`. No extra charge |
| `industries` | Optional industry names as Creative Center shows them, e.g. `Apps`, `Games`, `Beauty & Personal Care`, `Haircare` |
| `objectives` | Optional: `Traffic`, `App Installs`, `Conversions`, `Video Views`, `Reach`, `Lead Generation`, `Product Sales`, `App Promotion` |
| `adLanguages` | Optional language codes of the ads, e.g. `en`, `es`, `de`, `ja` |
| `adFormat` | `ALL` (default), `SPARK` (boosted organic posts) or `NON_SPARK` (regular in-feed ads) |
| `likeTiers` | Optional like tiers: `TOP_1_20`, `TOP_21_40`, `TOP_41_60`, `TOP_61_80`, `TOP_81_100`. Each tier is read as its own market; an ad in several is delivered once |
| `monitorName` | Optional. Runs with the same name deliver only ads that earlier runs have not delivered |
| `maxItems` | Maximum number of ads in total (default 1,000) |

Example:

```json
{
    "countries": ["US", "GB"],
    "period": "30",
    "industries": ["Beauty & Personal Care"],
    "maxItems": 500
}
```

An unknown industry, objective, language, ad format or like tier finishes the run with an input-problem status message instead of quietly returning every ad.

### Output

One dataset item per ad:

```json
{
    "adId": "7034315558364069889",
    "adTitle": "Black Friday Sale: Exclusive Deals Rash Guards and Shorts",
    "brandName": "XMARTIALGEAR",
    "country": "US",
    "period": 30,
    "rank": null,
    "industry": "Sports & Outdoor",
    "parentIndustry": null,
    "industryId": "28000000000",
    "objective": "Conversions",
    "likes": 0,
    "comments": 0,
    "shares": 0,
    "ctrTopPercent": 90,
    "budget": "Low",
    "videoId": "v14033g50000dbfka97og65jl0erspr0",
    "videoUrl": "https://v16m-default.tiktokcdn.com/.../video/tos/...",
    "videoQuality": "720p",
    "videoUrlExpiresAt": "2026-11-24T16:05:55.000Z",
    "videoCover": "https://p16-common-sign.tiktokcdn.com/...",
    "videoDuration": 20.036,
    "videoWidth": 576,
    "videoHeight": 1024,
    "landingPage": "https://www.xmartial.com/collections/rash-guards?utm_source=tiktok&...",
    "landingDomain": "xmartial.com",
    "countries": ["US", "CA", "AE", "KR"],
    "objectives": ["Conversions"],
    "source": "TikTok Ads Manager",
    "keywords": null,
    "keyframes": {
        "ctr": { "values": [0.028, 1, 0.227, 0.215, 0.142, 0.227], "highlightSeconds": [1, 5] },
        "retention": { "values": [1, 0.82, 0.61, 0.48, 0.39, 0.33], "highlightSeconds": [] }
    },
    "spotlightNote": null,
    "detailUrl": "https://ads.tiktok.com/business/creativecenter/topads/7034315558364069889/pc/en?countryCode=US&from=001010&period=30",
    "hasDetails": true,
    "scrapedAt": "2026-11-24T10:05:44.691Z"
}
```

- `ctrTopPercent`: Creative Center's CTR rank. `3` means the ad is in the top 3% by click-through rate, so lower is better. TikTok does not publish the CTR itself.
- `budget`: Creative Center's budget level for the ad (`Low`, `Medium`, `High`). TikTok does not publish the amount spent.
- `country` is the market the ad was found in; `countries` (with details) lists every market it ran in.
- `rank` is the position in the list in top-20 mode; it is empty when all ads are collected, because they come from many lists.
- `videoUrl` is a signed TikTok CDN link that stops working at `videoUrlExpiresAt`, about 6 hours after the run. Download the videos soon after the run if you need them.
- `keyframes` is present when `keyframeMetrics` is set: one property per requested metric (`ctr`, `cvr`, `clicks`, `conversions`, `retention`). In each, `values[i]` is the metric at second `i` on TikTok's own scale where the best second is `1` (as Creative Center returns it, not rescaled by the Actor), and `highlightSeconds` lists the seconds TikTok marks as highlight frames (`retention` never has them). `cvr` and `conversions` are all zeros for ads without a conversion objective, and a metric is `null` when TikTok has no analysis for that ad. `keyframes` itself stays `null` when the input is left empty.
- The dataset has two views: **Top Ads** and **Landing pages**.

The run summary (key-value store record `SUMMARY`) lists for every market TikTok's own total, how many ads were found, the requests used and any failure.

### Output field reference

One dataset item per ad (`type` is not set — every row is an ad). Every row also carries `scrapedAt` (ISO timestamp of the run). Fields are `null` when Creative Center does not provide them.

| Field | Type | Description |
|---|---|---|
| `adId` | string | Creative Center material id |
| `adTitle` | string | Ad text / title |
| `brandName` | string | Advertiser's brand name (empty on about half of the ads) |
| `country` | string | The market the ad was found in (`null` on Spotlight rows) |
| `period` | number | `7`, `30` or `180` days (`null` on Spotlight rows) |
| `rank` | number | Position in the list in top-20 mode and on Spotlight rows; `null` in all-ads mode |
| `industry` | string | Industry name as Creative Center shows it |
| `parentIndustry` | string | Parent industry name, for sub-industries |
| `industryId` | string | TikTok's industry id |
| `objective` | string | Campaign objective (Conversions, Traffic, Product Sales...) |
| `likes` | number | Like count |
| `comments` | number | Comment count (with `includeDetails`) |
| `shares` | number | Share count (with `includeDetails`) |
| `ctrTopPercent` | number | CTR rank: `3` = top 3% CTR, lower is better |
| `budget` | string | `Low`, `Medium` or `High` |
| `videoId` | string | TikTok video id |
| `videoUrl` | string | MP4 link (signed, expires at `videoUrlExpiresAt`) |
| `videoQuality` | string | Resolution of `videoUrl` (e.g. `720p`) |
| `videoUrlExpiresAt` | string | ISO timestamp, about 6 hours after the run |
| `videoCover` | string | Cover image URL |
| `videoDuration` | number | Seconds |
| `videoWidth`, `videoHeight` | number | Pixels |
| `landingPage` | string | The URL the ad sends people to (with `includeDetails`) |
| `landingDomain` | string | Hostname of `landingPage` |
| `countries` | array | Every market the ad ran in (with `includeDetails`) |
| `objectives` | array | The campaign objectives TikTok tags on the ad (with `includeDetails`) |
| `source` | string | Where the ad comes from (e.g. `TikTok Ads Manager`) |
| `keywords` | array | Creative Center's keyword tags (rarely filled) |
| `keyframes` | object | One property per `keyframeMetrics` entry: `{values, highlightSeconds}`; `values[i]` is the metric at second `i` on TikTok's scale where the best second is `1` |
| `spotlightNote` | string | TikTok's expert note on Spotlight rows; `null` otherwise |
| `detailUrl` | string | The ad's Creative Center analysis page (`null` on Spotlight rows) |
| `hasDetails` | boolean | Whether the detail call succeeded |

### Use it from code (API)

Every run can be started through the [Apify API](https://docs.apify.com/api/v2) with the same input as in the form. Create an API token in Apify Console under **Settings > API & Integrations**.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("nexuscortex/tiktok-creative-center-scraper").call(run_input={
    "countries": ["US"],
    "period": "30",
    "objectives": ["Conversions"]
})
for item in client.dataset(run.default_dataset_id).list_items().items:
    print(item["ctrTopPercent"], item["landingDomain"], item["adTitle"])
```

**JavaScript** (`npm install apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('nexuscortex/tiktok-creative-center-scraper').call({
    countries: ['US'],
    period: '30',
    objectives: ['Conversions']
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**cURL** (starts the run, waits for it and returns the results as JSON)

```bash
curl -X POST "https://api.apify.com/v2/acts/nexuscortex~tiktok-creative-center-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"countries":["GB"],"period":"7","allAds":false,"sortBy":"LIKES"}'
```

The cURL call waits up to 5 minutes. A full market takes 1 to 5 minutes, so for several countries start the run with the `/runs` endpoint (or the clients above) and read the dataset when it has finished.

### Use it with AI agents (MCP)

AI assistants can run this Actor as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Add this server URL to Claude, Cursor, VS Code or any other MCP client; you sign in to Apify in the browser on first use:

```
https://mcp.apify.com?tools=nexuscortex/tiktok-creative-center-scraper
```

In Claude Code: `claude mcp add --transport http apify "https://mcp.apify.com?tools=nexuscortex/tiktok-creative-center-scraper"`

Then ask in plain language, for example:

- "Which landing page domains appear most often in TikTok Top Ads for Beauty & Personal Care in the US this month?"
- "Get the top 20 TikTok ads by CTR in Germany for the last 7 days and summarise the hooks they use"

### Scheduling, monitoring and webhooks

Run the Actor on a schedule in Apify Console: open the Actor → **Schedules** → create a schedule (hourly, daily, weekly...) and pick your saved input. Set `monitorName` in that input so every scheduled run delivers only ads the earlier runs did not — a daily run becomes a feed of new Top Ads per market, and you never pay twice for the same ad.

To get the results into your own system, add a webhook on the schedule or the Actor (Console → **Integrations** or **Webhooks**): event `ACTOR.RUN.SUCCEEDED`, and in the handler fetch the items of the run's default dataset:

```
GET https://api.apify.com/v2/datasets/{defaultDatasetId}/items?format=json
```

`defaultDatasetId` comes with the webhook payload (`resource.defaultDatasetId`). Apify also has ready-made integrations for Google Sheets, Slack, Zapier and Make that can move new items there without code.

### Pricing

Pay per result: **$1.00 per 1,000 ads**, details (landing page, comments, shares, countries) and keyframe metrics included at no extra cost. Apify subscribers pay less: $0.90 per 1,000 on Bronze, $0.85 on Silver, $0.80 on Gold and higher. There is also Apify's start fee of $0.00005 per run.

Example: all US Top Ads of the last 30 days (about 185 ads) cost about $0.19. A daily monitoring run that finds 15 new ads costs $0.015.

Ads skipped because an earlier monitoring run delivered them are not charged. Set a maximum cost per run in the run options to stay within a budget; the Actor stops cleanly when it is reached.

### FAQ

**Why does Creative Center show me only 20 ads, and how does this Actor get more?**
Without a TikTok for Business login, each Top Ads list stops at 20 ads and has no second page. The same market sorted by likes, CTR or reach, or filtered by objective or industry, shows different ads. The Actor reads those lists until it has as many ads as TikTok reports for the market, and removes duplicates.

**Why are there sometimes more ads than TikTok's total?**
TikTok's count for a market is approximate; narrower filters sometimes list a few ads the market total leaves out. The run summary shows both numbers.

**Is CTR a percentage?**
No. `ctrTopPercent` is the rank Creative Center shows ("top 3%"): lower is better. The click-through rate itself is not public.

**What are keyframe metrics?**
Creative Center's analysis page for a Top Ad shows second-by-second curves, and the Actor returns those. Pick metrics in `keyframeMetrics` and each ad gets a `keyframes` object with `values` (index = second; TikTok's own scale, observed to put that video's best second at `1`) and `highlightSeconds`, the frames TikTok flags as the highlights (a metric is `null` when TikTok has no analysis for that ad). Use them to see which second of a video carries its clicks or where viewers drop off. They cost nothing extra — each ad is still one result.

**What is Top Ads Spotlight?**
The Spotlight tab in Creative Center is a handful of ads TikTok's creative experts hand-pick each month, each with a note on why the ad works. Turn on `spotlight` to get them as normal dataset rows with `spotlightNote` and no country — leave `countries` empty to get only these.

**Can I search Top Ads by keyword?**
Not yet: Creative Center's keyword search returns nothing to visitors without a login. Filter by industry, objective and language, or search the dataset (ad text, brand, landing page).

**Do I need a TikTok account or cookies?**
No. The Actor uses only what Creative Center shows to every visitor.

**How long are the video links valid?**
About 6 hours (see `videoUrlExpiresAt`). Run the Actor again, or download the videos right after the run.

### Limitations

- If the input has a problem (an empty list, a date that can't be read, a profile that doesn't exist or is private), the run finishes without failing and its status message says what to fix. Nothing is charged for such a run.
- Creative Center covers 80+ countries (82 verified to have Top Ads; a two-letter code outside the list is still tried, it may just have no ads yet), and only ads TikTok selects as Top Ads, not every ad that runs on TikTok. Country codes that are not real (e.g. `XX`) are skipped with a warning; if none are usable, the run finishes with an input-problem status message.
- Spotlight rows win dedupe: an ad that is both in Spotlight and a country list is delivered once, as the Spotlight row (`country` null). The market filters (industries, objectives, ad languages, ad format, like tiers, period) do not apply to Spotlight.
- A market is read with at most 600 list requests (`requestCapReached` shows in the run summary when a market hit it) and Spotlight with at most 10 pages — both far above what a normal market needs.
- Brand name is empty on about half of the ads, because the advertiser did not set one; the landing page domain usually tells you who it is.
- `keywords` is empty for most ads: Creative Center fills it rarely.
- A full market takes 1 to 5 minutes (about 75 list requests and one detail request per ad for the US over 30 days); the last 180 days of a big market take longer.
- TikTok can change Creative Center at any time. If something breaks, open an issue and we fix it.

### Feedback

Found a bug or need a field? Open an issue in the Issues tab and we will look at it. If this Actor saved you time, a short review on this page helps other users find it.

### More scrapers from NexusCortex

- [Facebook Ads Library Scraper](https://apify.com/nexuscortex/facebook-ads-library-scraper): Facebook and Instagram ads from the Meta Ad Library
- [Google Ads Transparency Scraper](https://apify.com/nexuscortex/google-ads-transparency-scraper): Google Search, YouTube and Display ads of any advertiser
- [Google Play Reviews Scraper](https://apify.com/nexuscortex/google-play-scraper): app reviews with developer replies, and app details
- [Google Trends Scraper](https://apify.com/nexuscortex/google-trends-scraper): interest over time, by region, related queries and Trending now
- [Threads Search Scraper](https://apify.com/nexuscortex/threads-search-scraper): Threads posts and profiles by keyword, back in time

# Actor input Schema

## `countries` (type: `array`):

Two-letter codes (US, GB, DE, BR, JP...) or country names. "ALL" = all 82 countries Creative Center covers: AE, AR, AT, AU, AZ, BD, BE, BG, BH, BO, BR, BY, CA, CH, CL, CO, CR, CY, CZ, DE, DK, DO, DZ, EC, EE, EG, ES, FI, FR, GB, GR, GT, HR, HU, ID, IE, IL, IQ, IT, JO, JP, KE, KH, KR, KW, KZ, LB, LK, LT, LV, MA, MX, MY, NG, NL, NO, NZ, OM, PA, PE, PH, PK, PL, PR, PT, PY, QA, RO, RS, SA, SE, SG, SI, SK, TH, TR, TW, UA, US, UY, VN, ZA. Left empty it defaults to US; with Top Ads Spotlight on, empty means no country market at all (Spotlight only).

## `period` (type: `string`):

Ads that ran in the last 7, 30 or 180 days.

## `allAds` (type: `boolean`):

Creative Center shows at most 20 ads per list to visitors without an account. With this on, the Actor reads the list in every sort order, objective and industry until it has every ad of the market (measured: 187 US ads of the last 30 days where TikTok reported 183, in about 2.5 minutes). Off: only the top 20 by "Sort by", with their rank.

## `spotlight` (type: `boolean`):

Also add Top Ads Spotlight: the ads TikTok's creative experts hand-pick each month (5 at the moment), with their note. Leave Countries empty to get only these.

## `sortBy` (type: `string`):

Ranking used when "Get every ad" is off.

## `includeDetails` (type: `boolean`):

Landing page URL and domain, comments, shares, every country the ad ran in, objectives and source. One extra request per ad (no extra charge).

## `keyframeMetrics` (type: `array`):

Second-by-second curves from Creative Center's ad analysis, scaled so the video's best second = 1, plus TikTok's highlight seconds. One extra request per metric per ad (no extra charge). CVR and conversions are only filled for ads with a conversion objective.

## `maxItems` (type: `integer`):

Stop after this many ads in total. Each ad is one result; an ad found in several countries is delivered once.

## `industries` (type: `array`):

Optional. Industry names as Creative Center shows them, e.g. "Beauty & Personal Care", "Apps", "Games", "E-Commerce (Non-app)", "Haircare". Empty = all industries.

## `objectives` (type: `array`):

Optional. Traffic, App Installs, Conversions, Video Views, Reach, Lead Generation, Product Sales, App Promotion. Empty = all.

## `adLanguages` (type: `array`):

Optional language codes of the ad: en, es, ar, vi, th, de, id, pt, fr, ms, nl, ja, it, ro, zh-Hant, ko. Empty = all.

## `adFormat` (type: `string`):

Optional. Spark Ads are boosted organic posts; Non-Spark Ads are regular in-feed ads.

## `likeTiers` (type: `array`):

Optional. Only ads in the selected like tiers are collected. Each tier is read as its own market; an ad in several is delivered once. Empty = all.

## `monitorName` (type: `string`):

Optional. Runs with the same name deliver (and charge) only ads that earlier runs have not delivered. Schedule the Actor daily with a name like "us-beauty" to get a feed of new Top Ads.

## `proxyConfiguration` (type: `object`):

Apify Proxy (datacenter) works. No login or cookies are used.

## Actor input object example

```json
{
  "countries": [
    "US"
  ],
  "period": "30",
  "allAds": true,
  "spotlight": false,
  "sortBy": "FOR_YOU",
  "includeDetails": true,
  "keyframeMetrics": [],
  "maxItems": 100,
  "adFormat": "ALL",
  "likeTiers": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One item per ad.

## `summary` (type: `string`):

Ads found per market against TikTok's own total, requests and failed markets.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "countries": [
        "US"
    ],
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexuscortex/tiktok-creative-center-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "countries": ["US"],
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nexuscortex/tiktok-creative-center-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "countries": [
    "US"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nexuscortex/tiktok-creative-center-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nexuscortex/tiktok-creative-center-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PXsgdiULXafJdC1qU/builds/ImrqUZ9GBwLJlFjgS/openapi.json
