# TikTok Shop Trending Scraper (`toolzerhub/tiktok-shop-trending-products-scraper`) Actor

Export the TikTok Shop products trending hardest in any region right now. Every row carries price, rating, sold count, brand, seller, and variant data, with optional full product detail added. Export scraped data, run via API, and track what a TikTok Shop market is buying.

- **URL**: https://apify.com/toolzerhub/tiktok-shop-trending-products-scraper.md
- **Developed by:** [ToolzerHub](https://apify.com/toolzerhub) (community)
- **Categories:** E-commerce, Social media, Automation
- **Stats:** 3 total users, 2 monthly users, 14.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.31 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## TikTok Shop Trending Products Scraper

Pull the products TikTok Shop is pushing hardest in a region, right now — one call gets you the whole ranked list.

Every row carries price, star rating, units sold, seller, brand, and every purchasable variant. Turn on one setting and each row grows to include the full product page, the shop's profile, review data, vouchers, and category info too.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `region` | enum | `US` | **Required.** `US`, `GB`, `SG`, `MY`, `PH`, `TH`, `VN`, `ID`. |
| `maxItems` | integer | `100` | How many products to save. `0` saves everything the region has to offer, up to the cap below. |
| `addonProductDetails` | boolean | `false` | Add the full product, shop, review, voucher, category, and performance record to each row. Costs one extra request per product, so leave it off when the listing fields already answer your question. |

```json
{
  "region": "US",
  "maxItems": 100,
  "addonProductDetails": false
}
```

There's no cursor here — one request hands back the ranked list TikTok is currently promoting, and `maxItems` decides how much of it you keep. The feed is capped at 1,000 products, so setting `maxItems` above 1,000, or to `0` for "everything", asks for the same 1,000 either way.

### What you get

| Field | Holds |
|---|---|
| `product_id` | TikTok Shop product ID |
| `title` | Product title, when the listing carries one |
| `image` | Primary product image |
| `product_price_info` | Real price, original price, currency, and discount for the listed variant |
| `rate_info` | Star score and review count |
| `sold_info` | Units sold |
| `seller_info` | The seller behind the listing |
| `brand_info` | Brand attached to the product, when TikTok records one |
| `sku_info` | Every purchasable variant, each with its own ID, price, and stock |
| `product_marketing_info` | Promotion and campaign labels, like seasonal sale badges |
| `seo_url` | The product's SEO URL info, when available |
| `product_detail`, `product_info`, `shop_info`, `reviews_info`, `hot_reviews`, `vouchers`, `category_info`, `shop_performance` | Only present when **addonProductDetails** is on |

```json
{
  "product_id": "1729430076387136161",
  "title": "JLab JBuds Lux ANC Wireless Bluetooth Noise Cancelling Headphones with Mics, Adjustable Over-Ear Design, Custom EQ, Be Aware Safety Mode, Foldable",
  "product_price_info": {
    "currency_name": "USD",
    "sale_price_format": "79.99",
    "origin_price_format": "91.99",
    "discount_format": "13%"
  },
  "rate_info": { "score": 4.7, "review_count": "19276" },
  "sold_info": { "sold_count": 170128 },
  "seller_info": { "shop_name": "JLab" }
}
```

That's a trimmed real row. Watch the types — `sold_count` and `score` come back as numbers while `review_count` comes back as a numeric string, passed through exactly as the source returns them.

### Questions

**What is the most sold item on TikTok Shop?**
Not necessarily row one. This Actor returns TikTok's own trending order, which is a promotion ranking, not a sales ranking — it isn't sorted by `sold_info`. If you want the actual best-seller, pull the run's dataset and sort by `sold_info` yourself.

**How to find TikTok Shop performance score?**
That's `shop_performance`, and it's addon-only — it shows up on a row only when **addonProductDetails** is checked. Leave the setting off and the field won't be there.

**Why did I get 1,000 rows when I set `maxItems` to 5,000?**
The trending feed is requested as a single total, and that total caps at 1,000. There's no cursor or offset to push past it — one call is the whole feed, so `maxItems` can only trim it down, never extend it. Fewer than 1,000 is also normal: a smaller storefront simply has a shorter feed.

**Does `addonProductDetails` slow the run down?**
Yes, by design — it's one extra request per product on top of the trending list itself. On a `maxItems: 1000` run that's 1,000 extra requests. Turn it on when you need review counts, vouchers, or shop performance; leave it off when price, rating, and sold count already answer the question.

### Other TikTok Shop Actors

| Actor | Use when |
|---|---|
| [TikTok Shop Products Scraper](https://apify.com/toolzerhub/tiktok-shop-products-scraper) | You have a keyword, not just a region |
| [TikTok Shop Category Products Scraper](https://apify.com/toolzerhub/tiktok-shop-category-products-scraper) | You want one category, not the whole trending feed |
| [TikTok Shop Keyword Ideas Scraper](https://apify.com/toolzerhub/tiktok-shop-keyword-ideas-scraper) | You want search terms before you search |
| [TikTok Shop Seller Info Scraper](https://apify.com/toolzerhub/tiktok-shop-seller-info-scraper) | A row's `seller_info` is worth a closer look |

### Support

Questions, bugs, or feature requests: **contact@toolzerhub.com**

Browse the rest: [apify.com/toolzerhub](https://apify.com/toolzerhub)

# Actor input Schema

## `region` (type: `string`):

TikTok Shop region code.

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

Maximum number of products to save in search mode. Set 0 for no limit.

## `addonProductDetails` (type: `boolean`):

Add product, shop, review, voucher, category, and performance detail to every product found. This makes one extra request per product.

## Actor input object example

```json
{
  "region": "US",
  "maxItems": 20,
  "addonProductDetails": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

Every record collected during this run

# 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 = {
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("toolzerhub/tiktok-shop-trending-products-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 = { "maxItems": 20 }

# Run the Actor and wait for it to finish
run = client.actor("toolzerhub/tiktok-shop-trending-products-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 '{
  "maxItems": 20
}' |
apify call toolzerhub/tiktok-shop-trending-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,toolzerhub/tiktok-shop-trending-products-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/KltM0w60tH64bhY82/builds/rTssDyaOnFbtkcODh/openapi.json
