# TikTok Shop Products — Search, Trends & Reviews (`datanebula/tiktok-shop-products`) Actor

Research TikTok Shop products by market, keyword, price and sales. Get product details, trends, reviews, related creators and videos, rankings and market analytics. Export structured results as JSON, CSV or Excel.

- **URL**: https://apify.com/datanebula/tiktok-shop-products.md
- **Developed by:** [DataNebula](https://apify.com/datanebula) (community)
- **Categories:** E-commerce, Social media
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 result rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Shop Products — Search, Trends & Reviews

Get structured TikTok data for research and automation. Choose an operation, select a market, and export the results as JSON, CSV or Excel. No supplier API key is required.

### Quick start

The example input searches the United States market and returns up to 10 rows. For details and related lists, first search in your target market, then copy the returned ID into Entity IDs and select the relevant operation.

### Operations

All operations require a market.

| Operation | Input value | Additional required fields |
| --- | --- | --- |
| Search Products | `products-search` | Market only |
| Category Market Heatmap | `dashboards-categories-heatmap` | date, granularity |
| Category Market Overview | `dashboards-categories-metrics` | date, granularity |
| Category Share of Product Sales | `dashboards-products-category-share` | startDate, granularity |
| Product Market Overview | `dashboards-products-metrics` | date, granularity |
| Most-Promoted Products | `products-ranking-most-promoted` | date, granularity |
| Trending New Products | `products-ranking-new-arrivals` | Market only |
| Top-Selling Products | `products-ranking-top-selling` | date, granularity |
| Product Sales Trends | `products-trend` | ids, startDate, endDate |
| Product Details | `products-detail` | ids |
| Creators Promoting a Product | `products-creators` | ids |
| Livestreams Featuring a Product | `products-lives` | ids |
| Product Reviews | `products-reviews` | ids |
| Similar Products | `products-similar` | ids |
| Videos Featuring a Product | `products-videos` | ids |

### Inputs and limits

- Select one operation per run. Fill only the filters listed for that operation.
- IDs must be strings from search results in the same market. URLs and handles are not resolved.
- Maximum results is a run-wide limit. Search and related data use pages of up to 10; rankings use up to 20. Availability and pagination depth depend on the source.
- Dates use UTC and accept YYYY-MM-DD or YYYYMMDD. The latest reporting day may be incomplete.
- Detail includes do not fetch related lists. Select a separate operation for comments, products, creators or videos.
- Image search, Amazon, standalone livestream queries and video downloads are not included.

### Results

Each result preserves the data fields returned by the source and adds an \_context object for the market, operation, source ID and request ID. Detail queries can return multiple records. Trend and market report rows may contain nested arrays; use JSON to preserve them. Missing values remain missing or null rather than zero. Monetary units remain as provided by the source and are not universally USD.

The SUMMARY output records completion status, row count and warnings. Empty results are valid: IDs that return nothing are listed in emptyInputs with a warning. Paginated lists keep the first record per ID, and removed repeats are counted in duplicatesRemoved. Temporary failures (HTTP 429, 5xx and network errors) are retried up to three times, honoring Retry-After. An upstream failure is reported as a failure or incomplete run, not disguised as an empty successful result.

### Coverage and interpretation

Data coverage varies by market, entity and date. The source refreshes data periodically; this is not a promise of real-time completeness. Sales and GMV fields may be estimates. Historical availability varies by metric. Creator content categories and product categories use different identifiers. Category Market Overview and Product Market Overview report the same market-wide totals unless a category is set; only Product Market Overview accepts a category filter.

### Pricing and free access

You pay through Apify only; no supplier account is needed. Each paginated row (search, rankings and related lists) costs $3.00 per 1,000. Each ID in a detail query or trend, and each market report, costs $0.015, including any additional detail sections. Empty results, failed requests and removed duplicates are not charged; rows already delivered by a run that later fails remain charged.

Apify Free plan users can try this Actor with their platform credits and receive up to 20 results per run. Set a maximum cost per run to control spend: the Actor stops at that limit and keeps what it has delivered.

### Support

Open an issue on this Actor with the run ID, selected operation and market. Never include passwords or API keys.

# Actor input Schema

## `operation` (type: `string`):

Choose one operation per run. See the README for the required inputs for each operation.

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

Use the market in which the entity ID was found. Data coverage varies by market.

## `maxResults` (type: `integer`):

Total result rows across this run. Stops pagination at this limit. Apify Free plan users receive up to 20 rows per run. Analytical results may contain nested report data.

## `ids` (type: `array`):

Required for details and related data. Paste IDs returned by a search in the selected market. Handles and URLs are not supported.

## `include` (type: `array`):

Optional sections for detail operations only. These do not fetch related lists such as comments or videos.

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

Search keyword
Applies to: Search Products.

## `category` (type: `string`):

Optional TikTok product category ID, passed as a numeric string. Omit this parameter for an unfiltered category search. You can obtain an ID from l1_category in product search results for the selected country. A top-level ID includes products in its subcategories. Product categories and creator content categories use different ID systems.

Top-level product category reference (availability varies by market):

| Category ID | Category name |
| --- | --- |
| 601450 | Beauty & Personal Care |
| 601152 | Womenswear |
| 700645 | Health |
| 603014 | Sports & Outdoors |
| 601739 | Phones & Electronics |
| 600942 | Home Appliances |
| 824328 | Menswear |
| 605248 | Fashion Accessories |
| 700437 | Food & Beverages |
| 600001 | Home Supplies |
| 604453 | Furniture |
| 600024 | Kitchenware |
| 600154 | Home Textiles |
| 824584 | Luggage & Bags |
| 604206 | Toys & Hobbies |
| 601352 | Footwear |
| 604579 | Tools & Hardware |
| 604968 | Home Improvement |
| 602118 | Pet Supplies |
| 601755 | Computers & Office Equipment |
| 602284 | Baby & Maternity |
| 605196 | Automotive & Motorcycles |
| 951432 | Collectibles |
| 801928 | Books, Magazines & Audio/Video |
| 953224 | Jewelry & Related Products |
| 856720 | Secondhand Goods |
| 802184 | Kids' Fashion |
Applies to: Search Products; Product Market Overview; Most-Promoted Products; Trending New Products; Top-Selling Products.
Enter a category ID or a category name from the reference table, such as Beauty & Personal Care.

## `seller_type` (type: `string`):

Seller type: 1 = overseas non-brand; 2 = local; 3 = brand; 4 = non-brand.
Applies to: Search Products; Most-Promoted Products; Trending New Products; Top-Selling Products.

## `min_price` (type: `number`):

Minimum price in the selected market's local currency, the same unit as the returned price fields
Applies to: Search Products.

## `max_price` (type: `number`):

Maximum price in the selected market's local currency, the same unit as the returned price fields
Applies to: Search Products.

## `min_rating` (type: `number`):

Minimum rating, from 0 to 5
Applies to: Search Products.

## `max_rating` (type: `number`):

Maximum rating, from 0 to 5
Applies to: Search Products.

## `min_sold_7d` (type: `number`):

Minimum units sold over 7 days
Applies to: Search Products.

## `max_sold_7d` (type: `number`):

Maximum units sold over 7 days
Applies to: Search Products.

## `min_sold_30d` (type: `number`):

Minimum units sold over 30 days
Applies to: Search Products.

## `max_sold_30d` (type: `number`):

Maximum units sold over 30 days
Applies to: Search Products.

## `free_shipping` (type: `string`):

Whether shipping is free
Applies to: Search Products.

## `sort` (type: `string`):

Sort as field, field:asc or field:desc. A bare field uses descending order.
Applies to: Search Products; Most-Promoted Products; Trending New Products; Top-Selling Products.
Allowed fields — Search Products: daily_sold, gmv_30d, gmv_7d, price, rating, sold_30d, sold_7d. Append :asc for ascending order.

## `date` (type: `string`):

Reporting date in YYYYMMDD format, for example 20261013. Use with granularity to select the reporting period; data availability varies by date.
Applies to: Category Market Heatmap; Category Market Overview; Product Market Overview; Most-Promoted Products; Top-Selling Products. Use YYYY-MM-DD or YYYYMMDD.

## `granularity` (type: `string`):

Reporting period: daily, weekly or monthly. Numeric aliases 0, 1 and 2 are also accepted. Pair with date.
Applies to: Category Market Heatmap; Category Market Overview; Product Market Overview; Most-Promoted Products; Top-Selling Products.

## `listed_from` (type: `string`):

Listing start date in YYYYMMDD format
Applies to: Trending New Products. Use YYYY-MM-DD or YYYYMMDD.

## `listed_to` (type: `string`):

Listing end date in YYYYMMDD format
Applies to: Trending New Products. Use YYYY-MM-DD or YYYYMMDD.

## `product_status` (type: `string`):

Product status filter: 1 = On sale; 2 = Delisted; 3 = Deleted. Omit this parameter to apply no status filter.
Applies to: Trending New Products.

## `startDate` (type: `string`):

Required for product trends and category sales share. YYYY-MM-DD or YYYYMMDD, UTC.

## `endDate` (type: `string`):

Required for product trends; optional custom range end for category sales share. YYYY-MM-DD or YYYYMMDD, UTC.

## Actor input object example

```json
{
  "operation": "products-search",
  "country": "us",
  "maxResults": 10
}
```

# Actor output Schema

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

No description

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

No description

# 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 = {
    "operation": "products-search",
    "country": "us",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("datanebula/tiktok-shop-products").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 = {
    "operation": "products-search",
    "country": "us",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("datanebula/tiktok-shop-products").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 '{
  "operation": "products-search",
  "country": "us",
  "maxResults": 10
}' |
apify call datanebula/tiktok-shop-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datanebula/tiktok-shop-products"
        }
    }
}
```

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/bugE26ycJ11xI67Cv/builds/QrXK2j8NAPnOH9JSm/openapi.json
