# TikTok Shop Product Data Scraper - Sales, Prices & Reviews (`kalilfagundes.w/tiktok-shop-scraper`) Actor

\[Limited Launch Offer $2/1K] TikTok Shop sales data from product or category URLs: units sold, prices, discounts, variants & stock, reviews, star ratings, seller info. No login.

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

## Pricing

from $1.70 / 1,000 products

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/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 Data Scraper - Sales, Prices & Reviews

TikTok Shop Product Data Scraper extracts full product data from **TikTok Shop product URLs (or product IDs)** and **category pages**: **units sold**, price, original price and discount, **variants with stock**, rating with **1-5 star breakdown**, the **first reviews**, and **shop and seller details** (followers, shop sales, business name and address). No login or cookies needed. US store by default, other markets through residential proxy. Input is product links/IDs or category links - there is no keyword search.

### What TikTok Shop product data can you extract?

- **Units sold**, **price**, original price and **discount**, currency.
- **Rating**, review count, **1-5 star breakdown** and the **first reviews** (text, rating, date, variant, photos).
- **Variants** with their own price and **stock**, total stock, in-stock status.
- **Shop stats**: shop name and link, shop rating, **followers**, **units sold by the shop**, shop reviews and videos.
- **Seller business name and address** (the compliance info TikTok Shop shows on the product page).
- Category path, specifications, description and images.

### Scrape TikTok Shop categories (top products per category)

Add **category URLs** to get the **top products of a category** (and optionally of its sub-categories) - price, units sold, rating and shop for each, or full product rows with `fetchProductDetails`.

### Why this one

- **Bulk input.** Hundreds of product URLs or IDs in one run, not one product per run.
- **Seller intelligence included.** Shop units sold, followers, rating and the seller's registered business name and address in the same row as the product.
- **Variant-level stock and prices.** See which sizes or bundles sell and what is left.
- **Category discovery.** Top products of a category and its sub-categories without a login or a search API.
- **Fast and light.** Reads TikTok Shop's own page data - no browser.

### Run it on a schedule to track TikTok Shop prices and sales

Schedule the actor on your own or competitors' products to follow price, discount, stock and units sold over time - each run is a fresh snapshot.

### Use cases

- **Product research / dropshipping:** units sold, price and rating of trending products in a category.
- **Competitor tracking:** schedule the actor on your competitors' products to follow price, stock and sales over time.
- **Supplier and brand research:** who sells a product, the company behind the shop, and how big the shop is.
- **Review mining:** star breakdown and first reviews for many products at once.

### Input example

```json
{
  "productUrls": [
    "https://shop.tiktok.com/us/pdp/korean-toner-sadoer-with-collagen-hyaluronic-acid-niacinamide/1730075464618054254",
    "1731753318135730868"
  ],
  "categoryUrls": ["https://shop.tiktok.com/us/c/beauty-personal-care/601450"],
  "includeSubcategories": true,
  "maxSubcategories": 5,
  "fetchProductDetails": false,
  "maxItems": 200
}
```

Accepted product links: `shop.tiktok.com/us/pdp/...`, `www.tiktok.com/shop/pdp/...`, `shop.tiktok.com/view/product/...` or the bare product ID.

### Output example

A product row (real data, shortened):

```json
{
  "type": "product",
  "productId": "1730075464618054254",
  "region": "us",
  "url": "https://shop.tiktok.com/us/pdp/korean-toner-sadoer-with-collagen-hyaluronic-acid-niacinamide/1730075464618054254",
  "title": "Korean Toner / Glass skin / Glowy Skin / Collagen+Hyaluronic Acid+Niacinamide#sohochic",
  "price": 9.28,
  "currency": "USD",
  "priceIsRange": true,
  "soldCount": 84566,
  "rating": 4.5,
  "reviewCount": 9945,
  "ratingBreakdown": {"1": 678, "2": 201, "3": 473, "4": 880, "5": 7713},
  "inStock": true,
  "stock": 5003,
  "categories": ["Beauty & Personal Care", "Skincare", "Skincare Tools"],
  "shopName": "Lucky King JJ",
  "shopUrl": "https://shop.tiktok.com/us/store/lucky-king-jj/7495948304225897070",
  "shopRating": 4.5,
  "shopFollowers": 1201,
  "shopSoldCount": 240204,
  "shopReviewCount": 19623,
  "sellerBusinessName": "DESIGNS FOR HEALTH INC",
  "sellerBusinessAddress": "Connecticut,The United States of America",
  "variantCount": 4,
  "variants": [
    {"skuId": "1732322062736331374", "name": "Default / 1PCS", "price": 9.28, "stock": 1977, "available": true},
    {"skuId": "1732322062736396910", "name": "Default / 2PCS", "price": 16.28, "stock": 2070, "available": true}
  ],
  "topReviews": [
    {"rating": 5, "text": "I love it. I make my face beautiful glow ...", "date": "2025-10-03T22:21:56Z", "verifiedPurchase": true, "variant": "Default", "country": "US"}
  ],
  "source": "category: Beauty & Personal Care"
}
```

