# TikTok Shop Scraper: Products, Prices, Sales & Shops (`apisamurai/tiktok-shop-scraper`) Actor

TikTok Shop scraper for products by keyword, shop catalogs and product links. Prices, discounts, sold counts, ratings, reviews, shop, plus stock, variants and category with full details. 16 regions, exact limits, price and sales filters, and you pay only for real, unique products.

- **URL**: https://apify.com/apisamurai/tiktok-shop-scraper.md
- **Developed by:** [API Samurai](https://apify.com/apisamurai) (community)
- **Categories:** E-commerce, Social media
- **Features:** Limited permissions
- **Stats:** 4 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 product from a lists

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 Scraper: Products, Prices, Sales & Shops

This TikTok Shop scraper gets products from keyword searches, from any shop's catalog, and from product links. Every product comes with title, link, shop name and ID, price and currency, original price and discount, sold count, rating, review count and images. Turn on full details to add stock, variants with their own price and stock, category, shop rating and followers, and the number of related videos. You pay only for real, unique products.

### What you can use it for

- **Product research:** find best-selling TikTok Shop products for a keyword, with sold counts and ratings.
- **Competitor tracking:** watch a competitor shop's catalog, prices and discounts over time.
- **Price monitoring:** track the price, original price and discount of products you sell or resell.
- **Stock checks:** see stock per variant for products you care about.
- **Dropshipping and affiliate picks:** filter by price range and minimum sales to build a shortlist.
- **Market reports and AI datasets** with clean numbers, IDs as text and stable field names.

### Fair billing

- Only real products are charged. No demo, mock or placeholder rows, ever.
- No start fee, no per-run fee, no per-query fee, no minimum charge.
- Same price on every Apify plan, free plan included.
- Free Apify plan: one data request per run (one page of products without full details, or 1 product fetched by link), so you can try it. Paid plans have no limit.
- Price and sold count filters are enforced by the Actor. Products outside your filters are skipped and not charged, and filters run before any details lookup.
- `Max products per input item` is exact: you never get, or pay for, more than you asked.
- A product found by two searches or shops is saved and charged once.
- Each product is charged once: as a product, or as a product with details when a details lookup was made. Never both.
- When the details of a product cannot be read, you still get the product and pay the plain product price.
- Products and shops that are not found cost nothing. When you hit your spending limit, the run stops cleanly.

### How to use

1. Open the [TikTok Shop Scraper](https://apify.com/apisamurai/tiktok-shop-scraper) page and click **Try for free**.
2. Add search keywords, shop links or product links (any mix).
3. Pick the region, set **Max products per input item**, and optionally turn on full details and set filters.
4. Click **Start**. Products appear in the **Output** tab while the run works.
5. Export the dataset as JSON, CSV or Excel, or read the `SUMMARY` record in the key-value store.

### Input

| Field | What it does |
|---|---|
| Search products by keyword | One keyword per line, e.g. `led face mask`. |
| Shop links | `https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079`. Best sellers first. |
| Product links or IDs | `https://www.tiktok.com/shop/pdp/1729527313880355335` or just `1729527313880355335`. Always with full details. |
| Get full product details | Off by default. Adds stock, variants, category and shop details to search and shop results. |
| Region | 16 TikTok Shop regions. Default US. |
| Max products per input item | Per keyword or shop. Default 50. |
| Max products for the whole run | Optional hard cap on all products. |
| Min price, Max price | In the shop's currency. |
| Min sold count | Skip products with fewer units sold. |

```json
{
  "searchQueries": ["led face mask", "phone case"],
  "shopUrls": ["https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079"],
  "maxItemsPerSource": 50,
  "minSold": 1000,
  "includeProductDetails": true
}
```

### Output

One row per product. Field names never change between runs, prices and counts are numbers, IDs are text, and missing values are `null`. A real row from a product link (shortened):

```json
{
  "productId": "1729527313880355335",
  "title": "Goli Ashwagandha & Vitamin D Gummy - Mixed Berry, KSM-66, Vegan, Plant Based, Non-GMO, Gluten-Free & Gelatin Free. America's #1 Ashwagandha Brand",
  "url": "https://www.tiktok.com/shop/pdp/1729527313880355335",
  "shopName": "Goli Nutrition",
  "shopId": "7495794203056835079",
  "price": 19.47,
  "originalPrice": 24.7,
  "currency": "USD",
  "discountPercent": 21,
  "soldCount": 1307475,
  "rating": 4.5,
  "reviewCount": 94639,
  "images": ["https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/2bc69aa9...webp", "..."],
  "imageUrl": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/2bc69aa9...webp",
  "category": "Vitamins Supplements",
  "categoryPath": ["Health", "Nutrition & Wellness", "Vitamins, Minerals & Wellness Supplements", "Vitamins Supplements"],
  "stock": 325105,
  "variants": [{ "skuId": "1729527298861535751", "name": "1 Bottle", "price": 19.47, "originalPrice": 24.7, "stock": 325105, "gtin": null }],
  "shopRating": 4.6,
  "shopFollowers": 601734,
  "shopProductCount": 53,
  "relatedVideoCount": 9,
  "hasDetails": true,
  "region": "US",
  "source": "link",
  "input": "https://shop.tiktok.com/view/product/1729527313880355335?region=US",
  "scrapedAt": "2026-11-10T14:56:49.417Z"
}
```

- `price` is the lowest variant price when variants cost different amounts. `stock` is the sum over all variants.
- `relatedVideoCount` counts the creator videos shown on the product page (up to 20).
- Without full details, `stock`, `variants` and `relatedVideoCount` are `null` and `hasDetails` is `false`. Shop results still have `shopRating`, `shopFollowers` and `shopProductCount`; search results have `category` when TikTok shows it, and often no `reviewCount`.

Each run also writes a `SUMMARY` record to the key-value store. For every input item it lists products delivered, how many have full details, products skipped by filters, duplicates, and why it stopped (`limit reached`, `no more results`, `not found`, `temporary error`, `spending limit`, `free plan limit` or `data source unavailable`).

### Pricing

$1.50 per 1,000 products from search or shop lists; $8 per 1,000 products with full details (product links, or search and shop results with full details on)

### Integrations

- **Apify API:** `POST https://api.apify.com/v2/acts/apisamurai~tiktok-shop-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>` with the input as JSON in the body.
- **Python and JavaScript clients** (`apify-client`): `client.actor("apisamurai/tiktok-shop-scraper").call(run_input=...)`.
- **Zapier, Make and n8n** to send new products to Google Sheets, Slack, a CRM or a database.
- **MCP for AI agents:** connect the Apify MCP server to Claude, ChatGPT or another MCP client and the agent can run this Actor as a tool.
- **Schedules and webhooks** in Apify Console for daily price and stock tracking.

### FAQ

**Which input formats work?**
Keywords, shop links, product links and product IDs, one per line or comma separated. Links pasted with quotes, backticks or as markdown are cleaned, `shop.tiktok.com` and `/view/product/` links work, and a link in the wrong field still works (a product link under Shop links is fetched as a product). Inputs written for other TikTok Shop scrapers also work: `searchKeywords`, `keywords`, `storeUrls`, `sellerUrls`, `startUrls`, `maxResults`, `maxResultsPerQuery`, `minSoldCount` and `country`.

**Which regions are supported?**
Search and shop catalogs work in US, GB, DE, FR, IT, ES, IE, MX, BR, JP, ID, MY, PH, SG, TH and VN. US gives the most complete results; other regions can return fewer products, and some shops are only visible in their home region. Full product details (stock, variants) exist for US products only: in other regions, search and shop results are saved without them, at the plain product price.

**Do I need a TikTok account or login?**
No. You only need an Apify account. You never enter TikTok credentials or cookies.

**Why did I get fewer products than I asked for?**
Open the `SUMMARY` record. It says for each input why it stopped: no more results, products skipped by your filters, duplicates, a shop that was not found, the spending limit or the free plan limit.

**Why is the price or stock sometimes empty?**
TikTok sometimes hides a price on the product page. Then `price` is `null`, never a guessed number; search and shop results usually have it. `stock` needs full details.

**What is not included?**
Product reviews text, creator or affiliate lists, live streams, revenue estimates and short links (`vt.tiktok.com`). For a short link, open it in a browser and paste the full product link.

**Is it legal to scrape TikTok Shop?**
The Actor collects only public product data. You are responsible for how you use it: follow TikTok's terms and the laws where you live. This is not legal advice.

# Actor input Schema

## `searchQueries` (type: `array`):

Find TikTok Shop products matching these keywords, one per line, e.g. led face mask or phone case.

## `shopUrls` (type: `array`):

Get the products of these shops, best sellers first. Shop links like https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079. One per line.

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

Get full details (stock, variants, category, shop rating) of these products. Links like https://www.tiktok.com/shop/pdp/1729527313880355335 or just the product ID. One per line. Full details work for US products.

## `includeProductDetails` (type: `boolean`):

On: also look up every search or shop result to add stock, variants, category, shop rating and related video count. Each such product is charged once, at the product details price. Full details exist for US products only; in other regions results are saved without them.

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

TikTok Shop region for search and shop catalogs. US gives the most complete results; other regions can return fewer products.

## `maxItemsPerSource` (type: `integer`):

Maximum products for each keyword or shop. Enforced exactly: the last page is trimmed.

## `maxTotalItems` (type: `integer`):

Optional hard cap on all products across the run. Leave empty for no total cap.

## `minPrice` (type: `number`):

Skip products cheaper than this, in the shop's currency. Skipped products are not charged.

## `maxPrice` (type: `number`):

Skip products more expensive than this, in the shop's currency.

## `minSold` (type: `integer`):

Skip products that sold fewer units than this.

## Actor input object example

```json
{
  "searchQueries": [
    "led face mask"
  ],
  "includeProductDetails": false,
  "region": "US",
  "maxItemsPerSource": 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 = {
    "searchQueries": [
        "led face mask"
    ],
    "maxItemsPerSource": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("apisamurai/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 = {
    "searchQueries": ["led face mask"],
    "maxItemsPerSource": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("apisamurai/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 '{
  "searchQueries": [
    "led face mask"
  ],
  "maxItemsPerSource": 10
}' |
apify call apisamurai/tiktok-shop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apisamurai/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/uHpNh2oRSRXHFPfZI/builds/2BU5XG2uSC8I5LDxO/openapi.json
