# TikTok Ads Scraper — Creative Center Top Ads (`crawloop/tiktok-ads-scraper`) Actor

Scrape TikTok Creative Center top ads by country, industry, and objective. Export CTR, likes, video URL, landing page, and the countries where the ad ran. No TikTok login.

- **URL**: https://apify.com/crawloop/tiktok-ads-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 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 Ads Scraper

Public top ads from TikTok Creative Center: headline, CTR score, likes, video file, landing page, industry, and objective. No TikTok login.

This TikTok Ads Scraper reads the Creative Center top-ads board for one or more countries and returns the creatives TikTok ranks for that window. Use it for competitor creative research, landing-page collection, and a repeatable JSON export from Python, Node.js, cURL, or MCP.

| TikTok top ads | Meta Ad Library |
| :--- | :--- |
| TikTok Ads Scraper ◄── you are here | [Facebook Ads Library Scraper](https://apify.com/crawloop/facebook-ads-library-scraper) |

### When to use it

Use this Actor when you want the ads TikTok surfaces as top performers in a country, industry, or objective, including the video URL and the landing page.

Skip it for organic TikTok posts, profiles, comments, or the EU commercial-content ads library. This Actor reads the Creative Center top-ads board only. For ads a brand is running on Facebook and Instagram, use [Facebook Ads Library Scraper](https://apify.com/crawloop/facebook-ads-library-scraper).

### Key features

- Country, 7/30/180-day window, and Creative Center sort (for you, likes, CTR, impressions)
- Optional industry id, objective id, and ad language
- CTR score, likes, comments, shares, and video duration
- Landing page and the country list from the ad detail
- Direct video URL, preferring 720p
- About 20 ads per country; add countries to collect more, up to 200 in one run
- JSON dataset for Python, Node.js, cURL, and MCP

### Input

| Field | Required | Default | What it does |
| :--- | :--- | :--- | :--- |
| `countries` | no | `US` | ISO codes. Each country returns about 20 ads. |
| `country` | no | `US` | Single country used when `countries` is empty. |
| `period` | no | `30` | `7`, `30`, or `180` days. |
| `orderBy` | no | `for_you` | `for_you`, `like`, `click_show_rate`, `impression`, `play_2s_rate`, `play_6s_rate`, or `cost`. |
| `industry` | no | empty | Industry id, for example `12000000000` (beauty) or `22000000000` (apparel). |
| `objective` | no | empty | `1` traffic, `2` app installs, `3` conversions. |
| `adLanguage` | no | empty | Language code such as `en`, `es`, or `de`. |
| `maxAds` | no | `20` | Cap across all countries. |
| `includeDetails` | no | `true` | Landing page, comments, shares, and countries. |
| `proxyConfiguration` | no | Apify datacenter | On by default. One residential retry if the datacenter IP is rejected. |

```json
{
  "countries": ["US", "GB"],
  "period": "30",
  "orderBy": "like",
  "industry": "12000000000",
  "maxAds": 40,
  "includeDetails": true
}
```

### Output

| Field | Meaning |
| :--- | :--- |
| `adId` | Creative Center material id |
| `adTitle` | Headline or caption |
| `brandName` | Brand, when the board publishes one |
| `ctr` | Creative Center CTR score |
| `likes` | Likes on the card |
| `comments` | Comments from the detail |
| `shares` | Shares from the detail |
| `industry` | Industry name |
| `objective` | Campaign objective |
| `landingPage` | Click-through URL |
| `countries` | Countries where the ad ran |
| `videoUrl` | Direct video file |
| `coverUrl` | Cover image |
| `durationSeconds` | Video length |
| `country` | Country used for this search |
| `periodDays` | Lookback window |

```json
{
  "adId": "7686346996722745360",
  "adTitle": "Discover the world of Emiriah perfumes.",
  "brandName": "",
  "ctr": 0.83,
  "likes": 32,
  "comments": 0,
  "shares": 0,
  "industry": "Perfumes",
  "objective": "Traffic",
  "landingPage": "https://www.emiriah.com?utm_source=tiktok",
  "countries": ["AE", "IT", "MX", "US"],
  "videoUrl": "https://v16m-default.tiktokcdn.com/example.mp4",
  "country": "US",
  "periodDays": 30,
  "orderBy": "for_you"
}
```

### Use cases

- Export the current US top ads in beauty and keep the landing pages for a creative review.
- Compare the same 30-day window in US and GB and sort the dataset by `ctr`.
- Schedule a country plus industry and diff `adId` against the previous run to see which creatives stayed on the board.
- Pull video URLs for ads sorted by likes when you need examples of a format, not a keyword dump.

### Integration examples

#### Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('crawloop/tiktok-ads-scraper').call({
  countries: ['US'],
  period: 30,
  orderBy: 'like',
  maxAds: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].adTitle, items[0].ctr, items[0].landingPage);
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient(token="YOUR_APIFY_TOKEN")
run = client.actor("crawloop/tiktok-ads-scraper").call(run_input={
    "countries": ["US"],
    "period": "30",
    "maxAds": 20,
    "includeDetails": True,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["adTitle"], item["likes"], item["landingPage"])
```

#### cURL

```bash
curl "https://api.apify.com/v2/acts/crawloop~tiktok-ads-scraper/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"countries":["US"],"period":30,"maxAds":20}'
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp). Connect your Apify account, then call `crawloop/tiktok-ads-scraper`.

