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

Search TikTok Shop by keyword with automatic pagination, region support, and an optional detail-enrichment checkbox that adds product, shop, review, voucher, category, and shop-performance data to every saved result.

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

## Pricing

from $5.00 / 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 Products Scraper

Search TikTok Shop by keyword and export every matching product as structured data — product IDs, seller IDs, prices, ratings, and sold counts — across 8 regions.

TikTok Shop has no public product-search API. This Actor covers that gap: you give it a keyword, it paginates the results and returns clean rows you can push straight into a sheet, a database, or your own pricing model.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `keyword` | string | — | **Required.** Product keyword to search for. |
| `region` | enum | `US` | `US`, `GB`, `SG`, `MY`, `PH`, `TH`, `VN`, `ID`. Each is a separate catalogue. |
| `maxItems` | integer | `100` | Caps how many products are saved. `0` means no limit. Pagination is automatic. |
| `addonProductDetails` | boolean | `false` | Adds the detail fields below. One extra request per product. |

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

### Output

Every product row carries these eight fields:

| Field | What it holds |
|---|---|
| `product_id` | TikTok Shop product ID |
| `seller_id` | Seller or shop ID associated with the product |
| `title` | Product title from search results |
| `name` | Product name from the detail payload, when available |
| `price` | Product price information |
| `image` | Primary product image URL |
| `sold_count` | Sales count |
| `rating` | Product rating |

```json
{
  "product_id": "1732432759321694958",
  "seller_id": "8655572138322465518",
  "title": "LEGO Classic Creative Bricks Box",
  "name": "LEGO Classic Creative Bricks Box",
  "price": "$24.99",
  "image": "https://p16-oec-va.ibyteimg.com/...",
  "sold_count": 4821,
  "rating": 4.8
}
```

#### With `addonProductDetails` enabled

Eight more fields are merged into each row. Any that the upstream response omits come back `null` rather than being dropped, so the row shape stays stable across products.

| Field | What it holds |
|---|---|
| `product_detail` | Full product detail payload |
| `product_info` | Full product information object |
| `shop_info` | Shop information object |
| `reviews_info` | Review summary and rating information |
| `hot_reviews` | Highlighted reviews |
| `vouchers` | Product voucher and promotion data |
| `category_info` | Product category information |
| `shop_performance` | Shop performance indicators |

Leave it off when you only need the listing data — it is one extra request and one extra billed event per product.

### What people use it for

- **Product research** — pull a whole keyword's catalogue with `sold_count` and `rating`, then sort to find what is actually moving.
- **Price tracking** — schedule a run and diff `price` across days.
- **Competitor catalogues** — take the `seller_id` from any result and hand it to [TikTok Shop Seller Products Scraper](https://apify.com/toolzerhub/tiktok-shop-seller-products-scraper) to pull that shop's full range.
- **Review mining** — enable details and read `hot_reviews` for the complaints buyers repeat.

### Questions

**Why did I get fewer products than `maxItems`?**
TikTok's search paginates with a cursor, and it stops handing out new ones well before most keywords are exhausted. The run ends when TikTok reports no more pages, returns an empty page, or repeats the cursor it already gave. A keyword with 4,000 listings will not return 4,000 rows. Broaden or split the keyword rather than raising `maxItems`.

**What happens when a product's details can't be fetched?**
You keep the row. Enrichment is per-product, so a failed detail lookup leaves that product with its search fields (`product_id`, `title`, `price`, `image`, `sold_count`, `rating`) and no detail fields. The run continues, and you are not charged for a lookup that returned nothing.

**Does TikTok Shop have an API?**
TikTok's Partner API covers sellers managing their own shop — your orders, your listings. There is no public endpoint for searching another seller's catalogue, which is the gap this fills.

**Why do results differ between regions?**
TikTok Shop runs a separate catalogue per market. A listing live in `US` does not appear under `GB` unless the seller published it there too, and prices are quoted in each market's own currency. Run the keyword once per region you care about.

**How do Kalodata and FastMoss compare?**
They are dashboards — you read their charts in their UI. This returns the rows themselves, so you can join them against your own cost or inventory data, or diff two runs to see what moved. Different job, not a cheaper version of theirs.

**Can I pass a product URL instead of an ID?**
Yes, anywhere a product ID is accepted. `https://shop.tiktok.com/view/product/1732432759321694958` and `1732432759321694958` are treated the same, including regional subdomains and trailing query strings.

**I already have the product ID — is search the right tool?**
No. [TikTok Shop Product Scraper](https://apify.com/toolzerhub/tiktok-shop-product-scraper) fetches one product directly and skips the search request entirely.

### Other TikTok Shop Actors

| Actor | Use when |
|---|---|
| [TikTok Shop Search Scraper](https://apify.com/toolzerhub/tiktok-shop-search-scraper) | You want listing fields only, at maximum speed |
| [TikTok Shop Product Scraper](https://apify.com/toolzerhub/tiktok-shop-product-scraper) | You already have a product ID or URL |
| [TikTok Shop Seller Products Scraper](https://apify.com/toolzerhub/tiktok-shop-seller-products-scraper) | You want one shop's entire catalogue |
| [TikTok Shop Category Products Scraper](https://apify.com/toolzerhub/tiktok-shop-category-products-scraper) | You want a whole category, without a keyword |
| [TikTok Shop Reviews Scraper](https://apify.com/toolzerhub/tiktok-shop-reviews-scraper) | You want what buyers said about a product |

### Support

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

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

# Actor input Schema

## `keyword` (type: `string`):

Product keyword to search for on TikTok Shop.

## `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
{
  "keyword": "phone",
  "region": "US",
  "maxItems": 20,
  "addonProductDetails": false
}
```

# Actor output Schema

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

Dataset containing all scraped data

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

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

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

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

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

```

## CLI example

```bash
echo '{
  "keyword": "LEGO",
  "maxItems": 20
}' |
apify call toolzerhub/tiktok-shop-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=toolzerhub/tiktok-shop-products-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/7Ax4RDf7dmelQUIIw/builds/B0BtNj9j7lj2OyMEg/openapi.json
