# Tiktok Product Reviews Scraper (`web_wanderer/tiktok-reviews-scraper`) Actor

Easily extract TikTok Shop product reviews at scale. This scraper collects ratings, review text, product details, SKU variants, and review photos across 9 supported regions. Privacy-safe by default. Export data in JSON, CSV, Excel, or via API.

- **URL**: https://apify.com/web\_wanderer/tiktok-reviews-scraper.md
- **Developed by:** [Billy](https://apify.com/web_wanderer) (community)
- **Categories:** E-commerce, Social media, AI
- **Stats:** 7 total users, 4 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 reviews

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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Reviews Scraper

Scrape reviews from **TikTok Shop** by providing **product URLs or IDs**, across **9 regions**, structured and ready to use.

#### Why use this actor?

- Extract **review text**, **star ratings**, **SKU variant**, and **review country** from any TikTok Shop product.
- Scrape reviews from **9 supported regions**: US, JP, ID, MY, PH, SG, TH, VN, MX.
- Filter reviews by **star rating**, **verified purchases**, or **reviews with images**.
- Sort by **recommended** or **most recent**.
- Privacy-safe by default. Reviewer names, avatars, and review photos are **set to null unless you opt in**.

---

### Features

- Accepts **product URLs and numeric IDs** in a single input field
- Scrapes:
  - Star ratings
  - Review text
  - SKU specification (product variant)
  - Verified purchase & incentivized review flags
  - Review photos (optional)
  - Reviewer name & avatar (optional)
- Handles **pagination** automatically
- **Auto-detects region** from product URLs
- Clean, structured **JSON output**
- 🔒 **GDPR-friendly**: Reviewer-related data is off by default

---

**Example input:**

```json
{
  "region": "US",
  "product_ids": [
    "https://www.tiktok.com/shop/pdp/oregano-oil-softgels-by-micro-ingredients-6000mg-with-black-seed-oil/1729385055232561837",
    "1732140108393189851"
  ],
  "reviews_limit": 100,
  "reviews_filter": "all",
  "reviews_sort": "most_recent",
  "include_personal_information": false
}
````

***

### Output Example

Each review item includes:

```json
{
  "review_id": "7478696926742021934",
  "product_id": "1729385055232561837",
  "sku_id": "1730527465028293293",
  "review_rating": 3,
  "review_time": "1741269854269",
  "is_verified_purchase": true,
  "is_incentivized_review": false,
  "product_name": "Micro Ingredients Oregano Oil with Black Seed Oil, 150/300 Softgel, 4X Strength Carvacrol & Thymoquinone | Plant Based, Non-GMO",
  "reviewer_id": null,
  "reviewer_name": null,
  "reviewer_avatar_url": null,
  "review_text": "I'm really not sure what to think on this product. Not sure that it's doing anything. I know my bathroom breaks around not consistent\nFlavor: No flavor because it's a gel capsule and I pop it like a pill\nPerformance: I have no idea",
  "display_image_url": null,
  "review_images": null,
  "sku_specification": "150 Softgels",
  "review_country": "US",
  "product_url": "https://www.tiktok.com/shop/pdp/oregano-oil-softgels-by-micro-ingredients-6000mg-with-black-seed-oil/1729385055232561837",
  "review_position": 1,
  "scrapedAt": null
}
```

When `include_personal_information` is set to `true`, those fields are populated:

```json
{
  "reviewer_id": "6789218190377010181",
  "reviewer_name": "J**T",
  "reviewer_avatar_url": "https://p16-common-sign.tiktokcdn-us.com/...",
  "display_image_url": "https://p16-oec-general-useast5.ttcdn-us.com/...",
  "review_images": [
    "https://p16-oec-general-useast5.ttcdn-us.com/...",
    "https://p16-oec-general-useast5.ttcdn-us.com/..."
  ]
}
```

***

### Sample Use Cases

- **Sentiment analysis** across TikTok Shop products
- **Compare reviews** between SKU variants of the same product
- **Monitor review quality** for your own or competitor listings
- Feed review text into **NLP or ML pipelines**

***

### Privacy & Personal Information

The `include_personal_information` flag controls whether reviewer-related data appears in the output.

- **`false` (default):** Reviewer names, avatars, IDs, and review photos are set to `null`. The fields are still present for consistent output structure.
- **`true`:** These fields are populated with actual values. Only enable this if you have a lawful basis for processing this data.

***

### Your Responsibility

You are responsible for how you use this actor, the data you collect, and your compliance with **TikTok's Terms of Service**, **GDPR**, and any other applicable laws and regulations.

Before enabling `include_personal_information`, make sure your use case is appropriate for your jurisdiction and organization.

***

### Tips

- `product_ids` accepts both full product URLs and numeric IDs. You can mix them freely.
- Region is auto-detected from product URLs. The `region` setting is used as a fallback for numeric IDs.
- Set `reviews_limit` to `0` for unlimited reviews.
- Reviewer names from TikTok may already be masked (e.g. "J\*\*T"), but they're still nullified by default.
- Review image URLs and avatar URLs may expire over time.

***

### Need Help?

Questions? Bugs? Something not working?
Open an issue or reach out through Apify Support.

# Actor input Schema

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

Select the TikTok Shop region. If a provided product URL points to a different supported region, that region is used automatically.

## `product_ids` (type: `array`):

TikTok Shop product URLs or numeric product IDs. You can mix both formats freely.

## `reviews_limit` (type: `integer`):

Maximum number of reviews to collect per product. Set to 0 for unlimited.

## `reviews_filter` (type: `string`):

Filter reviews by criteria.

## `reviews_sort` (type: `string`):

Select how to sort reviews.

## `include_personal_information` (type: `boolean`):

When enabled, the dataset may include reviewer-related identifiers and review media URLs such as reviewer\_id, reviewer\_name, reviewer\_avatar\_url, review\_images, and display\_image\_url. Leave disabled unless you have a lawful basis for processing this data and your use complies with TikTok policies, GDPR, and other applicable privacy laws.

## Actor input object example

```json
{
  "region": "US",
  "product_ids": [
    "https://www.tiktok.com/shop/pdp/lymphatic-support-drops-by-maryruths-usda-organic-echinacea-elderberry/1729392364140663758"
  ],
  "reviews_limit": 100,
  "reviews_filter": "all",
  "reviews_sort": "recommended",
  "include_personal_information": false
}
```

# Actor output Schema

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

Dataset containing scraped product reviews. Core fields include review\_id, product\_id, sku\_id, review\_rating, review\_time, is\_verified\_purchase, is\_incentivized\_review, product\_name, review\_text, sku\_specification, review\_country, product\_url, review\_position, and scrapedAt. If include\_personal\_information is enabled, reviewer\_id, reviewer\_name, reviewer\_avatar\_url, review\_images, and display\_image\_url may also be returned.

# 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 = {
    "product_ids": [
        "https://www.tiktok.com/shop/pdp/lymphatic-support-drops-by-maryruths-usda-organic-echinacea-elderberry/1729392364140663758"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("web_wanderer/tiktok-reviews-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 = { "product_ids": ["https://www.tiktok.com/shop/pdp/lymphatic-support-drops-by-maryruths-usda-organic-echinacea-elderberry/1729392364140663758"] }

# Run the Actor and wait for it to finish
run = client.actor("web_wanderer/tiktok-reviews-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 '{
  "product_ids": [
    "https://www.tiktok.com/shop/pdp/lymphatic-support-drops-by-maryruths-usda-organic-echinacea-elderberry/1729392364140663758"
  ]
}' |
apify call web_wanderer/tiktok-reviews-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Tiktok Product Reviews Scraper",
        "description": "Easily extract TikTok Shop product reviews at scale. This scraper collects ratings, review text, product details, SKU variants, and review photos across 9 supported regions. Privacy-safe by default. Export data in JSON, CSV, Excel, or via API.",
        "version": "0.1",
        "x-build-id": "2sPHJN86LmGlLEru2"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/web_wanderer~tiktok-reviews-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-web_wanderer-tiktok-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/web_wanderer~tiktok-reviews-scraper/runs": {
            "post": {
                "operationId": "runs-sync-web_wanderer-tiktok-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/web_wanderer~tiktok-reviews-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-web_wanderer-tiktok-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "region": {
                        "title": "Region",
                        "enum": [
                            "US",
                            "JP",
                            "ID",
                            "MY",
                            "PH",
                            "SG",
                            "TH",
                            "VN",
                            "MX"
                        ],
                        "type": "string",
                        "description": "Select the TikTok Shop region. If a provided product URL points to a different supported region, that region is used automatically.",
                        "default": "US"
                    },
                    "product_ids": {
                        "title": "Products",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "TikTok Shop product URLs or numeric product IDs. You can mix both formats freely.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "reviews_limit": {
                        "title": "Reviews per Product",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of reviews to collect per product. Set to 0 for unlimited.",
                        "default": 100
                    },
                    "reviews_filter": {
                        "title": "Filter Reviews",
                        "enum": [
                            "all",
                            "5_star",
                            "4_star",
                            "3_star",
                            "2_star",
                            "1_star",
                            "with_images",
                            "verified"
                        ],
                        "type": "string",
                        "description": "Filter reviews by criteria.",
                        "default": "all"
                    },
                    "reviews_sort": {
                        "title": "Sort Reviews By",
                        "enum": [
                            "recommended",
                            "most_recent"
                        ],
                        "type": "string",
                        "description": "Select how to sort reviews.",
                        "default": "recommended"
                    },
                    "include_personal_information": {
                        "title": "Include Personal Information",
                        "type": "boolean",
                        "description": "When enabled, the dataset may include reviewer-related identifiers and review media URLs such as reviewer_id, reviewer_name, reviewer_avatar_url, review_images, and display_image_url. Leave disabled unless you have a lawful basis for processing this data and your use complies with TikTok policies, GDPR, and other applicable privacy laws.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