Example prompts:

- "Run TikTok Ads Scraper for US top ads over the last 30 days and return ad title, CTR, likes, and landing page."
- "Scrape TikTok top ads in GB sorted by likes, industry 12000000000, and list the video URLs."
- "Get TikTok Creative Center ads for DE with objective 3 and summarize which landing pages repeat."
- "Chain TikTok Ads Scraper then Facebook Ads Library Scraper for the same brand and compare TikTok top creatives with active Meta ads."

### Suite next step

After the TikTok top-ads board, run [Facebook Ads Library Scraper](https://apify.com/crawloop/facebook-ads-library-scraper) on the same brand keyword or Page ID for active Facebook and Instagram creatives, days running, and landing URLs.

### Related Actors

- TikTok Ads Scraper ◄── you are here
- [Facebook Ads Library Scraper](https://apify.com/crawloop/facebook-ads-library-scraper) — Meta Ad Library: copy, CTA, days running, variant count

### FAQ

**Does this need a TikTok login?**\
No. It reads the public Creative Center top-ads board while logged out.

**Why do I only get about 20 ads per country?**\
The anonymous top-ads list returns one page of about 20 creatives for a country and filter. Add countries, or set an industry or objective, to collect a different slice. `maxAds` stops the run; it does not unlock a longer page.

**Why is `brandName` often empty?**\
Creative Center leaves the brand blank on many cards. The headline, video, and landing page are still filled when the detail request succeeds.

**What is `ctr`?**\
It is the CTR score Creative Center publishes on the card, not a percentage you calculate from impressions.

**The run failed before saving ads.**\
The datacenter IP was rejected. The Actor retries once on residential. If that also fails, set the proxy group to residential and rerun.

# Actor input Schema

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

ISO country codes. Each country returns about 20 top ads for the selected filters. Add countries to collect more rows.

## `country` (type: `string`):

Single ISO country used when Countries is empty. Example: US, GB, DE.

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

Lookback window in days.

## `orderBy` (type: `string`):

Creative Center sort.

## `industry` (type: `string`):

Optional Creative Center industry id. Examples: 12000000000 beauty, 22000000000 apparel, 14000000000 health, 27000000000 finance. Leave empty for all industries.

## `objective` (type: `string`):

Optional objective id. 1 traffic, 2 app installs, 3 conversions. Leave empty for all objectives.

## `adLanguage` (type: `string`):

Optional language code such as en, es, de, fr, pt, or ja. Leave empty for all languages.

## `maxAds` (type: `integer`):

Stop after this many ads across all countries. One country usually returns about 20.

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

Load landing page, comments, shares, and the countries where each ad ran. One extra request per ad.

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

Datacenter proxy is on by default. The run switches to residential once if Creative Center rejects the datacenter IP.

## Actor input object example

```json
{
  "countries": [
    "US"
  ],
  "country": "US",
  "period": "30",
  "orderBy": "for_you",
  "maxAds": 20,
  "includeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Default dataset items.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/tiktok-ads-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"] }

# Run the Actor and wait for it to finish
run = client.actor("crawloop/tiktok-ads-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"
  ]
}' |
apify call crawloop/tiktok-ads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawloop/tiktok-ads-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/isiTKPCSjv31fBQwd/builds/lvinBWjc9SJ1qm4Iw/openapi.json
