# TikTok Shop Product Reviews (Mobile) (`rogertkart/tiktok-shop-product-reviews-mobile`) Actor

Scrape TikTok Shop product reviews for one product ID. Star ratings, review text, SKU variants, timestamps. Filters, sorting, multi-region. Pay per review saved.

- **URL**: https://apify.com/rogertkart/tiktok-shop-product-reviews-mobile.md
- **Developed by:** [Rogert kart](https://apify.com/rogertkart) (community)
- **Categories:** E-commerce, Social media, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 requests

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 Product Reviews (Mobile) | Extract reviews by product ID

Fetch TikTok Shop product reviews using a numeric **product ID** and **region** — structured dataset output, pay only for reviews saved.

⭐ Multi-region | 📦 One product per run (scale via API) | 💰 Pay per review extracted

***

#### Legal & compliance

This Actor is an independent tool. It is **not** affiliated with or endorsed by TikTok or ByteDance. You are responsible for complying with TikTok’s terms, applicable data-protection laws, and only scraping data you are allowed to use. Use outputs at your own risk.

***

#### What is this Actor?

This Actor loads TikTok Shop product reviews for a single product ID until it reaches your **max reviews** cap or there are no more reviews.

Default **`maxReviews: 30`**. Set **`0`** for all reviews on the product.

***

#### What data can you extract?

Each saved review is one dataset row:

| Field | Description |
| --- | --- |
| `productId` | TikTok Shop product ID you requested |
| `region` | Shop region code (e.g. `VN`, `US`, `GB`) |
| `review_id` | Unique review identifier |
| `rating` | Star rating (1–5) |
| `review_text` | Review body text |
| `review_timestamp_ms` | Review time (milliseconds) |
| `review_timestamp` | Human-readable timestamp |
| `sku_id` | SKU / variant ID when present |
| `sku_specification` | Variant label (e.g. size, color) |
| `review_count` | Total reviews TikTok reports for the product (same on each row) |

***

#### Use cases

- 🛒 **Product research** — Read real customer feedback before sourcing or listing
- 📊 **Competitor analysis** — Compare ratings and themes across products
- 🤖 **AI & NLP** — Feed review text into sentiment models or LLM pipelines
- 📈 **Review monitoring** — Track volume and ratings for your catalog
- 🔍 **Due diligence** — Validate quality signals on TikTok Shop listings

***

#### Input parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `productId` | String | TikTok Shop numeric product ID (15–19 digits) | **Required** |
| `region` | String | Shop country code (`VN`, `ID`, `TH`, `MY`, `PH`, `SG`, `US`, `GB`, `DE`, `FR`, `IT`, `ES`, `MX`, `BR`, `JP`, `IE`) | `VN` |
| `sortType` | String | `recent` or `recommended` (legacy: `1` / `2` via API) | `recent` |
| `reviewFilter` | String | `all`, `5_star`…`1_star`, `with_images` | `all` |
| `maxReviews` | Integer | Reviews to save; **`0`** = all reviews | **`30`** |

> **Tip:** You are charged per **review saved** only.

> **Tip:** `maxReviews: 50` stops after 50 reviews are saved. The Actor stops early if the product has fewer reviews.

***

#### How to use

##### 1. Single product (Console or API)

```json
{
  "productId": "1730623979765139708",
  "region": "VN",
  "sortType": "recent",
  "maxReviews": 50
}
```

##### 2. Small sample

```json
{
  "productId": "1730623979765139708",
  "region": "VN",
  "maxReviews": 1
}
```

Returns **1 review row** in the dataset.

##### 3. Multiple products

Each run accepts one `productId`. Start one run per product (parallel or sequential) via the Apify API or Tasks — same input shape, different `productId`.

```json
{
  "productId": "1730623979765139708",
  "region": "US",
  "maxReviews": 100
}
```

##### 4. Fetch all reviews

Set **`maxReviews` to `0`** in one run to save every review TikTok returns for that product (watch Apify run timeout on very large catalogs).

***

#### Output example

```json
{
  "productId": "1730623979765139708",
  "region": "VN",
  "review_id": "7633417544967227154",
  "rating": 4,
  "review_text": "Great quality, fast shipping.",
  "review_timestamp_ms": 1777293521541,
  "review_timestamp": "2026-04-27 17:38:41.541000",
  "sku_id": "1734843767394567420",
  "sku_specification": "Item: Red, L",
  "review_count": 14264
}
```

***

#### Pricing

**$0.30 per 1,000 reviews** saved (`$0.0003` each, event name: `review`). A small **Actor start** fee applies per run (`apify-actor-start`). You are not charged for reviews that are not saved.

***

#### FAQ

**How do I find the product ID?**\
It is the long numeric ID in the TikTok Shop product URL or product metadata (typically 15–19 digits).

**How many reviews can I fetch?**\
Up to all reviews TikTok exposes for that product. Enter any number in Console; use **`0`** for all reviews (`"all"` string still works via API).

**Can I scrape multiple products in one run?**\
One `productId` per run. Use the API to start many runs with different IDs.

**What regions are supported?**\
See the `region` dropdown in input: VN, ID, TH, MY, PH, SG, US, GB, DE, FR, IT, ES, MX, BR, JP, IE.

**How do I get more than the default 30 reviews?**\
Increase **Max reviews**, or set it to **`0`** for all reviews in a single run.

**Why did my run stop early?**\
Check the run log for `reason=…`: `MAX_REVIEWS` (cap), `RUN_BUDGET_LIMIT` (run spending limit), `USER_ABORT` (you aborted the run), `NO_MORE_REVIEWS` / `NO_REVIEWS` (end of catalog). See [CHANGELOG.md](./CHANGELOG.md).

***

#### Run via API

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_API_TOKEN>' });

const input = {
  productId: '1730623979765139708',
  region: 'VN',
  sortType: "recent",
  maxReviews: 50,
};

const run = await client.actor('rogertkart/tiktok-shop-product-reviews-mobile').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_API_TOKEN>")

run_input = {
    "productId": "1730623979765139708",
    "region": "VN",
    "sortType": "recent",
    "maxReviews": 50,
}

run = client.actor("rogertkart/tiktok-shop-product-reviews-mobile").call(run_input=run_input)
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)
```

**CLI**

```bash
apify call rogertkart/tiktok-shop-product-reviews-mobile --silent --output-dataset -i '{
  "productId": "1730623979765139708",
  "region": "VN",
  "maxReviews": 10
}'
```

***

#### Maintainer notes (local development)

```bash
cd apify
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
apify run -p -i '{"productId":"1730623979765139708","region":"VN","maxReviews":10}'
python local_test.py
```

Deploy: `apify push` · Console: https://console.apify.com/actors/DrsFVam3mUbLmVNwN

Cloud smoke (billing + dataset): `python scripts/verify_cloud_run.py`

# Changelog

This Actor's version history is a separate document: https://apify.com/rogertkart/tiktok-shop-product-reviews-mobile/changelog.md

# Actor input Schema

## `productId` (type: `string`):

TikTok Shop numeric product ID (15–19 digits).

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

Two-letter TikTok Shop country code.

## `sortType` (type: `string`):

How reviews are ordered in the result.

## `reviewFilter` (type: `string`):

Filter which reviews are fetched. Some filters may not apply to every product or region.

## `maxReviews` (type: `integer`):

How many reviews to save. Enter 0 for all reviews on the product. You are charged per review saved.

## Actor input object example

```json
{
  "productId": "1730623979765139708",
  "region": "VN",
  "sortType": "recent",
  "reviewFilter": "all",
  "maxReviews": 30
}
```

# Actor output Schema

## `reviews` (type: `string`):

Default dataset: review rows (rating, text, SKU, timestamps).

# 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 = {
    "productId": "1730623979765139708",
    "maxReviews": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("rogertkart/tiktok-shop-product-reviews-mobile").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 = {
    "productId": "1730623979765139708",
    "maxReviews": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("rogertkart/tiktok-shop-product-reviews-mobile").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 '{
  "productId": "1730623979765139708",
  "maxReviews": 30
}' |
apify call rogertkart/tiktok-shop-product-reviews-mobile --silent --output-dataset

```

## MCP server setup

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

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/DrsFVam3mUbLmVNwN/builds/9dukmQVYGXkfcscJA/openapi.json
