# TikTok Shop Product Scraper: SKU Matrix & Stock (`magic-scraper/tiktok-shop-product-scraper`) Actor

TikTok Shop Product Scraper: full SKU variant matrix, live inventory stock levels, prices, specifications, seller store profiles, and customer reviews.

- **URL**: https://apify.com/magic-scraper/tiktok-shop-product-scraper.md
- **Developed by:** [Magic](https://apify.com/magic-scraper) (community)
- **Categories:** E-commerce, Social media, Automation
- **Stats:** 4 total users, 3 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.50 / 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/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 Scraper: SKU Matrix, Live Stock & Reviews

[![TikTok Shop Product Scraper](https://apify.com/actor-badge?actor=magic-scraper/tiktok-shop-product-scraper)](https://apify.com/magic-scraper/tiktok-shop-product-scraper)
![No Cookies Required](https://img.shields.io/badge/Cookies-Not%20Required-success?style=flat-square)
![Pay-Per-Result](https://img.shields.io/badge/Pricing-$2.00%20%2F%201K%20results-blue?style=flat-square)
![Speed](https://img.shields.io/badge/Speed-~1.5s%20per%20product-brightgreen?style=flat-square)
![Export](https://img.shields.io/badge/Export-JSON%20|%20CSV%20|%20Excel-orange?style=flat-square)

Extract full product details from **TikTok Shop** by product URL or ID: complete SKU variants, live inventory stock levels, real prices, discounts, specifications, high-res image galleries, seller store metrics, and customer reviews.

Designed for **e-commerce sellers, dropshippers, inventory trackers, and DTC brand managers** who need granular product and competitor data at scale.

***

### ⚡ What is TikTok Shop Product Scraper?

While search scrapers extract high-level catalog summaries, **TikTok Shop Product Scraper** performs deep extraction on individual Product Detail Pages (PDP).

It extracts the exact variant matrix (Colors, Sizes, Bundles), available stock quantities per SKU, technical specifications, seller store performance, and verified customer feedback—delivering full commercial visibility into any TikTok Shop listing in seconds.

***

### 🚀 Why Choose This Scraper Over Competitors?

| Feature | **Our Product Scraper** | Competing Scrapers |
| :--- | :---: | :---: |
| **Speed (per product)** | ⚡ **~1.5 seconds** | 🐢 10–25 seconds |
| **Inventory Stock Level** | ✅ **Exact live stock per SKU** | ❌ Missing or binary in-stock |
| **Pricing** | 💰 **$2.00 / 1,000 products** ($0.002/item) | 💸 $10.00 – $20.00 / 1,000 |
| **Minimal Start Fee** | 🏷️ **$0.001** | 💸 $0.05 – $0.10 |
| **Customer Reviews** | ✅ Included with verified flags | 💸 Extra charge per review |
| **Seller Catalog Metrics** | ✅ Store rating, total sales, product count | ❌ Basic seller name only |
| **Anti-Bot & Headless Free** | ✅ Direct SSR parsing without browser | ❌ Heavy browser crashes |

***

### 📖 How to Scrape TikTok Shop Products (Step-by-Step)

1. **Paste Product URLs or IDs:** Provide TikTok Shop URLs (e.g. `https://shop.tiktok.com/view/product/1732201471924867654`) or bare numeric IDs (`1732201471924867654`).
2. **Configure Options:** Select whether to include customer reviews and set `maxReviewsPerProduct` (default: 10, prefilled with 5 for quick testing).
3. **Run & Export:** Click **Start**. Export results to **CSV, Excel, JSON, Google Sheets**, or integrate directly into your database via API.

***

### 💳 How Much Does It Cost?

This Actor operates under Apify's transparent **Pay-Per-Event (Pay-Per-Result)** model:

- **$2.00 per 1,000 product details** ($0.002 per product row).
- **$0.001 minimal start fee**.
- **No subscription required.** If an invalid URL yields no product, you are not charged per-result fees.

***

### 📥 Input Parameters

| Parameter | Type | Required | Default | Description |
| :--- | :--- | :---: | :---: | :--- |
| `🔗 productUrls` | `array[string]` | **Yes** | `["1732201471924867654"]` | List of TikTok Shop product URLs or numeric product IDs. |
| `🌍 countryCode` | `string` | No | `"US"` | Market region: `"US"` (United States) or `"GB"` (United Kingdom). |
| `💬 includeReviews` | `boolean` | No | `true` | Whether to extract top customer reviews. |
| `💯 maxReviewsPerProduct` | `integer` | No | `10` | Maximum reviews to return per product (0–50). Prefilled with 5 for quick testing. |
| `🌐 proxyConfiguration` | `object` | No | Datacenter | Proxy settings. Apify Datacenter or Residential proxy. |

***

### 📤 Sample Output (JSON)

```json
{
  "product_id": "1732201471924867654",
  "title": "FDA-Cleared LED Face Mask with Red Light Therapy",
  "current_price": 499.00,
  "original_price": 599.00,
  "currency": "USD",
  "discount_percent": 17,
  "sold_count": 1995,
  "total_stock": 2442,
  "in_stock": true,
  "skus_count": 1,
  "skus": [
    {
      "sku_id": "1732201467243565638",
      "sku_name": "Default",
      "price": 499.00,
      "original_price": 599.00,
      "stock": 2442,
      "in_stock": true
    }
  ],
  "specifications": {
    "Material": "Medical-Grade Silicone",
    "Light Modes": "Red, Near-Infrared, Amber"
  },
  "seller": {
    "seller_id": "7495135195055819334",
    "seller_name": "Solawave",
    "seller_rating": 4.8,
    "shop_url": "https://shop.tiktok.com/us/store/solawave/7495135195055819334",
    "total_sales": 4990,
    "total_products": 5,
    "review_count": 240
  },
  "reviews": [
    {
      "review_id": "7694007854438254350",
      "rating": 5.0,
      "review_text": "Incredible results within 2 weeks of using daily!",
      "is_verified_purchase": true,
      "is_incentivized_review": false,
      "reviewer_name": "Sarah K.",
      "created_at": "2026-09-15T12:00:00"
    }
  ],
  "shipping_info": "Free shipping",
  "product_url": "https://shop.tiktok.com/us/pdp/wrinkle-retreat-pro-led-face-mask/1732201471924867654",
  "scraped_at": "2026-10-13T07:45:00.000Z"
}
```

***

### 💻 Python & JavaScript Integration

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {
    "productUrls": ["https://shop.tiktok.com/view/product/1732201471924867654"],
    "includeReviews": True,
    "maxReviewsPerProduct": 10,
}

run = client.actor("magic-scraper/tiktok-shop-product-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"Product: {item['title']} | Stock: {item['total_stock']} | SKUs: {item['skus_count']}")
```

#### JavaScript / Node.js (`apify-client`)

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('magic-scraper/tiktok-shop-product-scraper').call({
    productUrls: ['1732201471924867654'],
    includeReviews: true
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Extracted ${items.length} products with complete SKU inventory.`);
```

***

### ❓ Frequently Asked Questions (FAQ)

#### Can I pass raw numeric product IDs instead of full URLs?

Yes! The scraper automatically accepts bare IDs (e.g. `1732201471924867654`) as well as any valid TikTok Shop product URL (`/view/product/...` or `/pdp/...`).

#### Does this scraper provide live inventory stock levels?

Yes! Unlike competitors that only return a generic "in_stock: true", our scraper extracts the exact available inventory quantity (`stock`) for each SKU variant.

***

### 🤖 For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the [Apify MCP server](https://mcp.apify.com/) or the Apify API (actor: `magic-scraper/tiktok-shop-product-scraper`).

**Purpose:** Deep-inspects individual TikTok Shop products by URL or product ID to extract full SKU variant matrices, exact live warehouse stock quantities, technical specifications, seller store profiles, and verified customer reviews.

**Why choose this tool over alternatives:**

- **Exact Live Numerical Stock:** Extracts true warehouse stock levels per individual SKU variant (`stock: 350`) rather than a simple binary flag (`in_stock: true`).
- **Full SKU Matrix Breakdown:** Maps multi-variant products (size, color, bundle) with individual variant prices, original prices, and live inventory.
- **Fast SSR Hydration:** Extracts complete product state from server-side hydration data in ~1.5 seconds without launching a resource-heavy browser.
- **No Cookies or Auth Needed:** Operates completely without personal cookies or account login.
- **Verified Review Extraction:** Opt-in customer review extraction with star ratings, reviewer details, and verified purchase flags.
- **Cost-Efficient:** $2.00 / 1,000 product pages, covered by Apify's $5 monthly credit.

**Minimal input:**

```json
{
  "productUrls": ["1732201471924867654"],
  "countryCode": "US",
  "includeReviews": true,
  "maxReviewsPerProduct": 5
}
```

*Accepts numeric product IDs (`"1732201471924867654"`) or full URLs (`"https://shop.tiktok.com/view/product/1732201471924867654"`).*

**Output structure:**
One record per product: `product_id`, `title`, `current_price`, `original_price`, `discount_percent`, `sold_count`, `rating`, `reviews_count`, `total_stock`, `skus_count`, `skus` (array of variants with `sku_id`, `name`, `price`, `stock`), `specifications`, `seller` (store name, rating, total sales), `reviews`, `shipping_info`, `product_url`.

**Behaviors an agent should know:**

- Accepts both raw product IDs and full web URLs seamlessly.
- Automatically computes aggregate metrics: `total_stock` (sum of all SKU inventory) and `discount_percent`.
- Set `includeReviews: false` if only inventory/stock/pricing is needed to save bandwidth and speed up runs.
- Non-existent or deleted products are handled gracefully without aborting the entire batch.

***

### 🔗 Related TikTok Scrapers

- 🔍 [TikTok Shop Search Scraper](https://apify.com/magic-scraper/tiktok-shop-search-scraper) — Fast keyword product discovery, real-time sales volume, prices, discounts, and best-seller tracking.
- 🎬 [TikTok Video & Hashtag Scraper](https://apify.com/magic-scraper/tiktok-video-hashtag-scraper) — Real-time TikTok video search by hashtags, keywords, or direct links with creator profiles, sounds, and affiliate shop product indicators.

***

### SEO Keywords

TikTok Shop product scraper, TikTok Shop stock tracker, TikTok Shop inventory monitor, TikTok Shop SKU scraper, TikTok Shop variant extractor, TikTok Shop product details API, TikTok Shop reviews scraper, TikTok Shop price tracker, TikTok Shop seller store scraper, TikTok Shop inventory alert, scrape TikTok Shop product page, TikTok Shop warehouse stock levels, TikTok Shop product specifications, TikTok e-commerce data extractor, TikTok Shop product scraper API.

# Actor input Schema

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

List of TikTok Shop product URLs or numeric product IDs to scrape.

Examples:

- https://shop.tiktok.com/view/product/1732201471924867654
- https://shop.tiktok.com/us/pdp/wrinkle-retreat-pro-led-face-mask/1732201471924867654
- 1732201471924867654

## `countryCode` (type: `string`):

Target TikTok Shop country market. US has the largest catalog and full metrics.

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

Whether to extract top verified customer reviews for each product.

## `maxReviewsPerProduct` (type: `integer`):

Maximum number of reviews to extract per product (0–50). Keep small for faster execution.

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

Select proxies to be used by the scraper. Apify Datacenter or Residential proxy recommended.

## Actor input object example

```json
{
  "productUrls": [
    "https://shop.tiktok.com/view/product/1732201471924867654"
  ],
  "countryCode": "US",
  "includeReviews": true,
  "maxReviewsPerProduct": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "BUYPROXIES94952"
    ]
  }
}
```

# Actor output Schema

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

Dataset items containing deep product details, SKU matrix, inventory stock, seller metrics, and reviews.

# 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/view/product/1732201471924867654"
    ],
    "maxReviewsPerProduct": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("magic-scraper/tiktok-shop-product-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/view/product/1732201471924867654"],
    "maxReviewsPerProduct": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("magic-scraper/tiktok-shop-product-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/view/product/1732201471924867654"
  ],
  "maxReviewsPerProduct": 5
}' |
apify call magic-scraper/tiktok-shop-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,magic-scraper/tiktok-shop-product-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/HplTZojmqJVXYbHWO/builds/5Osy9yrhaXpA2ABAG/openapi.json