Category results without `fetchProductDetails` come as `"type": "product-card"` rows with title, brand, price, original price, discount, units sold, rating, review count, shop name and ID, image and URL.

### Pricing

Pay per event, platform usage included: one `product` event per full product row and one `product-card` event per category product card. Higher Apify plans get lower prices (see the **Pricing** tab). Set a maximum cost per run in the run options; the actor stops cleanly when it is reached.

### Limits

- **No keyword search** in this version - start from product links/IDs or category pages.
- A category page shows its **top ~15 products**; turn on `includeSubcategories` to cover more.
- TikTok Shop shows a product only in its own market: US products work out of the box; other markets use the residential proxy of that country.
- Products that are removed or not sold in the market are listed in the run summary (`OUTPUT`) with the reason.

### Feedback

If this actor saves you time, a quick rating on its Store page helps other people find it. Something not working? Open an issue in the **Issues** tab and it gets fixed fast.

# Actor input Schema

## `productUrls` (type: `array`):

TikTok Shop product links (shop.tiktok.com/us/pdp/..., tiktok.com/shop/pdp/..., shop.tiktok.com/view/product/...) or bare product IDs.

## `categoryUrls` (type: `array`):

TikTok Shop category pages, e.g. https://shop.tiktok.com/us/c/beauty-personal-care/601450 - returns the category's top products (about 15 per category page).

## `includeSubcategories` (type: `boolean`):

Visits the sub-categories of each category URL too, for many more top products.

## `maxSubcategories` (type: `integer`):

How many sub-categories to visit per category URL.

## `fetchProductDetails` (type: `boolean`):

Off: category products come as product cards (price, sold, rating, shop). On: every category product is opened for the full product row (variants, stock, shop stats, seller info, reviews) - charged as a product.

## `includeReviews` (type: `boolean`):

Adds the first reviews shown on the product page (text, rating, date, variant, photos) plus the 1-5 star breakdown. No extra cost.

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

Used for product IDs without a URL. URLs carry their own market.

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

Stop after this many rows. 0 = no limit.

## `proxyConfiguration` (type: `object`):

TikTok Shop only shows a product to IPs in its market. US products are read directly; the residential proxy of the product's country is used for other markets and on retries.

## Actor input object example

```json
{
  "productUrls": [
    "https://shop.tiktok.com/us/pdp/honlink-5x-vitamin-c-skincare-set/1731753318135730868"
  ],
  "includeSubcategories": false,
  "maxSubcategories": 10,
  "fetchProductDetails": false,
  "includeReviews": true,
  "region": "us",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

No description

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

OUTPUT record: per input, rows saved, errors.

# 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 = {
    "productUrls": [
        "https://shop.tiktok.com/us/pdp/honlink-5x-vitamin-c-skincare-set/1731753318135730868"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kalilfagundes.w/tiktok-shop-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 = {
    "productUrls": ["https://shop.tiktok.com/us/pdp/honlink-5x-vitamin-c-skincare-set/1731753318135730868"],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("kalilfagundes.w/tiktok-shop-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 '{
  "productUrls": [
    "https://shop.tiktok.com/us/pdp/honlink-5x-vitamin-c-skincare-set/1731753318135730868"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call kalilfagundes.w/tiktok-shop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kalilfagundes.w/tiktok-shop-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/XabXTH7QCo23W0TsN/builds/MlYY9XOXQwyEEazCp/openapi.json
